Subject: apt-listbugs: Breaks installation if removed and not purged Package: apt-listbugs Version: 0.0.90 Severity: critical Justification: breaks unrelated software
*** Please type your report below this line *** Hello, I am aware that the 0.0.90 version is not in lenny nor in squeeze, but I've checked the faulty script and it has the same form in 0.0.89. The problem is that I have tried to remove apt-listbugs and after its removal all package manipulation fails with this message: /bin/sh: /usr/sbin/apt-listbugs: not found E: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error code (10) E: Failure running script /usr/sbin/apt-listbugs apt || exit 10 The problem is that once uninstalled and not purged this command/hook fails (/etc/apt/apt.conf.d/10apt-listbugs): DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs apt || exit 10"}; Since /usr/sbin/apt-listbugs is no longer present. The problem is that even if one tries to install back via dpkg apt-listbugs and no longer has the ruby deps, the problem still persists. I am aware this is very, very late in the release schedule, so here is my proposed fix: DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs apt || [ ! -x /usr/sbin/apt-listbugs ] || exit 10"}; or this form, if you prefer it: DPkg::Pre-Install-Pkgs {"[ ! -x /usr/sbin/apt-listbugs ] || /usr/sbin/apt-listbugs apt || exit 10"}; -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (900, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-bpo.5-amd64 (SMP w/2 CPU cores) Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt-listbugs depends on: ii apt 0.7.20.2+lenny2 Advanced front-end for dpkg pn libdpkg-ruby1.8 <none> (no description available) pn libgettext-ruby1.8 <none> (no description available) pn libhttp-access2-ruby1.8 <none> (no description available) ii libruby1.8 [libzlib-rub 1.8.7.72-3lenny1 Libraries necessary to run pn libxml-parser-ruby1.8 <none> (no description available) pn ruby <none> (no description available) apt-listbugs recommends no packages. Versions of packages apt-listbugs suggests: ii debianutils 2.30 Miscellaneous utilities ii epiphany-gecko [www-bro 2.22.3-9 Intuitive GNOME web browser ii iceweasel [www-browser] 3.5.15-1~bpo50+1 Web browser based on ii links2 [www-browser] 2.1pre37-1.1 Web browser running in both ii reportbug 3.48 reports bugs in the Debian ii w3m [www-browser] 0.5.2-2+lenny1 WWW browsable pager with -- Regards, EddyP ============================================= "Imagination is more important than knowledge" A.Einstein
signature.asc
Description: OpenPGP digital signature