Upgrade issue

k0nsl

Member
Nov 17, 2013
15
0
21
Denmark, Slangerup
k0nsl.org
I wanted to just run a simple upgrade via apt-get but I'm met with the following:
Code:
root@srv88:/home/k0nsl# apt-get update && apt-get upgrade
Ign http://ftp.debian.org jessie InRelease
Ign http://download.proxmox.com jessie InRelease
Get:1 http://ftp.debian.org jessie Release.gpg [2,373 B]
Get:2 http://security.debian.org jessie/updates InRelease [63.1 kB]
Hit http://download.proxmox.com jessie Release.gpg
Get:3 http://ftp.debian.org jessie Release [148 kB]
Hit http://download.proxmox.com jessie Release
Hit http://download.proxmox.com jessie/pve-no-subscription amd64 Packages
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [343 kB]
Get:5 http://ftp.debian.org jessie/main amd64 Packages [6,776 kB]
Get:6 http://security.debian.org jessie/updates/contrib amd64 Packages [2,506 B]
Get:7 http://security.debian.org jessie/updates/contrib Translation-en [1,211 B]
Get:8 http://security.debian.org jessie/updates/main Translation-en [181 kB]
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en_US
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en_US.utf8
Get:9 http://ftp.debian.org jessie/contrib amd64 Packages [50.2 kB]
Get:10 http://ftp.debian.org jessie/contrib Translation-en [38.5 kB]
Get:11 http://ftp.debian.org jessie/main Translation-en [4,582 kB]
Fetched 12.2 MB in 22s (532 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libpam-systemd : Depends: systemd-shim (>= 8-2) but it is not installed or
                           systemd-sysv but it is not installed
E: Unmet dependencies. Try using -f.
Trying to force it doesn't work:
Code:
root@srv88:/home/k0nsl# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libalgorithm-c3-perl libclass-c3-perl libclass-c3-xs-perl libcpan-meta-perl
  libdata-optlist-perl libdata-section-perl libmodule-signature-perl
  libmro-compat-perl libparams-util-perl libpod-readme-perl
  libregexp-common-perl libsoftware-license-perl libsub-exporter-perl
  libsub-install-perl libtext-template-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libpam-systemd libsystemd0 systemd systemd-shim
Suggested packages:
  systemd-ui pm-utils
The following NEW packages will be installed:
  systemd-shim
The following packages will be upgraded:
  libpam-systemd libsystemd0 systemd
3 upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
4 not fully installed or removed.
Need to get 2,760 kB/2,778 kB of archives.
After this operation, 59.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.debian.org/debian/ jessie/main libpam-systemd amd64 215-17+deb8u6 [126 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main systemd amd64 215-17+deb8u6 [2,545 kB]
Get:3 http://ftp.debian.org/debian/ jessie/main libsystemd0 amd64 215-17+deb8u6 [89.4 kB]
Fetched 2,760 kB in 5s (503 kB/s)
Reading changelogs... Done
(Reading database ... 30481 files and directories currently installed.)
Preparing to unpack .../libpam-systemd_215-17+deb8u6_amd64.deb ...
Unpacking libpam-systemd:amd64 (215-17+deb8u6) over (215-17+deb8u5) ...
Preparing to unpack .../systemd_215-17+deb8u6_amd64.deb ...
Unpacking systemd (215-17+deb8u6) over (215-17+deb8u5) ...
Preparing to unpack .../libsystemd0_215-17+deb8u6_amd64.deb ...
Unpacking libsystemd0:amd64 (215-17+deb8u6) over (215-17+deb8u5) ...
Preparing to unpack .../systemd-shim_9-1_amd64.deb ...
Adding 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
dpkg-divert: error: rename involves overwriting `/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd' with
  different file `/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service', not allowed
dpkg: error processing archive /var/cache/apt/archives/systemd-shim_9-1_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Processing triggers for dbus (1.8.20-0+deb8u1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/systemd-shim_9-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

That's where I am currently. Any ideas?

Best wishes,
-k0nsl
 
also, we don't support non-systemd setups on PVE 4 - please install the "systemd-sysv" package!
 

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!