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

Francesco Poli frx at firenze.linux.it
Fri Sep 3 18:06:04 UTC 2010


On Fri, 03 Sep 2010 09:42:38 +0200 Paolo Sala wrote:

> Francesco Poli scrisse in data 02/09/2010 23:39:
[...]
> > Instead, I think you should temporary work around this bug, by editing
> > /etc/apt/apt.conf.d/10apt-listbugs, as I previously suggested, and wait
> > for this bug to be really fixed!
> >   
> The workaround doesn't work:
> 
> $ cat /etc/apt/apt.conf.d/10apt-listbugs | grep Pre-Install-Pkgs
> DPkg::Pre-Install-Pkgs {"env LC_ALL=C /usr/sbin/apt-listbugs apt || exit
> 10";};
> $ apt-listbugs list apt-listbugs
> Lettura dei campi dei pacchetti... Fatto
> Lettura dello stato dei pacchetti... Fatto
> Recupero delle segnalazioni di bug... 0% Fallito
>  E: HTTP GET non riuscita

Wait, I probably failed to explain myself clearly!

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?

When you manually invoke apt-listbugs from the command line, you have
to manually add the "env LC_ALL=C" anyway!
As you told me, issuing

$ env LC_ALL=C apt-listbugs list apt-listbugs

works for you.
If you like, you can create an alias for "env LC_ALL=C apt-listbugs" ...

> 
> > For reasons explained below, I think the workaround may be made even
> > less invasive: when you edit /etc/apt/apt.conf.d/10apt-listbugs , you
> > may change the line
> >
> > DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs apt || exit 10";};
> >
> > into
> >
> > DPkg::Pre-Install-Pkgs {"env LC_NUMERIC=C /usr/sbin/apt-listbugs apt || exit 10";};
> >
> > This should be enough to temporary work around the bug, while letting
> > apt-listbugs speak in your language of choice!
> > Please test it out and see if it works...
> >   
> doesn't work too...

Please try

$ env LC_NUMERIC=C apt-listbugs list apt-listbugs

Does this work for you?

> furthermore now if I execute aptitude safe-upgrade
> when aptitude invoke apt-listbugs I get the following error:
> 
> E: Il sottoprocesso /usr/sbin/apt-listbugs apt || exit 10 ha restituito
> un codice d'errore (10)
> E: Failure running script /usr/sbin/apt-listbugs apt || exit 10
> Errore durante l'installazione di un pacchetto. Tentativo di ripristino:
> 
> I have write someting wrong in /etc/apt/apt.conf.d/10apt-listbugs?

I don't think so...

If I understand correctly, you are saying that editing
/etc/apt/apt.conf.d/10apt-listbugs and adding "env LC_ALL=C" makes
apt-listbugs work correctly during package installation/upgrade,
but, on the other hand, adding "env LC_NUMERIC=C" instead breaks the
invocation of apt-listbugs during package installation/upgrade.

Can you confirm this?

[...]
> > Finally, I have to admit that I am still unable to reproduce the bug:
> > I've been trying to get that "HTTP/1,1" header in apt-listbugs debug
> > wire dump, but no success yet...   :-(
> >   
> I think something wrong happened during the upgrade process because I
> have two others little bugs;
[...]

I have nothing to comment on those two additional issues: I am sorry,
but I am probably unable to help you on those ones...   :-(

> 
> Have a great day

The same to 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/20100903/35404979/attachment.pgp>


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