* Scott Ferguson <scott.ferguson.debian.u...@gmail.com> [131126 23:43]: > On 27/11/13 17:46, John Magolske wrote: > > I'm finding I can't install any packages with `aptitude dist-upgrade` > > `aptitude install ...` etc, keep getting this: > > > > % sudo aptitude dist-upgrade > > [...] > > E: APT_HOOK_INFO_FD is not correctly defined. > > E: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error > > code (10) > > E: Failure running script /usr/sbin/apt-listbugs apt || exit 10 > > A package failed to install. Trying to recover: > > *A package failed to install.* > > Try:- > # apt-get -sf install | more > > and see what it says. > > If it suggests a rational solution repeat without the -s *then* do:- > # apt-get upgrade > > Only then should you dist-upgrade.
Any `apt-get install` fails with an error message related to "APT_HOOK_INFO_FD is not correctly defined". For example: # apt-get -sf install jupp | more Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: jupp 0 upgraded, 1 newly installed, 0 to remove and 280 not upgraded. Inst jupp (3.1.26-1 Debian:unstable [i386]) Conf jupp (3.1.26-1 Debian:unstable [i386]) # apt-get -f install jupp | more Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: jupp E: APT_HOOK_INFO_FD is not correctly defined. E: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error code (10) E: Failure running script /usr/sbin/apt-listbugs apt || exit 10 0 upgraded, 1 newly installed, 0 to remove and 280 not upgraded. Need to get 0 B/202 kB of archives. After this operation, 615 kB of additional disk space will be used. `apt-get upgrade` gets that message as well. Regards, John -- John Magolske http://B79.net/contact -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131127081429.gc2...@s70206.gridserver.com