Package: apt-listbugs
Version: 0.1.10
Severity: normal

The "|| exit 10" has been removed from the default 10apt-listbugs
config file for the following reason given in the changelog:

  * improved 10apt-listbugs configuration file (enhanced English in a
    comment, dropped redundant exit 10)

Though it can be re-added by the user, he (and apparently the
maintainer too) may not be aware of implications of the presence
or not of "|| exit 10". Indeed, unless there an error in the
documentation, the "|| exit 10" is not redundant. The apt-listbugs(1)
man page says:

   EXIT CODE
       0      Success.

       1      When something is wrong.

       10     To warn APT not to proceed.

       130    When a SIGINT was received (for instance because the user
              pressed [Ctrl+C]).

So, there are 4 possibilities. Assume that apt-listbugs is executed
via APT. The "|| exit 10" doesn't matter for cases 0 and 10, and
probably 130 too (because Ctrl-C will interrupt everything I assume).

Now, in case 1, something was wrong. One doesn't know whether the user
wants to install the packages, but he may miss RC bugs, and if apt
proceeds, this may be bad. I suppose that if the user has installed
apt-listbugs, he probably wants to avoid that, and probably solve the
problem with apt-listbugs terminating with exit status 1 first. So,
for most users, "|| exit 10" is probably better than keeping the exit
status 1, which would not have an effect on APT.

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

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-listbugs depends on:
ii  apt                           0.9.11.4
ii  ruby                          1:1.9.3
ii  ruby-debian                   0.3.8+b1
ii  ruby-gettext                  3.0.0-2
ii  ruby-httpclient               2.3.3-2
ii  ruby-soap4r                   2.0.5-2
ii  ruby-xmlparser                0.7.2-2
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-8
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.448-1

apt-listbugs recommends no packages.

Versions of packages apt-listbugs suggests:
ii  chromium [www-browser]          29.0.1547.57-3+b1
ii  debianutils                     4.4
ii  elinks [www-browser]            0.12~pre6-2
ii  epiphany-browser [www-browser]  3.8.2-3
ii  iceweasel [www-browser]         24.0-2
ii  links [www-browser]             2.8-1
ii  links2 [www-browser]            2.8-1
ii  lynx-cur [www-browser]          2.8.8dev.16-1
ii  midori [www-browser]            0.4.3+dfsg-0.1
ii  reportbug                       6.4.4
ii  uzbl [www-browser]              0.0.0~git.20120514-1.1
ii  w3m [www-browser]               0.5.3-11

-- Configuration Files:
/etc/apt/apt.conf.d/10apt-listbugs changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to