[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"



* Dom <toyer@rpdom.net> [131127 16:53]:
> On 27/11/13 08:29, Scott Ferguson wrote:
> >On 27/11/13 19:14, John Magolske wrote:
> >>* Scott Ferguson<scott.ferguson.debian.user@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:
> >> [...]
> > When you say "any apt-get install" fails did you actually try exactly
> > what I suggested?
> >
> > # apt-get -sf install

I did try `apt-get -sf install`, the problem was that aptitude and
apt-get were both thwarted from installing/removing/purging anything,
always getting stuck on that apt-listbugs error message.

> To me it looks like it could be an issue with apt-listbugs.
> 
> I'd suggest temporarily removing apt-listbugs using
> 
>  dpkg -r apt-listbugs
> 
> then try the "apt-get -f install" again.
> 
> If successful, reinstall apt-listbugs using apt-get after doing all
> upgrades required.

Yes, that did it! I'd tried to get rid of apt-listbugs before with
`aptitude remove apt-listbugs`, but kept getting that error message.
Was wondering what lower-level approach would make sense...somehow
overlooked dpkg. Familiarizing myself with the ways of dpkg now.

Many thanks,

John

-- 
John Magolske
http://B79.net/contact


Reply to: