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

Bug#1052133: apt: E: Removing essential system-critical packages is not permitted. This might break the system.



Hi,

Quoting Thorsten Glaser (2023-09-17 23:03:50)
> E: Removing essential system-critical packages is not permitted. This might break the system.
> 
> Used to be that it asks for “Yes, do as I say!”, and this is missing
> in sid now‽ I kinda need that…

it's documented in "man apt-get" if you search for "essential" you find:

> --allow-remove-essential
>     Force yes; this is a dangerous option that will cause apt to continue without
>     prompting if it is removing essentials. It should not be used except in very
>     special situations. Using it can potentially destroy your system! Configuration
>     Item: APT::Get::allow-remove-essential. Introduced in APT 1.1.

It appears that there are people who will assume that when their computer tells
them to type “Yes, do as I say!” then that's just what they will do without
switching their brain on first: https://youtu.be/0506yDSgU7M?t=633

To prevent this from happening in the future, this was changed to become even
more difficult and now one has to read the manual and pass the option above
instead.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: