[HELP] Failed to Preset Unit after Update

Winda

New Member
Apr 28, 2019
1
0
1
Indonesia
www.blanja.com
Today, I ran apt-get update && apt-get upgrade and I saw
Setting up pve-manager (5.4-4) ...
Failed to preset unit: File /etc/systemd/system/pve-manager.service already exists and is a symlink to /dev/null.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on pve-guests.service: No such file or directory
Processing triggers for pve-ha-manager (2.0-9) ...

Fetched 59.1 MB in 2min 29s (394 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 108224 files and directories currently installed.)
Preparing to unpack .../base-files_9.9+deb9u9_amd64.deb ...
Unpacking base-files (9.9+deb9u9) over (9.9+deb9u8) ...
Setting up base-files (9.9+deb9u9) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 108224 files and directories currently installed.)
Preparing to unpack .../00-libjs-jquery_3.1.1-2+deb9u1_all.deb ...
Unpacking libjs-jquery (3.1.1-2+deb9u1) over (3.1.1-2) ...
Preparing to unpack .../01-libpng16-16_1.6.28-1+deb9u1_amd64.deb ...
Unpacking libpng16-16:amd64 (1.6.28-1+deb9u1) over (1.6.28-1) ...
Preparing to unpack .../02-linux-libc-dev_4.9.168-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.9.168-1) over (4.9.144-3.1) ...
Preparing to unpack .../03-proxmox-widget-toolkit_1.0-26_all.deb ...
Unpacking proxmox-widget-toolkit (1.0-26) over (1.0-25) ...
Preparing to unpack .../04-pve-kernel-4.15.18-12-pve_4.15.18-36_amd64.deb ...
Unpacking pve-kernel-4.15.18-12-pve (4.15.18-36) over (4.15.18-35) ...
Preparing to unpack .../05-libpve-common-perl_5.0-51_all.deb ...
Unpacking libpve-common-perl (5.0-51) over (5.0-50) ...
Preparing to unpack .../06-postfix-sqlite_3.1.12-0+deb9u1_amd64.deb ...
Removing sqlite map entry from /etc/postfix/dynamicmaps.cf
Unpacking postfix-sqlite (3.1.12-0+deb9u1) over (3.1.9-0+deb9u2) ...
Preparing to unpack .../07-postfix_3.1.12-0+deb9u1_amd64.deb ...
Unpacking postfix (3.1.12-0+deb9u1) over (3.1.9-0+deb9u2) ...
Preparing to unpack .../08-pve-firewall_3.0-20_amd64.deb ...
Unpacking pve-firewall (3.0-20) over (3.0-19) ...
Preparing to unpack .../09-rsync_3.1.2-1+deb9u2_amd64.deb ...
Unpacking rsync (3.1.2-1+deb9u2) over (3.1.2-1+deb9u1) ...
Preparing to unpack .../10-pve-manager_5.4-4_amd64.deb ...
Unpacking pve-manager (5.4-4) over (5.4-3) ...
Preparing to unpack .../11-python-cryptography_1.7.1-3+deb9u1_amd64.deb ...
Unpacking python-cryptography (1.7.1-3+deb9u1) over (1.7.1-3) ...
Preparing to unpack .../12-publicsuffix_20190415.1030-0+deb9u1_all.deb ...
Unpacking publicsuffix (20190415.1030-0+deb9u1) over (20181003.1334-0+deb9u1) ...
Setting up libjs-jquery (3.1.1-2+deb9u1) ...
Setting up proxmox-widget-toolkit (1.0-26) ...
Setting up pve-kernel-4.15.18-12-pve (4.15.18-36) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.18-12-pve /boot/vmlinuz-4.15.18-12-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.18-12-pve /boot/vmlinuz-4.15.18-12-pve
update-initramfs: Generating /boot/initrd.img-4.15.18-12-pve
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.15.18-12-pve /boot/vmlinuz-4.15.18-12-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.18-12-pve
Found initrd image: /boot/initrd.img-4.15.18-12-pve
Found linux image: /boot/vmlinuz-4.15.18-11-pve
Found initrd image: /boot/initrd.img-4.15.18-11-pve
Found linux image: /boot/vmlinuz-4.15.18-10-pve
Found initrd image: /boot/initrd.img-4.15.18-10-pve
Found linux image: /boot/vmlinuz-4.15.18-9-pve
Found initrd image: /boot/initrd.img-4.15.18-9-pve
Found linux image: /boot/vmlinuz-4.15.18-8-pve
Found initrd image: /boot/initrd.img-4.15.18-8-pve
Found linux image: /boot/vmlinuz-4.15.18-7-pve
Found initrd image: /boot/initrd.img-4.15.18-7-pve
Found linux image: /boot/vmlinuz-4.15.18-5-pve
Found initrd image: /boot/initrd.img-4.15.18-5-pve
Found linux image: /boot/vmlinuz-4.15.18-4-pve
Found initrd image: /boot/initrd.img-4.15.18-4-pve
Found linux image: /boot/vmlinuz-4.15.18-1-pve
Found initrd image: /boot/initrd.img-4.15.18-1-pve
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
done
Setting up libpve-common-perl (5.0-51) ...
Setting up libpng16-16:amd64 (1.6.28-1+deb9u1) ...
Processing triggers for install-info (6.3.0.dfsg.1-1+b2) ...
Setting up linux-libc-dev:amd64 (4.9.168-1) ...
Setting up rsync (3.1.2-1+deb9u2) ...
insserv: warning: script 'lvm' missing LSB tags and overrides
insserv: script lvm: service lvm already provided!
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up publicsuffix (20190415.1030-0+deb9u1) ...
Processing triggers for systemd (232-25+deb9u11) ...
Setting up python-cryptography (1.7.1-3+deb9u1) ...
Processing triggers for pve-ha-manager (2.0-9) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up postfix-sqlite (3.1.12-0+deb9u1) ...
Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
Setting up pve-firewall (3.0-20) ...
Processing triggers for rsyslog (8.24.0-1) ...
Setting up postfix (3.1.12-0+deb9u1) ...
Installing new version of config file /etc/postfix/makedefs.out ...
insserv: warning: script 'lvm' missing LSB tags and overrides
insserv: script lvm: service lvm already provided!

Postfix (main.cf) configuration was untouched. If you need to make changes,
edit /etc/postfix/main.cf (and others) as needed. To view Postfix
configuration values, see postconf(1).

After modifying main.cf, be sure to run 'service postfix reload'.

Running newaliases
Setting up pve-manager (5.4-4) ...
Failed to preset unit: File /etc/systemd/system/pve-manager.service already exists and is a symlink to /dev/null.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on pve-guests.service: No such file or directory
Processing triggers for pve-ha-manager (2.0-9) ...
root@cloud:~#

Already googled for that, but I'm not lucky.
So Please, can someone help me?
 
As mentioned a gazillion times by the Proxmox staff and now once more:

Don't use apt-get upgrade, only use apt-get dist-upgrade.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!