Accidentally upgraded system with jessie-backports

duckness

New Member
Feb 10, 2017
3
0
1
33
I was foolish enough to upgrade the system with apt-get -t jessie-backports upgrade, and it appears that Proxmox really isn't a fan of some of the newer packages. Attempting to downgrade the packages fail because systemd depends on a newer version of udev which also depends on that newer version of systemd. apt-get install -f also wants to remove some very important system packages like pve-kernel-4.4.35-1-pve so that's fun. Web access is now broken and I can only access the machine via SSH. I'm really unsure how I should proceed to unbreak everything. I can only see 3 options:
  • Somehow make Proxmox play nicely with the new packages
  • Somehow downgrade the packages without breaking everything
  • Back up all my configs, reinstall Proxmox from scratch, and pray that I somehow didn't break something else
 
try the following, after you configured your sources.lists correctly:

> apt-get update
> apt-get install proxmox-ve
> apt-get dist-upgrade
 
try the following, after you configured your sources.lists correctly
I would assume this means removing jessie-backports right? this is what it looks like now:
deb http://ftp.debian.org/debian jessie main contrib non-free
#deb http://ftp.debian.org/debian jessie-backports main non-free

deb http://download.proxmox.com/debian jessie pve-no-subscription

# security updates
deb http://security.debian.org jessie/updates main contrib


sources.list.d is empty except for pve-enterprise.list which is commented away.
> apt-get update
> apt-get install proxmox-ve
> apt-get dist-upgrade
The 2nd command breaks.

apt-get install proxmox-ve
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:
proxmox-ve : Depends: pve-kernel-4.4.35-2-pve but it is not going to be installed
systemd : Recommends: libpam-systemd but it is not going to be installed
Breaks: udev (< 228-5) but 215-17+deb8u6 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
 
If you are unable to solve it with apt tools, either consult an Debian/Proxmox expert (e.g. our enterprise support) or consider a reinstall.