[Aptitude-devel] Bug#997072: "Need to get ... MB of archives" didn't check the partial directory!

積丹尼 Dan Jacobson jidanni at jidanni.org
Sat Oct 23 15:38:29 BST 2021

Package: aptitude
Version: 0.8.13-3
Severity: minor

# aptitude full-upgrade
Let it download a bit, then hit ^C.

OK do it again:
# aptitude full-upgrade
The following packages will be upgraded:
  libdatetime-timezone-perl  libllvm12
2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.4 MB/19.7 MB of archives. After unpacking 913 kB will be used.
Do you want to continue? [Y/n/?]
Get: 1 http://opensource.nchc.org.tw/debian unstable/main amd64 libllvm12 amd64 1:12.0.1-14 [19.4 MB]
76% [1 libllvm12 14.7 MB/19.4 MB 76%]...

In fact "Need to get 19.4 MB/19.7 MB of archives" is wrong.
It didn't figure in the 14.7 MB I had already downloaded!

/etc/apt/apt.conf.d/10jidanni :
APT::AutoRemove::RecommendsImportant false;
APT::AutoRemove::SuggestsImportant false;
APT::Cache::AllVersions false;
APT::Clean-Installed false;
APT::Default-Release "unstable";
APT::Get::Fix-Missing true;
APT::Get::Purge true;
APT::Install-Recommends false;
APT::Keep-Downloaded-Packages true;
APT::Periodic::Enable false;
Acquire::PDiffs true;
Acquire::http::No-Cache true;
Aptitude::CmdLine::Always-Prompt true;
Aptitude::CmdLine::Show-Deps true;
Aptitude::CmdLine::Show-Why true;
Aptitude::CmdLine::Verbose 1;
Aptitude::Purge-Unused true;
Binary::apt::APT::Keep-Downloaded-Packages true;

More information about the Aptitude-devel mailing list