I tested an upgrade from Ubuntu 16.04 to Ubuntu 18.04 today using the dist-upgrader from -proposed (manually downloaded and extracted b/c you can't use do-release -p and -d) before the upgrade I had installed an updated version of snapd so /var/cache/apt/archives was 14 MB. After the upgrade it was still 14 MB indicating that the debs downloaded for the upgrade had been removed from disk.
bdmurray@clean-xenial-amd64:~/u-r-u$ du -sh /var/cache/apt/archives du: cannot read directory '/var/cache/apt/archives/partial': Permission denied 14M /var/cache/apt/archives bdmurray@clean-xenial-amd64:~/u-r-u$ ls -lh /var/cache/apt/archives/ total 14M -rw-r----- 1 root root 0 Jul 19 2016 lock drwx------ 2 _apt root 4.0K Aug 6 11:22 partial -rw-r--r-- 1 root root 1.7K Jul 19 03:58 snap-confine_2.34.2_amd64.deb -rw-r--r-- 1 root root 14M Jul 19 03:58 snapd_2.34.2_amd64.deb -rw-r--r-- 1 root root 1.6K Jul 19 03:58 ubuntu-core-launcher_2.34.2_amd64.deb Setting to verification-done. ** Tags removed: verification-needed verification-needed-bionic ** Tags added: verification-done verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1785096 Title: dist-upgrader should clean up downloaded debs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1785096/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
