On Sun, 12 Jul 2009 00:08:43 +0200 Francesco Poli wrote:

> On Sat, 11 Jul 2009 14:51:59 -0700 Ryan Niebur wrote:
> 
> [...]
> > On Sat, Jul 11, 2009 at 11:31:07PM +0200, Francesco Poli wrote:
> [...]
> > > Well, I am not sure that this proposed new behavior (i.e.: exit with
> > > non-zero status when a package does not exist) is a good idea.
> [...]
> > > The cron.daily job would try to
> > > run /usr/share/apt-listbugs/aptcleanup, which would exit with error,
> > > and hence the pinnings in /etc/apt/preferences would not be properly
> > > cleaned up...
> > > 
> > 
> > this is why we would have to adapt aptcleanup as well..
> 
> Fair enough.
> 
> Just please make sure that apt-listbugs exits with a special unique
> (non-zero) exit status, then, so that we can easily distinguish this
> kind of error from other ones...

Ryan, another thing I've just realized: suppose a user has some
unofficial repositories in /etc/apt/sources.list and installs or
upgrades packages which are not present in the official Debian
distribution; we want to avoid that the automatic
(via /etc/apt/apt.conf.d/10apt-listbugs) "apt-listbugs apt" invocation
exits with errors just because the Debian BTS knows nothing about those
unofficial packages.

As a consequence, I think the new behavior should be implemented for
the "list" command only, and not for the "apt" command.


-- 
 New location for my website! Update your bookmarks!
 http://www.inventati.org/frx
..................................................... Francesco Poli .
 GnuPG key fpr == C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4

Attachment: pgpgwtGwngZPf.pgp
Description: PGP signature

Reply via email to