[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 2013-07-10 20:52:15 +0200, Julian Andres Klode wrote:
> On Wed, Jul 10, 2013 at 04:44:46PM +0200, Vincent Lefevre wrote:
> > 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.

To avoid such problems, apt could remember where an installed
package came from. Such information, that could be stored in
/var/lib/apt/extended_states, could also be useful to other tools,
such as apt-show-versions.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: