aptly mirror edit - how to force aptly to exclude some of the packages from mirror update process.

651 views
Skip to first unread message

Milidion

unread,
Dec 6, 2019, 8:16:50 AM12/6/19
to aptly-discuss
Hi, 


i'm having an issue with performing a mirror update . it seems that some of the packages available for download were blocked due to security reasons on my infrastructure. Because of that mirror update is failing. So far i was fixing it by manually delivering these "blocked" packages (clamav,ettercap)   to the pool and re running update of the mirror.  Since i will have to increase the amount of patching tasks i want to automate the process  but that issue is stopping me from moving forward. I've tried to edit the mirror and filter them out . At the first glance it seems that amount of the packages for the update was reduced but still  process fails  at downloading them. I need to know if i am doing something in a wrong way or is such exclude is even possible ? 

so far i was able to achieve what i wanted be creating new mirror with already added filtering options : 

./aptly mirror create -filter="!(Name (% *clamav*)),!(Name (% ettercap*))" ubuntu-1604-security http://archive.ubuntu.com/ubuntu/ trusty-security

Also if i could ask for double checking if the syntax is correct and if there is a chance to perform same filtering on already existing mirror which was not filtered before ? 


Best Regards,
 










Reply all
Reply to author
Forward
0 new messages