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

Re: Renaming a package

Daniel Kobras <kobras@debian.org> writes:

> On Fri, Jun 09, 2006 at 02:15:06PM +0100, Ian Jackson wrote:
>> Daniel Kobras writes ("Re: Renaming a package"):
>> >  but the alternative patch to dpkg is quite simple (see
>> > below). Alas, it changes current behaviour.
>> I don't think it this patch is correct as is, but something similar
>> might not be unreasonable if it had to be turned on with a command
>> line option.
> [Context: When renaming a package, can we make use of dpkg's feature to
> disappear the old package on upgrade?]
> So you're thinking of 'dpkg --configure --dont-fail-if-not-installed'
> that could be used by default in apt? What about teaching apt to remove
> a package from the list when it goes into state not-installed during
> unpack?
> Regards,
> Daniel.

That would require parsing the dpkg status database after ever dpkg
run. I'm not sure (and hope not) that is done.


Reply to: