On Thu, 23 Mar 2023 16:31:50 +0100 Jochen Sprickerhof wrote: > Hi,
Hello Jochen,
thanks for your comment.
>
> I just had this error:
>
> root@fenchel:~# aptitude -u
> Performing actions...
> E: undefined method `default' for " if /proxy_detect='(.*)'/ =~
> `apt-config \#{@apt_conf} shell proxy_detect
> acquire::http::proxy-auto-detect`\n":String
>
> $stdout.print " " * Unicode.width(@old)
> ^^^^^^
> E: Unterprozess /usr/bin/apt-listbugs apt hat Fehlercode zurückgegeben (1)
> E: Failure running script /usr/bin/apt-listbugs apt
> Press Return to continue, 'q' followed by Return to quit.
>
> Running apt again did not reproduce it.
The mystery deepens.
What you saw seems to be another case where some text from the source
(a line taken from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb, in
this instance) is treated as a String by the Ruby interpreter and its
`default' method is invoked. But the String class has no `default'
method, which causes the error.
This seems to happen sporadically and cannot be easily reproduced.
I cannot understand what's going on.
I am more and more persuaded that this bug report should be reassigned
to another package (probably package ruby), in order to ask for an
investigation by people more knowledgeable than me...
--
http://www.inventati.org/frx/
There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpg2H1WjeZGv.pgp
Description: PGP signature

