On 2022-09-14 19:37:10 +0200, Francesco Poli wrote:
> On Wed, 14 Sep 2022 12:55:26 +0200 Vincent Lefevre wrote:
> [...]
> > On 2022-09-14 12:18:58 +0200, Vincent Lefevre wrote:
> > > It seems that some upgrade broken apt-listbugs. From aptitude:
> > > 
> > > Performing actions...
> > > E: undefined method `default' for "      # returns password\n":String
> > > E: Sub-process /usr/bin/apt-listbugs apt returned an error code (1)
> > > E: Failure running script /usr/bin/apt-listbugs apt
> > 
> > Currently, I cannot reproduce this issue. But perhaps it depends on
> > what the server returns.
> 
> Nor can I...   :-(

It would be interesting to know where this error could come from
in the source.

Concerning the string "      # returns password\n":

zira:~> grep -r -A2 -B3 'returns password' /usr/lib/ruby
/usr/lib/ruby/3.0.0/uri/generic.rb-    def password=(password)
/usr/lib/ruby/3.0.0/uri/generic.rb-      check_password(password)
/usr/lib/ruby/3.0.0/uri/generic.rb-      set_password(password)
/usr/lib/ruby/3.0.0/uri/generic.rb:      # returns password
/usr/lib/ruby/3.0.0/uri/generic.rb-    end
/usr/lib/ruby/3.0.0/uri/generic.rb-
--
/usr/lib/ruby/3.0.0/bundler/vendor/uri/lib/uri/generic.rb-    def 
password=(password)
/usr/lib/ruby/3.0.0/bundler/vendor/uri/lib/uri/generic.rb-      
check_password(password)
/usr/lib/ruby/3.0.0/bundler/vendor/uri/lib/uri/generic.rb-      
set_password(password)
/usr/lib/ruby/3.0.0/bundler/vendor/uri/lib/uri/generic.rb:      # returns 
password
/usr/lib/ruby/3.0.0/bundler/vendor/uri/lib/uri/generic.rb-    end
/usr/lib/ruby/3.0.0/bundler/vendor/uri/lib/uri/generic.rb-

The "# returns password" seems to be a comment, and I'm wondering why
one gets an error on a comment. But I don't know Ruby at all...

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to