On Fri, 06 Dec 2013 23:08:51 +0100 Enrique wrote:
> On 06/12/13 22:59, Francesco Poli wrote:
> > On Fri, 06 Dec 2013 22:21:33 +0100 Enrique wrote:
> >
> >> On 06/12/13 19:53, Francesco Poli wrote:
> > [...]
> >>> On Fri, 06 Dec 2013 10:56:37 +0100 Enrique Garcia wrote:
[...]
> >>>> This error is shown when you
> >>>> try to install any package using synaptic or aptitude (and any other
> >>>> install
> >>>> manager I guess).
> >>>>
> >>>>> 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
> >>>> Downgrading to version 0.1.9 solves the problem.
> >>> It seems to me that you are using an outdated version of the
> >>> configuration file.
> >>>
> >>> Please paste the output of the following command in your reply:
> >>>
> >>> $ cat /etc/apt/apt.conf.d/10apt-listbugs
> >> $ cat /etc/apt/apt.conf.d/10apt-listbugs
> >> // Before installing packages, check whether they have release-critical
> >> bugs.
> >> // If you don't like it, comment it out.
> >> DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs apt";};
> >> DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
> >> DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "3";
> >> DPkg::Tools::Options::/usr/sbin/apt-listbugs::InfoFD "20";
> >> AptListbugs::Severities "critical,grave,serious";
> >> // AptListbugs::IgnoreRegexp "FTBFS";
> > Are you experiencing the bug with *this* configuration file and with
> > apt-listbugs/0.1.11 installed?!?
> Yes.This is really awkward. > > The error message you quoted seems to indicate that you had a different > > 10apt-listbugs configuration file when you experienced the issue... Let me elaborate a bit: the error message you quoted talks about sub-process "/usr/sbin/apt-listbugs apt || exit 10". This is the process that exits unsuccessfully. If your /etc/apt/apt.conf.d/10apt-listbugs invokes "/usr/sbin/apt-listbugs apt", it looks as if something else invoked "/usr/sbin/apt-listbugs apt || exit 10" ... Could you please run $ grep -r exit /etc/apt/apt.conf.d/ and paste the output in your reply? Also, do you have a /etc/apt/apt.conf file? If so, please run $ grep exit /etc/apt/apt.conf and paste the output in your reply. > > > > Please let me know. > For some reason the env var APT_HOOK_INFO_FD is getting value 0. How is the > env > var setted? This environment variable is set by apt-get (or compatible package managers, such as aptitude) before invoking apt-listbugs. The value is set in the option: DPkg::Tools::Options::/usr/sbin/apt-listbugs::InfoFD "20"; Hence, it should be 20 in your case. -- http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt New GnuPG key, see the transition document! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpocGOcudIlX.pgp
Description: PGP signature

