[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#715557: apt: upgrade system is broken when a package is removed from Debian



On Wed, Jul 10, 2013 at 04:44:46PM +0200, Vincent Lefevre wrote:
> > Beside: Detecting this would be pretty hard and full of cornercases
> > (especially as yours is already one as it crosses source-package boundaries):
> > It wouldn't be that great if a package is removed from testing and the
> > package gets therefore downgraded to a version from stable for example…
> 
> But this can be preferable if the removed package has security bugs
> and has been removed for this reason (the user wouldn't be aware of
> that with the current behavior of apt).
> 
> Perhaps another solution rather than downgrading is to warn the user
> that something is wrong.

I don't think it is possible to do this in any sane way. For example,
if you locally rebuild your package, adding something like +local1 to
the version; that version won't be available from any source; but you
still don't want APT to complain that you installed a locally-built
package.

You could combine this with a black list or something, but this
will probably get annoying quickly for many users.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.


Reply to: