Package: apt-src
Version: 0.25.3
Severity: important

> sudo apt-src install lm-sensors
Reading package lists... Done
Need to get 309 kB of source archives.
Get:1 http://ftp.au.debian.org/debian testing/main lm-sensors 1:3.6.0-10 (dsc) 
[2,028 B]
Get:2 http://ftp.au.debian.org/debian testing/main lm-sensors 1:3.6.0-10 (tar) 
[273 kB]
Get:3 http://ftp.au.debian.org/debian testing/main lm-sensors 1:3.6.0-10 (diff) 
[33.8 kB]
Fetched 309 kB in 1s (321 kB/s)       
dpkg-checkbuilddeps: error: Unmet build dependencies: systemd-dev
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
<snip big list>
The following packages will be REMOVED:
  ark baloo-kf5 blueman bluetooth bluez brasero breeze colord 
cryptsetup-initramfs dbus-user-session ddcutil dolphin
  dragonplayer drkonqi falkon ffmpegthumbs gnome-bluetooth 
gnome-bluetooth-sendto gparted guestfish guestfs-tools
...
  sweeper systemd systemd-container systemd-coredump systemd-sysv 
systemd-zram-generator systemsettings
...
  xserver-xorg-video-qxl xserver-xorg-video-radeon xserver-xorg-video-vesa 
xserver-xorg-video-vmware xserver-xspice

You're *#*@*$ kidding me!  Where was my chance to review the list and intervene?

> grep -B5 -A5 Remove /var/log/apt/history.log

Start-Date: 2024-11-27  00:58:44
Commandline: apt-get -y build-dep lm-sensors
Requested-By: tconnors (738)
Install: sysvinit-core:amd64 (3.06-4, automatic), makedev:amd64 (2.3.1-97, 
automatic), systemd-dev:amd64 (254.16-1~bpo12+1)
Remove: libkf5quickaddons5:amd64 (5.103.0-1), libkf5konq6:amd64 (4:22.12.3-1), 
breeze:amd64 (4:5.27.5-2), libokular5core10:amd64 (4:22.12.3-1), 
xserver-xorg-video-nouveau:amd64 (1:1.0.17-2), xserver-xorg-input-evdev:amd64 
(1:2.10.6-2+b1), nut-server:amd64 (2.8.0-7), libkf5kipi32.0.0:amd64 
(4:22.12.3-1), initramfs-tools-core:amd64 (0.142+deb12u1), udev:amd64 
(252.31-1~deb12u1), libkf5baloowidgets-bin:amd64 (4:22.12.3-1), 
konq-plugins:amd64 (4:22.12.3-1), xserver-xorg-input-mouse:amd64 
(1:1.9.3-1+b1), sane-utils:amd64 (1.2.1-2), libkf5plasmaquick5:amd64 
(5.103.0-1+deb12u1), libkf5runner5:amd64 (5.103.0-1), systemd-container:amd64 
(252.31-1~deb12u1), ark:amd64 (4:22.12.3-1), 
qml-module-org-kde-kquickcontrols:amd64 (5.103.0-1), kaccounts-providers:amd64 
(4:22.12.3-1), packagekit-tools:amd64 (1.2.6-5), dbus-user-session:amd64 
(1.14.10-1~deb12u1), modemmanager:amd64 (1.20.4-1), libtss2-tcti-cmd0:amd64 
(3.2.1-3), kphotoalbum:amd64 (5.9.1-1), polkitd:amd64 (122-3), 
libkf5kdelibs4support5:amd64 (5.103.0-1), xserver-xorg-video-amdgpu:amd64 
(23.0.0-1), libkf5kiofilewidgets5:amd64 (5.103.0-1+deb12u1), juk:amd64 
(4:22.12.3-1), kio:amd64 (5.103.0-1+deb12u1), xserver-xorg-core:amd64 
(2:21.1.7-3+deb12u8), linux-image-6.10.11+bpo-amd64:amd64 (6.10.11-1~bpo12+1), 
libpam-systemd:amd64 (252.31-1~deb12u1), libvirt-daemon-system-systemd:amd64 
(9.0.0-4+deb12u2), nut:amd64 (2.8.0-7), libtss2-tcti-device0:amd64 (3.2.1-3), 
libkf5akonadicore5abi2:amd64 (4:22.12.3-1), libkf5akonadiwidgets5abi1:amd64 
(4:22.12.3-1), libkf5authcore5:amd64 (5.103.0-1), kross:amd64 (5.103.0-1), 
libkf5notifyconfig5:amd64 (5.103.0-1), libkf5kiowidgets5:amd64 
(5.103.0-1+deb12u1), sweeper:amd64 (4:22.12.3-1), kate:amd64 (4:22.12.3-1), 
xserver-xspice:amd64 (0.1.5+git20200331-3), solaar:amd64 (1.1.8+dfsg-2), 
libkf5configwidgets5:amd64 (5.103.0-1), blueman:amd64 (2.3.5-2+b1), 
kwrite:amd64 (4:22.12.3-1), kdeconnect:amd64 (22.12.3-1), 
ktexteditor-katepart:amd64 (5.103.0-1.1), bluetooth:amd64 (5.66-1+deb12u2), 
libguestfs-perl:amd64 (1:1.48.6-2), libkf5kcmutils5:amd64 (5.103.0-3), 
systemsettings:amd64 (4:5.27.5-2), linux-image-6.11.5+bpo-amd64:amd64 
(6.11.5-1~bpo12+1), linux-headers-6.11.5+bpo-amd64:amd64 (6.11.5-1~bpo12+1), 
kmag:amd64 (4:22.12.3-1), gwenview:amd64 (4:22.12.3-1), kmix:amd64 
(4:22.12.3-1), polkitd-pkla:amd64 (122-3), libtss2-tcti-swtpm0:amd64 (3.2.1-3), 
dragonplayer:amd64 (4:22.12.3-1), i2c-tools:amd64 (4.3-2+b3), colord:amd64 
(1.4.6-2.2), baloo-kf5:amd64 (5.103.0-2), libkf5newstuff5:amd64 (5.103.0-1), 
libkf5baloowidgets5:amd64 (4:22.12.3-1), software-properties-common:amd64 
(0.99.30-4.1~deb12u1), kio-extras:amd64 (4:22.12.3-1), 
xserver-xorg-video-intel:amd64 (2:2.99.917+git20210115-1), udisks2:amd64 
(2.9.4-4), virt-p2v:amd64 (1.42.3-1), libkf5declarative5:amd64 (5.103.0-1), 
linux-headers-amd64:amd64 (6.11.5-1~bpo12+1), xserver-xorg:amd64 (1:7.7+23), 
kcalc:amd64 (4:22.12.3-1), linux-image-6.10.6+bpo-amd64:amd64 
(6.10.6-1~bpo12+1), linux-headers-6.10.6+bpo-amd64:amd64 (6.10.6-1~bpo12+1), 
libkf5style5:amd64 (5.103.0-1), libkf5xmlgui5:amd64 (5.103.0-1), brasero:amd64 
(3.12.3-2), kipi-plugins:amd64 (4:22.12.3-1), libtss2-mu0:amd64 (3.2.1-3), 
xserver-xorg-video-vesa:amd64 (1:2.5.0-1+b1), kdenlive:amd64 
(22.12.3-2+deb12u1), libkf5parts5:amd64 (5.103.0-1), drkonqi:amd64 (5.27.5-2), 
tigervnc-xorg-extension:amd64 (1.12.0+dfsg-8), xserver-xorg-video-dummy:amd64 
(1:0.4.0-1), mdevctl:amd64 (1.2.0-3+b1), libsane:amd64 (1.2.1-2), 
libtss2-rc0:amd64 (3.2.1-3), kmouth:amd64 (4:22.12.3-1), systemd:amd64 
(252.31-1~deb12u1), dolphin:amd64 (4:22.12.3-1), konqueror:amd64 (4:22.12.3-1), 
ktorrent:amd64 (22.12.3-1), guestmount:amd64 (1:1.48.6-2), kwin-x11:amd64 
(4:5.27.5-3), packagekit:amd64 (1.2.6-5), kwin-style-breeze:amd64 (4:5.27.5-2), 
rhythmbox:amd64 (3.4.6-2+b1), libkscreenlocker5:amd64 (5.27.5-2), 
linux-headers-6.10.11+bpo-amd64:amd64 (6.10.11-1~bpo12+1), 
libnss-mymachines:amd64 (252.31-1~deb12u1), keditbookmarks:amd64 (22.12.3-1), 
gparted:amd64 (1.3.1-1), libguestfs-xfs:amd64 (1:1.48.6-2), 
libkf5bookmarks5:amd64 (5.103.0-1), light:amd64 (1.2.2-2), 
linux-image-amd64:amd64 (6.11.5-1~bpo12+1), kinit:amd64 (5.103.0-1), 
libkf5webkit5:amd64 (5.103.0-1), libkf5texteditor-bin:amd64 (5.103.0-1.1), 
qml-module-org-kde-purpose:amd64 (5.103.0-1), xserver-xorg-video-radeon:amd64 
(1:19.1.0-3), guestfs-tools:amd64 (1.48.2-1+deb12u1), 
kdegraphics-thumbnailers:amd64 (4:22.12.3-1), gvfs-backends:amd64 (1.50.3-1), 
libguestfs-tools:amd64 (1:1.48.6-2), konsole:amd64 (4:22.12.3-1), 
xserver-xorg-input-synaptics:amd64 (1.9.2-1+b1), kamera:amd64 (4:22.12.3-1), 
xserver-xorg-video-vmware:amd64 (1:13.3.0-3.1+b1), gvfs:amd64 (1.50.3-1), 
libkf5purpose5:amd64 (5.103.0-1), gvfs-daemons:amd64 (1.50.3-1), okular:amd64 
(4:22.12.3-1), network-manager:amd64 (1.42.4-1), ddcutil:amd64 (1.4.1-1), 
kwalletmanager:amd64 (4:22.12.3-1), mdadm:amd64 (4.2-5), 
cryptsetup-initramfs:amd64 (2:2.6.1-4~deb12u2), systemd-coredump:amd64 
(252.31-1~deb12u1), libguestfs-hfsplus:amd64 (1:1.48.6-2), 
xserver-xorg-input-libinput:amd64 (1.2.1-1+b1), python3-guestfs:amd64 
(1:1.48.6-2), libkf5wallet-bin:amd64 (5.103.0-1), snapd:amd64 (2.57.6-1+b5), 
libtss2-tcti-mssim0:amd64 (3.2.1-3), gnome-bluetooth-sendto:amd64 (42.5-3), 
libkf5texteditor5:amd64 (5.103.0-1.1), xorg:amd64 (1:7.7+23), guestfish:amd64 
(1:1.48.6-2), xpra:amd64 (3.1.3-0.1), libkf5torrent6abi3:amd64 (22.12.3-1), 
kde-style-breeze:amd64 (4:5.27.5-2), kmenuedit:amd64 (4:5.27.5-2), 
libkf5khtml5:amd64 (5.103.0-1), libkf5sane5:amd64 (22.12.3-1), xsane:amd64 
(0.999-12+b1), hplip:amd64 (3.22.10+dfsg0-2), kronometer:amd64 (2.3.0-1), 
libkf5contacteditor5:amd64 (4:22.12.3-1), libkf5krossui5:amd64 (5.103.0-1), 
systemd-zram-generator:amd64 (1.1.2-2+b2), libtss2-sys1:amd64 (3.2.1-3), 
rtkit:amd64 (0.13-5), khelpcenter:amd64 (4:22.12.3-1), simple-scan:amd64 
(42.5-2), kde-spectacle:amd64 (22.12.3-1), pkexec:amd64 (122-3), 
qml-module-org-kde-kcm:amd64 (5.103.0-1), qml-module-org-kde-runnermodel:amd64 
(5.103.0-1), libkf5newstuffcore5:amd64 (5.103.0-1), initramfs-tools:amd64 
(0.142+deb12u1), libkf5textwidgets5:amd64 (5.103.0-1), libkf5kiocore5:amd64 
(5.103.0-1+deb12u1), tpm-udev:amd64 (0.6), media-player-info:amd64 (24-2), 
libkf5auth5:amd64 (5.103.0-1), libkf5plasma5:amd64 (5.103.0-1+deb12u1), 
systemd-sysv:amd64 (252.31-1~deb12u1), qml-module-org-kde-kconfig:amd64 
(5.103.0-1), bluez:amd64 (5.66-1+deb12u2), libvirt-daemon-system:amd64 
(9.0.0-4+deb12u2), vivaldi-stable:amd64 (6.5.3206.61-1), libksanecore1:amd64 
(22.12.3-1), gnome-bluetooth:amd64 (42~3.34.5-10), libsane1:amd64 (1.2.1-2), 
konsole-kpart:amd64 (4:22.12.3-1), libguestfs-reiserfs:amd64 (1:1.48.6-2), 
libkf5kiogui5:amd64 (5.103.0-1+deb12u1), libpolkit-qt5-1-1:amd64 (0.114.0-2), 
qml-module-org-kde-newstuff:amd64 (5.103.0-1), libkf5purpose-bin:amd64 
(5.103.0-1), libkf5newstuffwidgets5:amd64 (5.103.0-1), libkf5iconthemes5:amd64 
(5.103.0-1), libtss2-esys-3.0.2-0:amd64 (3.2.1-3), 
libkf5grantleetheme-plugins:amd64 (22.12.3-1), ffmpegthumbs:amd64 
(4:22.12.3-1), xserver-xorg-video-all:amd64 (1:7.7+23), wmbattery:amd64 
(2.56-1), xserver-xorg-video-ati:amd64 (1:19.1.0-3), libkf5grantleetheme5:amd64 
(22.12.3-1), plasma-framework:amd64 (5.103.0-1+deb12u1), kpartx:amd64 
(0.9.4-3+deb12u1), xserver-xorg-video-fbdev:amd64 (1:0.5.0-2), 
libguestfs0:amd64 (1:1.48.6-2), kmousetool:amd64 (4:22.12.3-1), kaffeine:amd64 
(2.0.18+git20230226.439cd0d-1), policykit-1:amd64 (122-3), kfind:amd64 
(4:22.12.3-1), falkon:amd64 (22.12.1-2), libu2f-udev:amd64 (1.1.10-3), 
libkf5akonadicontact5:amd64 (4:22.12.3-1), 
qml-module-org-kde-kquickcontrolsaddons:amd64 (5.103.0-1), kde-cli-tools:amd64 
(4:5.27.5.1-2), xserver-xorg-video-qxl:amd64 (0.1.5+git20200331-3), 
kwin-common:amd64 (4:5.27.5-3), upower:amd64 (0.99.20-2)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2024-11-27  00:59:21



Regardless of how broken my dependencies may or may not be (I think
this is just because systemd is in backports, systemd-dev is in
backports, but systemd-dev is not in bookworm, and I have bookworm
installed; nothing exotic), what the bloody hell are you doing
supplying `apt-get -y build-dep`, which is documented as having the
ability to remove packages (you'd think it'd weigh up whether it's
worth installing 1 package at the expense of removing 216 packages,
but the "user" did supply "-y"), when the user was just asking to
install a package, and most definitely didn't supply "-y" or even have
"ablility to remove packages" documented clearly as A DANGEROUS
POSSIBLE SIDE-EFFECT in the manpage?

I suspect this should be marked as GRAVE DATALOSS, but am not sure of
whether loss of ability to boot into a system is considered dataloss.


-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (5, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.11+bpo-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-src depends on:
ii  apt              2.6.1
ii  dpkg-dev         1.22.6
ii  libapt-pkg-perl  0.1.40+b2
ii  perl             5.36.0-7+deb12u1

Versions of packages apt-src recommends:
ii  build-essential  12.9
ii  fakeroot         1.31-1.2
ii  sudo             1.9.13p3-1+deb12u1

apt-src suggests no packages.

-- no debconf information

Reply via email to