Skip to content
Discussion options

You must be logged in to vote

Yes, that's how it works. With -latest, mirror update filters the upstream package list down to the newest version of each name/architecture before downloading (FilterLatest in deb/list.go), and the mirror's package list is then replaced with that filtered list. So the mirror, and any snapshot you take from it afterwards, only has the latest versions. The older .deb files stay in the pool until aptly db cleanup removes the ones nothing references anymore.

To keep quick CVE syncs and still be able to roll back, snapshot the mirror before each -latest update. Older snapshots keep their versions, and snapshot merge -no-remove keeps every version instead of replacing older ones:

aptly snapsho…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Rascalov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants