[DRE-maint] Bug#594990: libhttpclient-ruby1.8: invalid HTTP header on some locales

Francesco Poli frx at firenze.linux.it
Mon Sep 6 20:42:13 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20100906/38fd218e/attachment.pgp>


More information about the Pkg-ruby-extras-maintainers mailing list