Debian 11 Update - Fehlermeldung

juser

Member
Hallo Zusammen,

ich werde gerade aus der folgenden Fehlermeldung nicht schlau, die ich bei dem Versuch einen Debian 11 Server mit mehren PHP-Versionen upzudaten, bekomme.

Kann mir hier jemand auf die Sprünge helfen. Danke.

Setting up initramfs-tools (0.140) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-5.10.0-23-amd64 (5.10.179-1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-23-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-5.10.0-23-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.10.0-23-amd64 (--configure):
installed linux-image-5.10.0-23-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
linux-image-amd64 depends on linux-image-5.10.0-23-amd64 (= 5.10.179-1); however:
Package linux-image-5.10.0-23-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-22-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-5.10.0-22-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.10.0-23-amd64
linux-image-amd64
initramfs-tools
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
php5.6-apcu : Breaks: php-apcu (< 1:4.0.11-1+0~20230617.6+debian11~1.gbp7c68d1~)
php5.6-memcache : Breaks: php-memcache (< 1:3.0.9~20170802.e702b5f9+-1+0~20230716.5+debian11~1.gbp14ff3f~)
php5.6-redis : Breaks: php-redis (< 1:4.3.0-1+0~20230619.4+debian11~1.gbp77d8c5~)
php7.0-memcache : Breaks: php-memcache (< 1:4.0.5.2-1+0~20230716.5+debian11~1.gbpe9883d~)
php7.1-memcache : Breaks: php-memcache (< 1:4.0.5.2-1+0~20230716.5+debian11~1.gbpe9883d~)
php7.2-memcache : Breaks: php-memcache (< 1:4.0.5.2-1+0~20230716.5+debian11~1.gbpe9883d~)
php7.3-memcache : Breaks: php-memcache (< 1:4.0.5.2-1+0~20230716.5+debian11~1.gbpe9883d~)
php7.4-memcache : Breaks: php-memcache (< 1:4.0.5.2-1+0~20230716.5+debian11~1.gbpe9883d~)
E: Unable to correct problems, you have held broken packages.
 

juser

Member
@Till leider bin ich erst heute dazu gekommen zu antworten. Während der Urlaubszeit müssen leider die keinen Urlaub haben als Springer einspringen.



root@web:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 1.3M 3.2G 1% /run
/dev/mapper/z3host01--vg-root 3.6T 532G 2.9T 16% /
tmpfs 16G 4.0K 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda2 235M 205M 18M 93% /boot
tmpfs 3.2G 0 3.2G 0% /run/user/0

Ich hab mittlerweile verstanden das die Kernel auf der /boot - Partion liegen. Hilft mir aber leider nicht, alte Kernel lassen sich nicht löschen.

Ich hab mal die Ausgabe von dpkg -l | grep linux-image | awk '{print$2}' hier aufgelistet:

linux-image-4.9.0-14-amd64
linux-image-4.9.0-15-amd64
linux-image-4.9.0-16-amd64
linux-image-4.9.0-17-amd64
linux-image-5.10.0-19-amd64
linux-image-5.10.0-20-amd64
linux-image-5.10.0-21-amd64
linux-image-5.10.0-22-amd64
linux-image-5.10.0-23-amd64
linux-image-amd64


mit dem Befehl apt remove --purge linux-image-4.9.0-14-amd64 hab ich versucht einen Kernel zu löschen. Da kam die folgende Fehlermeldung:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
keyutils libnfsidmap2 linux-image-5.10.0-19-amd64 linux-image-5.10.0-20-amd64 linux-image-5.10.0-21-amd64 php8.1-apcu php8.1-memcached php8.1-redis php8.1-xdebug
ttf-dejavu-core
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-4.9.0-14-amd64*
0 upgraded, 0 newly installed, 1 to remove and 273 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up initramfs-tools (0.140) ...
update-initramfs: deferring update (trigger activated)
(Reading database ... 126380 files and directories currently installed.)
Purging configuration files for linux-image-4.9.0-14-amd64 (4.9.246-2) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-23-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-5.10.0-23-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /bin/which
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Problem executing scripts DPkg::post-Invoke 'if [ -x /usr/bin/rkhunter ] && grep -qiE '^APT_AUTOGEN=.?(true|yes)' /etc/default/rkhunter; then /usr/share/rkhunter/scripts/rkhupd.sh; fi'
E: Sub-process returned an error code


Hat jemand eine Idee wie ich die Kernel trotzdem löschen kann?
 

Werbung

Top