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

Re: Bug #32888: I think this is a bug in apt.



On Fri, Mar 05, 1999 at 08:23:43AM +1100, Hamish Moffatt wrote:
> On Thu, Mar 04, 1999 at 02:40:30PM +0100, Santiago Vila wrote:
> > IMHO, it is not a bug that dpkg lets the user to remove an essential
> > package by using
> > 
> > dpkg --force-remove-essential --remove essentialpackage
> > 
> > It is a bug that the packaging system does it on behalf of the user
> > by asking a simple yes/no question (which is what apt seems to do).
> > 
> > In this case, at least, I would suggest apt to ask the question
> > in such way that "No" is the default answer.
> 
> dpkg should let you do it, but we should try to ensure that it does not
> hose the system (eg by removing all of /dev). This package is a special case.

But it's just too easy to miss a line in apt's output, hit <ENTER> and
remove a bunch of essential packages (think bash, libc6, ...) totally
hosing the system. I agree that apt should use "No" as the default answer
if it's going to remove essential packages.

(It's not that easy to type "dpkg --force-remove-essential ...").

--
Enrique Zanardi					   ezanardi@ull.es


Reply to: