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

Re: Proposed change to dpkg behaviour



Ian Jackson writes:
> 
> I propose to add yet another control file field:
>   Replaces: <dependency-specification>
> (syntax the same as Conflicts, including the optional version spec).
> 
> The effects will be:
> 
> * Suppose you have A installed, and want to install B, which conflicts
> with A.  If B declares `Replaces: A' then you don't need to deselect A
> first (by using dpkg --remove and having it fail, or using dselect).
> This may make dselect's job easier too - it will always deselect A in
> favour of B, and perhaps copy A's `wanted' state to B.

My only problem would be if it caused package A to get removed without
prompting.  Otherwise, it seems like a Good Thing.

-- 
Carl Streeter                   |  "Etiquette-wise, there is no proper time 
streeter@cae.wisc.edu           |    to use the phrase 'It sucks.'" --Dogbert
Just another Perl hacker        |  "I'm a heartless bastard." --Linus Torvalds
Ask me about Debian/GNU Linux.  |    http://www.cae.wisc.edu/~streeter/


Reply to: