[Aptitude-devel] Bug#825898: apt-get upgrade gets much farther than aptitude thanks to APT::Get::Fix-Missing
積丹尼 Dan Jacobson
jidanni at jidanni.org
Tue May 31 07:36:37 UTC 2016
Package: aptitude
Version: 0.8.1-1
Severity: wishlist
apt-get upgrade, when using
APT::Get::Fix-Missing true;
gets a lot more installed that
aptitude safe-upgrade
aptitude usually gives up when any more than a few of the downloads
fail, (e.g., when one is offline.)
164 packages upgraded, 8 newly installed, 4 to remove and 14 not upgraded.
Need to get 11.4 MB/299 MB of archives. After unpacking 27.3 MB will be freed.
Do you want to continue? [Y/n/?]
Err http://free.nchc.org.tw/debian unstable/main i386 libabiword-3.0 i386 3.0.1-7
Temporary failure resolving 'free.nchc.org.tw'
Err http://free.nchc.org.tw/debian unstable/main i386 apache2 i386 2.4.20-2
Temporary failure resolving 'free.nchc.org.tw'
Err http://free.nchc.org.tw/debian unstable/main i386 apache2-bin i386 2.4.20-2
Temporary failure resolving 'free.nchc.org.tw'
Err http://free.nchc.org.tw/debian unstable/main i386 apache2-utils i386 2.4.20-2
...
Then it gives up, even though some packages and their dependencies are
already downloaded.
In this case one must turn to apt-get, which allows us to get much farther.
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libcamel-1.2-54 libqt4-opengl libqtwebkit4
Use 'apt autoremove' to remove them.
The following packages have been kept back:
adwaita-icon-theme gnome-icon-theme libebook-contacts-1.2-2 libgtk-3-bin libgtk2.0-0 libgtk2.0-bin
liblocale-gettext-perl libnetaddr-ip-perl libparams-validate-perl libperl5.22 libpoppler-glib8
libsocket6-perl libuuid-perl openssl perl perl-base perl-doc perl-modules-5.22 php-gettext poppler-utils
texinfo
The following packages will be upgraded:
abiword abiword-common apache2 apache2-bin apache2-data apache2-doc apache2-utils at-spi2-core basex
bdf2psf chromium console-setup console-setup-linux cpp-6 debian-reference-en dh-strip-nondeterminism dialog
dictionaries-common dnsmasq dnsmasq-base e2fslibs e2fsprogs evolution-data-server-common findutils gcc-6
gcc-6-base gimp gimp-data hicolor-icon-theme ifupdown imagemagick imagemagick-6.q16 info
init-system-helpers install-info keyboard-configuration libabiword-3.0 libapache2-mod-php7.0 libapr1
libasan3 libatk-bridge2.0-0 libatk-wrapper-java libatk-wrapper-java-jni libatomic1 libatspi2.0-0
libcamel-1.2-57 libcap2 libcap2-bin libcc1-0 libccid libcilkrts5 libcomerr2 libcupsfilters1
libdebconfclient0 libebackend-1.2-10 libebook-1.2-16 libecal-1.2-19 libedata-book-1.2-25
libedataserver-1.2-21 libexpat1 libfile-stripnondeterminism-perl libgc1c2 libgcc-6-dev libgcc1 libgd3
libgfortran3 libgimp2.0 libgomp1 libgtk-3-0 libgtk-3-common libgtk2.0-common libinput-bin libinput10
libisl15 libitm1 libjavascriptcoregtk-4.0-18 libjs-jquery-cookie libjs-jquery-event-drag
libjs-jquery-metadata libjs-jquery-mousewheel libjs-jquery-tablesorter libjs-sphinxdoc libmpfr4 libmpx2
libnghttp2-14 libopts25 libpcsclite1 libproj9 libqt4-dbus libqt4-declarative libqt4-designer libqt4-help
libqt4-network libqt4-opengl libqt4-script libqt4-scripttools libqt4-sql libqt4-svg libqt4-test libqt4-xml
libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 libqtwebkit4 libquadmath0 libraw15 libscim8v5
libseccomp2 libspeechd2 libsqlite3-0 libss2 libstdc++6 libs
libseccomp2 libspeechd2 libsqlite3-0 libss2 libstdc++6 libsystemd0 libtest-simple-perl libtheora0 libubsan0
libudev-dev libudev1 libunistring0 libwebkit2gtk-4.0-37 libxslt1.1 linux-doc-4.5
linux-image-4.5.0-2-686-pae locate mplayer ntp pcscd php7.0 php7.0-cli php7.0-common php7.0-json
php7.0-mbstring php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml phpmyadmin proj-bin proj-data
python-pyscard python-qt4 qdbus qtchooser qtcore4-l10n resolvconf scim sqlite3 sqlite3-doc ssl-cert systemd
systemd-sysv udev w3m w3m-el-snapshot xfstt xserver-xorg-input-evdev xserver-xorg-input-synaptics
xserver-xorg-video-intel
159 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
Need to get 11.4 MB/282 MB of archives.
After this operation, 2,679 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Err:1 http://free.nchc.org.tw/debian unstable/main i386 apache2 i386 2.4.20-2
Temporary failure resolving 'fr
Err:17 http://free.nchc.org.tw/debian unstable/main i386 php7.0 all 7.0.7-3
Temporary failure resolving 'free.nchc.org.tw'
Err:18 http://free.nchc.org.tw/debian unstable/main i386 phpmyadmin all 4:4.6.2-2
Temporary failure resolving 'free.nchc.org.tw'
Reading changelogs...
apt-listchanges: Mailing root: apt-listchanges: changelogs for jidanni2
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 150515 files and directories currently installed.)
Preparing to unpack .../e2fslibs_1.43-3_i386.deb ...
Unpacking e2fslibs:i386 (1.43-3) over (1.43~WIP.2016.03.15-2) ...
...
-- Package-specific info:
Terminal: xterm
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.8.1
Compiler: g++ 5.3.1 20160429
Compiled against:
apt version 5.0.0
NCurses version 6.0
libsigc++ version: 2.8.0
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.0.20160319
cwidget version: 0.5.17
Apt version: 5.0.0
aptitude linkage:
linux-gate.so.1 (0xb77a7000)
libapt-pkg.so.5.0 => /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0 (0xb7214000)
libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xb71df000)
libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb71ba000)
libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 (0xb71b2000)
libcwidget.so.3 => /usr/lib/i386-linux-gnu/libcwidget.so.3 (0xb70af000)
libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb6fa6000)
libboost_iostreams.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_iostreams.so.1.58.0 (0xb6f8d000)
libboost_filesystem.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_filesystem.so.1.58.0 (0xb6f73000)
libboost_system.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_system.so.1.58.0 (0xb6f6e000)
libxapian.so.22 => /usr/lib/i386-linux-gnu/sse2/libxapian.so.22 (0xb6d64000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6d47000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6bcf000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb6b79000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6b5c000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb69a9000)
libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xb69a5000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb69a0000)
libresolv.so.2 => /lib/i386-linux-gnu/i686/cmov/libresolv.so.2 (0xb6987000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb696a000)
libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb6957000)
liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb692e000)
liblz4.so.1 => /usr/lib/i386-linux-gnu/liblz4.so.1 (0xb691b000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb6911000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb690b000)
/lib/ld-linux.so.2 (0x80067000)
-- System Information:
Debian Release: stretch/sid
APT prefers experimental
APT policy: (990, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 4.5.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages aptitude depends on:
ii aptitude-common 0.8.1-1
ii libapt-pkg5.0 1.3~exp1
ii libboost-filesystem1.58.0 1.58.0+dfsg-5+b1
ii libboost-iostreams1.58.0 1.58.0+dfsg-5+b1
ii libboost-system1.58.0 1.58.0+dfsg-5+b1
ii libc6 2.23-0experimental2
ii libcwidget3v5 0.5.17-4+b1
ii libgcc1 1:6.1.1-3
ii libncursesw5 6.0+20160319-1
ii libsigc++-2.0-0v5 2.8.0-1
ii libsqlite3-0 3.12.2-1
ii libstdc++6 6.1.1-3
ii libtinfo5 6.0+20160319-1
ii libxapian22v5 1.2.23-1
Versions of packages aptitude recommends:
pn libparse-debianchangelog-perl <none>
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
pn apt-xapian-index <none>
ii aptitude-doc-en [aptitude-doc] 0.8.1-1
pn debtags <none>
pn tasksel <none>
-- no debconf information
P.S., you really should include apt-config dump output in your debbugs
template.
# cat /etc/apt/apt.conf.d/10jidanni
// -*-c-*- Dan Jacobson's apt configuration
// Copyright : http://www.fsf.org/copyleft/gpl.html
// Author : Dan Jacobson http://jidanni.org/
// Last Modified On: Thu Mar 10 18:42:05 2016
// Update Count : 63
// /usr/share/doc/apt/examples/configure-index.gz
//APT::Get::List-Cleanup true;//false;//try see if can clean my own
APT::Default-Release "experimental";//just order them in sources.list UNTRUE
//"[The order is significant only in choosing a server to download a
//specific version from.]"
APT::Cache::AllVersions false;
APT::Clean-Installed false;
APT::Get::Fix-Missing true;
APT::Get::Purge true;
APT::Install-Recommends false;
APT::Keep-Downloaded-Packages true;
Aptitude::CmdLine::Always-Prompt true;
Aptitude::Purge-Unused true;
Aptitude::CmdLine::Show-Why true;//511230 at bugs.debian.org
Aptitude::CmdLine::Show-Deps true;//587582 at bugs.debian.org
Aptitude::CmdLine::Verbose 1;
Acquire::http::No-Cache true;//564829
Acquire::PDiffs true;
//Acquire::PDiffs false;
//Acquire::PDiffs::FileLimit "1";//671440 don't use diffs if we would need more than 4 diffs
//Acquire::PDiffs::FileLimit "99";//671440 don't use diffs if we would need more than 4 diffs
//DPkg::Options "--force-unsafe-io";
//aptitude install -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false
//Acquire::http::Max-Age 3600;//564829
// Local Variables:
// compile-command: "apt-config dump"
// End:
More information about the Aptitude-devel
mailing list