On Mon, 06 Sep 2010 10:15:02 +0200 Piviul wrote: > Francesco Poli scrisse in data 03/09/2010 20:06: > > Editing /etc/apt/apt.conf.d/10apt-listbugs is useful to work around the > > issue while you are installing/upgrading packages (for instance with > > "aptitude safe-upgrade"). > > Does installing/upgrading packages work for you with this workaround? > > > No, I'm sorry but doesn't seems to work: [...] > E: apt Pre-Install-Pkgs non ha restituito il valore atteso "VERSION 2" [...] > Thank you very much Francesco, if I'll find a workaround for this > problem I'll be very happy!
Sorry, that's my fault! :-( I forgot to adapt the other lines! :-o Please try the following workaround. Starting from the default configuration file: $ cat /etc/apt/apt.conf.d/10apt-listbugs // Check all packages whether they has critical bugs before they are installed. // If you don't like it, comment it out. DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs apt || exit 10";}; DPkg::Tools::Options::/usr/sbin/apt-listbugs ""; DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2"; // AptListbugs::IgnoreRegexp "FTBFS"; Please modify three lines, so that the file becomes: $ cat /etc/apt/apt.conf.d/10apt-listbugs // Check all packages whether they has critical bugs before they are installed. // If you don't like it, comment it out. DPkg::Pre-Install-Pkgs {"env LC_NUMERIC=C /usr/sbin/apt-listbugs apt || exit 10";}; DPkg::Tools::Options::env ""; DPkg::Tools::Options::env::Version "2"; // AptListbugs::IgnoreRegexp "FTBFS"; At this point, please try out the following command: $ sudo aptitude safe-upgrade Does this command work for you now? Please also try out the following command: $ env LC_NUMERIC=C apt-listbugs list apt-listbugs Does this command work for you? -- http://www.inventati.org/frx/progs/scripts/pdebuild-hooks.html Need some pdebuild hook scripts? ..................................................... Francesco Poli . GnuPG key fpr == C979 F34B 27CE 5CD8 DC12 31B5 78F4 279B DD6D FCF4
pgpCOGyadlwLe.pgp
Description: PGP signature