This is still the same in jammy.  I put a duplicate file in _import and
ran the import function from the web interface.  It went well and
informed me about "3 files (3.6 MiB) left behind".

$ ll -i /var/cache/apt-cacher-ng/_import/dpkg_1.21.1ubuntu1_amd64.deb 
/var/cache/apt-cacher-ng/uburep/pool/main/d/dpkg/dpkg_1.21.1ubuntu1_amd64.deb
31787 -rw-rw-rw- 1 root          root          1254452 Jan 27 11:37 
/var/cache/apt-cacher-ng/_import/dpkg_1.21.1ubuntu1_amd64.deb
29355 -rw-r--r-- 1 apt-cacher-ng apt-cacher-ng 1254452 Jan 23 22:05 
/var/cache/apt-cacher-ng/uburep/pool/main/d/dpkg/dpkg_1.21.1ubuntu1_amd64.deb

$ md5sum /var/cache/apt-cacher-ng/_import/dpkg_1.21.1ubuntu1_amd64.deb 
/var/cache/apt-cacher-ng/uburep/pool/main/d/dpkg/dpkg_1.21.1ubuntu1_amd64.deb
6f4b706f688d72755142f820f92910f9  
/var/cache/apt-cacher-ng/_import/dpkg_1.21.1ubuntu1_amd64.deb
6f4b706f688d72755142f820f92910f9  
/var/cache/apt-cacher-ng/uburep/pool/main/d/dpkg/dpkg_1.21.1ubuntu1_amd64.deb

I would have expected dpkg_1.21.1ubuntu1_amd64.deb to be removed from
_import after the import run.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1589178

Title:
  RFE: provide a mechanism to delete duplicates after import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1589178/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to