root@enlil:~# uname -r
4.19.0-1-amd64
Greetings,
I seem to be at an impass with my apt dist-upgrade. It keeps on wanting to remove vital things like initramfs-tools and xserver-xorg and I don't know why. I've been blocked for a week or so now. I do use apt-listbugs to pin but I removed all the pins to make sure it's not that. I managed to do a regular upgrade wilst unpinning libprotobuf17 (https://bugs.debian.org/cgi-bin/bugrepo ... bug=910964) and it upgraded without apt-listbugs warning me that anything was wrong this time... yet still the same problem with the dist-upgrade. Somebody help me!
I have taken the SUID off Xorg for a long time now as advised in this link: https://lists.x.org/archives/xorg-annou ... 02927.html
This is the apt term.log from an upgrade or dist-upgrade I did before when the issue started:
Code: Select all
Aborting removal of the running kernel
error processing package linux-image-4.18.0-3-amd64 (--remove):
installed linux-image-4.18.0-3-amd64 package pre-removal script subprocess returned error exit status 1
Removing linux-image-4.18.0-2-amd64 (4.18.10-2+b1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.18.0-2-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
adding my custom entries
Found linux image: /boot/vmlinuz-4.19.0-1-amd64
Found initrd image: /boot/initrd.img-4.19.0-1-amd64
Found linux image: /boot/vmlinuz-4.18.0-3-amd64
Found initrd image: /boot/initrd.img-4.18.0-3-amd64
Found linux image: /boot/vmlinuz-4.18.0-1-amd64
Found initrd image: /boot/initrd.img-4.18.0-1-amd64
Found linux image: /boot/vmlinuz-4.17.0-3-amd64
Found initrd image: /boot/initrd.img-4.17.0-3-amd64
Found linux image: /boot/vmlinuz-4.17.0-1-amd64
Found initrd image: /boot/initrd.img-4.17.0-1-amd64
Found Windows 7 on /dev/sdc1
Found Debian GNU/Linux 8 (jessie) on /dev/sdc6
done
Removing linux-image-4.18.0-1-amd64 (4.18.6-1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.18.0-1-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
adding my custom entries
Found linux image: /boot/vmlinuz-4.19.0-1-amd64
Found initrd image: /boot/initrd.img-4.19.0-1-amd64
Found linux image: /boot/vmlinuz-4.18.0-3-amd64
Found initrd image: /boot/initrd.img-4.18.0-3-amd64
Found linux image: /boot/vmlinuz-4.17.0-3-amd64
Found initrd image: /boot/initrd.img-4.17.0-3-amd64
Found linux image: /boot/vmlinuz-4.17.0-1-amd64
Found initrd image: /boot/initrd.img-4.17.0-1-amd64
Found Windows 7 on /dev/sdc1
Found Debian GNU/Linux 8 (jessie) on /dev/sdc6
done
Removing linux-image-4.17.0-3-amd64 (4.17.17-1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.17.0-3-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
adding my custom entries
Found linux image: /boot/vmlinuz-4.19.0-1-amd64
Found initrd image: /boot/initrd.img-4.19.0-1-amd64
Found linux image: /boot/vmlinuz-4.18.0-3-amd64
Found initrd image: /boot/initrd.img-4.18.0-3-amd64
Found linux image: /boot/vmlinuz-4.17.0-1-amd64
Found initrd image: /boot/initrd.img-4.17.0-1-amd64
Found Windows 7 on /dev/sdc1
Found Debian GNU/Linux 8 (jessie) on /dev/sdc6
done
Removing kde-runtime (4:17.08.3-2) ...
Removing kdelibs5-plugins (4:4.14.38-3) ...
Removing katepart (4:4.14.3-5) ...
Removing kdoctools (4:4.14.38-3) ...
[1mdpkg:[0m initramfs-tools: dependency problems, but removing anyway as you requested:
linux-image-4.19.0-1-amd64 depends on initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool; however:
Package initramfs-tools is to be removed.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is to be removed.
linux-image-4.18.0-3-amd64 depends on initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool; however:
Package initramfs-tools is to be removed.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is to be removed.
linux-image-4.17.0-1-amd64 depends on initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool; however:
Package initramfs-tools is to be removed.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is to be removed.
linux-image-4.19.0-1-amd64 depends on initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool; however:
Package initramfs-tools is to be removed.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is to be removed.
linux-image-4.18.0-3-amd64 depends on initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool; however:
Package initramfs-tools is to be removed.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is to be removed.
linux-image-4.17.0-1-amd64 depends on initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool; however:
Package initramfs-tools is to be removed.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is to be removed.
Removing initramfs-tools (0.132) ...
Removing initramfs-tools-core (0.132) ...
Errors were encountered while processing:
linux-image-4.18.0-3-amd64
Log ended: 2019-01-08 22:00:51
Here is the output from today:
Code: Select all
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
--SNIP--
The following packages will be REMOVED:
initramfs-tools initramfs-tools-core libhdf5-100 libhdf5-openmpi-100
libkactivities-bin libkactivities-models1 libkatepartinterfaces4
libkde3support4 libkdewebkit5 libkemoticons4 libkfile4 libkhtml5 libkio5
libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkparts4
libktexteditor4 libplasma3 libsensors4 libsensors4:i386 libservlet2.5-java
libsolid4 libtirpc1 linux-image-4.17.0-1-amd64 linux-image-4.18.0-3-amd64
linux-image-4.19.0-1-amd64 linux-image-amd64 plasma-scriptengine-javascript
python-gnucash sane sane-utils udev udisks2 unetbootin upower xpra xsane
xserver-xorg xserver-xorg-core xserver-xorg-input-evdev
xserver-xorg-input-mouse xserver-xorg-input-synaptics
xserver-xorg-input-void xserver-xorg-input-wacom xserver-xorg-video-all
xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-cirrus
xserver-xorg-video-dummy xserver-xorg-video-fbdev xserver-xorg-video-intel
xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic
xserver-xorg-video-nouveau xserver-xorg-video-qxl xserver-xorg-video-r128
xserver-xorg-video-radeon xserver-xorg-video-savage xserver-xorg-video-tdfx
xserver-xorg-video-trident xserver-xorg-video-vesa xserver-xorg-video-vmware
The following NEW packages will be installed:
guile-2.2-libs libel-api-java libhdf5-103 libhdf5-openmpi-103
libjsp-api-java libmariadb3 libsensors-config libsensors5
libwebsocket-api-java makedev
The following packages have been kept back:
libkrb5support0 libkrb5support0:i386 libsane-common
The following packages will be upgraded:
gnucash gnucash-common libgdal20 libnetcdf13 libopencv-calib3d3.2
libopencv-contrib3.2 libopencv-core3.2 libopencv-features2d3.2
libopencv-flann3.2 libopencv-highgui3.2 libopencv-imgcodecs3.2
libopencv-imgproc3.2 libopencv-ml3.2 libopencv-objdetect3.2
libopencv-photo3.2 libopencv-shape3.2 libopencv-stitching3.2
libopencv-superres3.2 libopencv-video3.2 libopencv-videoio3.2
libopencv-videostab3.2 libopencv-viz3.2 libservlet3.1-java libtirpc-common
libtirpc3 libudev-dev libudev1 libudev1:i386 libvtk6.3 lm-sensors
python-opencv sysstat
32 upgraded, 10 newly installed, 64 to remove and 3 not upgraded.
Need to get 44.7 MB/64.0 MB of archives.
After this operation, 785 MB disk space will be freed.
Do you want to continue? [Y/n] Abort.