--- Begin Message ---
Package: apt
Version: 2.7.3
Severity: normal
X-Debbugs-Cc: tg@mirbsd.de
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…
-- Package-specific info:
-- (/etc/apt/preferences present, but not submitted) --
-- (/etc/apt/preferences.d/dash-mksh.pref present, but not submitted) --
-- (/etc/apt/preferences.d/ncurses-term-considered-harmful present, but not submitted) --
-- (/etc/apt/preferences.d/prevent-apparmor present, but not submitted) --
-- (/etc/apt/preferences.d/prevent-aptitude present, but not submitted) --
-- (/etc/apt/preferences.d/prevent-drexim present, but not submitted) --
-- (/etc/apt/preferences.d/prevent-networkmanager present, but not submitted) --
-- (/etc/apt/preferences.d/prevent-packagekit present, but not submitted) --
-- (/etc/apt/preferences.d/prevent-puppet present, but not submitted) --
-- (/etc/apt/preferences.d/prevent-ruby present, but not submitted) --
-- (/etc/apt/preferences.d/prevent-systemd-completely present, but not submitted) --
-- (/etc/apt/preferences.d/prevent-unattended-upgrades present, but not submitted) --
-- (/etc/apt/preferences.d/usrmove-done-considered-harmful present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- (/etc/apt/sources.list.d/local.list present, but not submitted) --
-- (/etc/apt/sources.list.d/tarent-sid.sources present, but not submitted) --
-- (/etc/apt/sources.list.d/wtf-sid.sources present, but not submitted) --
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32
Kernel: Linux 5.10.0-25-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/lksh
Init: sysvinit (via /sbin/init)
Versions of packages apt depends on:
ii adduser 3.137
ii base-passwd 3.6.1
ii debian-archive-keyring 2023.4
ii gpgv 2.2.40-1.1
ii libapt-pkg6.0 2.7.3
ii libc6 2.37-7
ii libelogind0 [libsystemd0] 246.10-1debian1
ii libgcc-s1 13.2.0-2
ii libgnutls30 3.8.1-4
ii libseccomp2 2.5.4-1+b3
ii libstdc++6 13.2.0-2
Versions of packages apt recommends:
ii ca-bundle [ca-certificates] 20190604tarent1
Versions of packages apt suggests:
pn apt-doc <none>
pn aptitude | synaptic | wajig <none>
ii dpkg-dev 1.22.0
ii gnupg 2.2.40-1.1
ii gnupg1 1.4.23-1.1+b1
pn powermgmt-base <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sun, Sep 17, 2023 at 11:03:50PM +0200, Thorsten Glaser wrote:
> Package: apt
> Version: 2.7.3
> Severity: normal
> X-Debbugs-Cc: tg@mirbsd.de
>
> 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…
As Josch said, this has been obfuscated by design as users broke
their systems, so you know have to use
apt --allow-remove-essential remove essentialpackage
to actually remove an essential package (or essentialpackage-
for arguments to install, etc).
Yesterday I was thinking about such prompts and whether a captcha
sort of quiz works, like an operation over two numbers vs. something
you can just copy and paste.
"To continue enter the result of 5 + 8"
Another idea would be an expert mode, but it's likely people will
listen to random YouTubers and Reddit users telling them to turn
that on and then we're back at the initial problem.
That being said, this is (not) working as designed, so I'm closing
this bug report.
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
--- End Message ---