Package: apt-listbugs
Version: 0.1.41
Severity: minor

Dear Maintainer,

on my laptop running sid I am often using an NFS mount that is only available
when I am at home.

Today I had the NFS filesystem mounted when I suspended my laptop, moved it
somewhere else and woke it up again. My shell still had the NFS (unavailable)
mount as the current working directory. Then I ran 'apt upgrade'.  The upgrade
failed like this:

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libplacebo292
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  libdav1d7 libplacebo338
The following packages will be upgraded:
  aapt android-libaapt android-libandroidfw android-libboringssl avahi-autoipd 
avahi-daemon containerd dmtracedump efibootmgr faad fakeroot ffmpeg 
gir1.2-shumate-1.0
  libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 
libavahi-glib1 libavahi-gobject0 libavahi-ui-gtk3-0 libavcodec60 libavdevice60 
libavfilter9
  libavformat60 libavif16 libavutil58 libfaad2 libfakeroot libfuse2 
libheif-plugin-aomdec libheif-plugin-aomenc libheif-plugin-dav1d 
libheif-plugin-libde265
  libheif-plugin-x265 libheif1 libjudydebian1 libmnl0 libmujs3 libostree-1-1 
libpostproc57 libsdl2-2.0-0 libshumate-1.0-1 libshumate-common libswresample4 
libswscale7
  libvlc-bin libvlc5 libvlccore9 node-get-stream python3-zope.interface rpcbind 
split-select vlc vlc-bin vlc-plugin-access-extra vlc-plugin-base 
vlc-plugin-notify
  vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output 
vlc-plugin-video-splitter vlc-plugin-visualization
63 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/54,1 MB of archives.
After this operation, 11,2 MB of additional disk space will be used.
Do you want to continue? [Y/n]
<internal:dir>:220:in `glob': Input/output error - ./locale (Errno::EIO)
        from /usr/lib/ruby/vendor_ruby/gettext/locale_path.rb:64:in `block in 
default_path_rules'
        from /usr/lib/ruby/vendor_ruby/gettext/locale_path.rb:63:in `select'
        from /usr/lib/ruby/vendor_ruby/gettext/locale_path.rb:63:in 
`default_path_rules'
        from /usr/lib/ruby/vendor_ruby/gettext/locale_path.rb:80:in `initialize'
        from /usr/lib/ruby/vendor_ruby/gettext/text_domain.rb:52:in `new'
        from /usr/lib/ruby/vendor_ruby/gettext/text_domain.rb:52:in `initialize'
        from /usr/lib/ruby/vendor_ruby/gettext/text_domain_manager.rb:226:in 
`new'
        from /usr/lib/ruby/vendor_ruby/gettext/text_domain_manager.rb:226:in 
`create_or_find_text_domain'
        from /usr/lib/ruby/vendor_ruby/gettext/text_domain_manager.rb:71:in 
`bind_to'
        from /usr/lib/ruby/vendor_ruby/gettext.rb:73:in `bindtextdomain_to'
        from /usr/lib/ruby/vendor_ruby/gettext.rb:54:in `bindtextdomain'
        from /usr/bin/apt-listbugs:428:in `<main>'
E: Sub-process /usr/bin/apt-listbugs apt returned an error code (1)
E: Failure running script /usr/bin/apt-listbugs apt


It would be great if a problem with the current working directory could be
handled more gracefully. It took me a few minutes to find out what the problem 
was.

Thanks,
Jochen

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-listbugs depends on:
ii  apt             2.7.6
ii  ruby            1:3.1
ii  ruby-debian     0.3.10+b8
ii  ruby-gettext    3.3.3-2
ii  ruby-soap4r     2.0.5-6
ii  ruby-unicode    0.4.4.4-1+b5
ii  ruby-xmlparser  0.7.3-4+b4

Versions of packages apt-listbugs recommends:
ii  ruby-httpclient  2.8.3+git20211122.4658227-1

Versions of packages apt-listbugs suggests:
ii  firefox [www-browser]               119.0-1
ii  google-chrome-stable [www-browser]  119.0.6045.105-1
ii  konqueror [www-browser]             4:22.12.3-2
ii  lynx [www-browser]                  2.9.0dev.12-1
ii  reportbug                           12.0.0
ii  sensible-utils                      0.0.20
ii  xdg-utils                           1.1.3-4.1

-- no debconf information

Reply via email to