hi

my hetzner server running debian 12 stopped responding after a regular upgrade.

the terminal i was running the upgrade from is dead.

cant open a new SSH session, the window just doesnt respond, does not timeout 
either.

shutting off via hetzner power button and running `dpkg --configure -a` helped.

I cant remember experiencing such an issue in over 10 years of debian.

cheers
david


```
root@dry:~# apt update && apt upgrade -y && apt autoremove && apt autoclean
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease                     
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease             
Hit:4 http://mirror.hetzner.de/debian/packages bookworm InRelease         
Hit:5 http://mirror.hetzner.de/debian/packages bookworm-updates InRelease 
Hit:6 http://mirror.hetzner.de/debian/security bookworm-security InRelease
Reading package lists... Done                                             
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-image-6.1.0-56-amd64
The following packages will be upgraded:
  linux-image-amd64
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 70.6 MB of archives.
After this operation, 410 MB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security bookworm-security/main amd64 
linux-image-6.1.0-56-amd64 amd64 6.1.192-2 [70.6 MB]
Get:2 http://security.debian.org/debian-security bookworm-security/main amd64 
linux-image-amd64 amd64 6.1.192-2 [1,480 B]
Fetched 70.6 MB in 1s (115 MB/s)        
Selecting previously unselected package linux-image-6.1.0-56-amd64.
(Reading database ... 48710 files and directories currently installed.)
Preparing to unpack .../linux-image-6.1.0-56-amd64_6.1.192-2_amd64.deb ...
Unpacking linux-image-6.1.0-56-amd64 (6.1.192-2) ...
Preparing to unpack .../linux-image-amd64_6.1.192-2_amd64.deb ...
Unpacking linux-image-amd64 (6.1.192-2) over (6.1.192-1) ...
Setting up linux-image-6.1.0-56-amd64 (6.1.192-2) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.1.0-55-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.1.0-55-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.1.0-56-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-56-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-56-amd64
W: No zstd in /usr/bin:/sbin:/bin, using gzip
Killed
update-initramfs: failed for /boot/initrd.img-6.1.0-56-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-56-amd64 (--configure):
 installed linux-image-6.1.0-56-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-6.1.0-56-amd64 (= 6.1.192-2); however:
  Package linux-image-6.1.0-56-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured


Progress: [ 56%] 
[###################################################################################...................................................................]
```

Reply via email to