[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't install any packages, "APT_HOOK_INFO_FD is not correctly defined"



On 27/11/13 17:46, John Magolske wrote:
> Hi,
> 
> 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:
> 
> This is on Debian Sid. Any suggestions about how to get around this
> would be much appreciated.
> 
> Regards,
> 
> John
> 

*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.


Kind regards


Reply to: