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

Re: My experience with debian

Adrian 'Dagurashibanipal' von Bidder <avbidder@fortytwo.ch> writes:

> On Wednesday 14 July 2004 10.23, Florian Ernst wrote:
>> dpkg does check whether one wants to uninstall the currently running
>> kernel:
>> | # dpkg --purge kernel-image-2.4.26-ll
>> | (Reading database ... 50766 files and directories currently
>> | installed.) Removing kernel-image-2.4.26-ll ...
>> |
>> |   You are running a kernel (version 2.4.26-ll) and attempting to
>> | remove the same version. This is a potentially disastrous action.
> ...
> Ah, right, forgot that completely. It's not dpkg as such, it's the 
> kernel package in the prerm (which makes sense, of course.)
> So it seems it's all taken care of and this thread can die peacefully to 
> make room for the stupid flamefests.

To make this work for dpkg there could be an essential package
"kernel" that Depends on kernel-image (which
kernel-image-2.x.y-arch-flavour can provide) and a kernel-image-dummy
for people not using kernel debs.

That way you could deinstall all but the last kernel (which might be
the dummy) without getting screamed at.

But then you have an essential package depending on extra/optional.


Reply to: