[Aptitude-devel] Bug#809347: mention try second identical run

積丹尼 Dan Jacobson jidanni at jidanni.org
Tue Dec 29 17:02:35 UTC 2015


Package: aptitude
Version: 0.7.5-3
Severity: wishlist

Aptitude has a neat feature that I am not sure is documented on the man
page:

In the case that some of the packages cannot be retrieved, a second run
of aptitude will install the ones that can!

e.g., offline, with half the needed packages for a safe-upgrade already
in /var/cache/apt/archives, a first run of
# aptitude safe-upgrade
will get
42 packages upgraded, 27 newly installed, 12 to remove and 40 not upgraded.
Need to get 16.6 MB/33.0 MB of archives. After unpacking 5,960 kB will be used.
Do you want to continue? [Y/n/?]
E: Failed to fetch http://free....i386.deb: Temporary failure resolving 'free.nchc.org.tw'
E: Unable to correct for unavailable packages
Current status: 0 (+0) broken, 82 (+0) upgradable, 50004 (+0) new.

But a second identical run of
# aptitude safe-upgrade
will install the ones available, (and then at the end mention
E: Failed to fetch http://free....i386.deb: Temporary failure resolving 'free.nchc.org.tw'
Current status: 0 (+0) broken, 51 (-31) upgradable, 50004 (+0) new.
)

So perhaps on the man page mention that a second identical run of e.g.,
safe-upgrade, full-upgrade, will proceed to install available packages
that a first run couldn't.

And the "E: Unable to correct for unavailable packages" isn't then
entirely true, and should be changed to also mention "Try running me again...".



More information about the Aptitude-devel mailing list