RFE: provide a mechanism to delete duplicates after import
Bug #1589178 reported by
Rolf Leggewie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-cacher-ng (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
It sometimes happens that files to be imported from _import are already part of the acng archive. acng then ignores them. It would be good if acng provided a mechanism to delete them, maybe similar to the mechanism when there is an error in downloading an index file.
To post a comment you must log in.
Log or didn't happen.
Duplication is not uncommon and happens with Debian when a Distro is accessed either via alias ("stable") or via codename of that directory or when a mirror has symlinks and users use different paths in their sources.list .
Therefore, the archive analysis code identifies the dupes and synchronizes the data contents as needed (in case where strict-path checking is not enabled, it's not even copied but they are completely skipped since the path doesn't matter and other file's processing would cover the data in another directory too).
There only showstopper is a problem with Debian (but not Stable and older) because of dropped SHA1 versions of some data in their indexes. Solved in recent 0.9.x versions.