Code:
# pveversion
pve-manager/5.3-5/97ae681d (running kernel: 4.15.18-7-pve)
I logged in to update my proxmox today and noticed that
Code:
apt upgrade
Code:
# apt upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
So I dutifully ran it and observed it hung at the end of this output:
Code:
sh-4.4# dpkg --configure -a
Setting up initramfs-tools (0.130) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u6) ...
Setting up pve-kernel-4.15.18-9-pve (4.15.18-30) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.18-9-pve /boot/vmlinuz-4.15.18-9-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.18-9-pve /boot/vmlinuz-4.15.18-9-pve
update-initramfs: Generating /boot/initrd.img-4.15.18-9-pve
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
<<<<<< HANG >>>>>>
Thinking this may be a disk-space problem, I checked - it isn't:
Code:
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 666M 5.7G 11% /run
/dev/md2 20G 3.6G 15G 20% /
tmpfs 32G 31M 32G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/sda1 510M 152K 510M 1% /boot/efi
/dev/mapper/pve-data 217G 161G 47G 78% /var/lib/vz
/dev/fuse 30M 56K 30M 1% /etc/pve
I let it run and ps shows this after waiting ~30 minutes:
Code:
# ps aux | grep dpkg
root 414 0.0 0.0 19208 4936 pts/7 S+ 16:30 0:00 dpkg --configure -a
root 591 0.0 0.0 17504 4336 pts/7 S+ 16:30 0:00 /usr/bin/perl -w /var/lib/dpkg/info/pve-kernel-4.15.18-9-pve.postinst configure
Code:
kill -15 591
kill -15 414
Code:
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
dpkg: error processing package pve-kernel-4.15.18-9-pve (--configure):
subprocess installed post-installation script was killed by signal (Terminated)
Setting up libvotequorum8:amd64 (2.4.4-pve1) ...
Setting up libcpg4:amd64 (2.4.4-pve1) ...
Setting up libx11-6:amd64 (2:1.6.4-3+deb9u1) ...
Setting up libgd3:amd64 (2.2.4-2+deb9u3) ...
Setting up libcmap4:amd64 (2.4.4-pve1) ...
Setting up libquorum5:amd64 (2.4.4-pve1) ...
Setting up libtotem-pg5:amd64 (2.4.4-pve1) ...
dpkg: dependency problems prevent configuration of pve-kernel-4.15:
pve-kernel-4.15 depends on pve-kernel-4.15.18-9-pve; however:
Package pve-kernel-4.15.18-9-pve is not configured yet.
dpkg: error processing package pve-kernel-4.15 (--configure):
dependency problems - leaving unconfigured
Setting up ceph-common (10.2.11-2) ...
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-kernel-4.15; however:
Package pve-kernel-4.15 is not configured yet.
dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Setting up libnginx-mod-http-image-filter (1.10.3-1+deb9u2) ...
Setting up nginx-full (1.10.3-1+deb9u2) ...
Upgrading binary: nginx.
Setting up corosync (2.4.4-pve1) ...
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
dpkg: error processing package pve-kernel-4.15.18-9-pve (--configure):
subprocess installed post-installation script was killed by signal (Terminated)
Setting up libvotequorum8:amd64 (2.4.4-pve1) ...
Setting up libcpg4:amd64 (2.4.4-pve1) ...
Setting up libx11-6:amd64 (2:1.6.4-3+deb9u1) ...
Setting up libgd3:amd64 (2.2.4-2+deb9u3) ...
Setting up libcmap4:amd64 (2.4.4-pve1) ...
Setting up libquorum5:amd64 (2.4.4-pve1) ...
Setting up libtotem-pg5:amd64 (2.4.4-pve1) ...
dpkg: dependency problems prevent configuration of pve-kernel-4.15:
pve-kernel-4.15 depends on pve-kernel-4.15.18-9-pve; however:
Package pve-kernel-4.15.18-9-pve is not configured yet.
dpkg: error processing package pve-kernel-4.15 (--configure):
dependency problems - leaving unconfigured
Setting up ceph-common (10.2.11-2) ...
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-kernel-4.15; however:
Package pve-kernel-4.15 is not configured yet.
dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Setting up libnginx-mod-http-image-filter (1.10.3-1+deb9u2) ...
Setting up nginx-full (1.10.3-1+deb9u2) ...
Upgrading binary: nginx.
Setting up corosync (2.4.4-pve1) ...
Removing obsolete conffile /etc/init/corosync.conf ...
Setting up pve-cluster (5.0-31) ...
Setting up libpve-storage-perl (5.0-33) ...
Setting up libpve-access-control (5.1-3) ...
Setting up nginx (1.10.3-1+deb9u2) ...
Setting up pve-container (2.0-31) ...
Setting up pve-firewall (3.0-16) ...
Setting up qemu-server (5.0-43) ...
Created symlink /etc/systemd/system/multi-user.target.wants/qmeventd.service → /lib/systemd/system/qmeventd.service.
Setting up pve-manager (5.3-5) ...
Processing triggers for pve-ha-manager (2.0-5) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.15.18-9-pve
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
<<<<<< HANG >>>>>>
Any tips please?