[SOLVED] Apt: Upgrade nicht installierbar, werden aber gelistet

Yakuraku

Active Member
Sep 24, 2016
69
0
26
39
Ich versuche gerade mein Host per apt zu aktualiseren, aber habe dabei festgestellt dass, obwohl apt list mir installierbare pakete anzeigt, diese nicht installiert werden. Kein Fehler, keine Info, nichts.

Das System ist ein Debian als Grundinstallation mit installiertem Proxmox.

Jemand eine Idee?

Log siehe hier:
Code:
root@joker:~# apt list --upgradeable
Listing... Done
pve-cluster/stable 5.0-27 amd64 [upgradable from: 5.0-25]
pve-manager/stable 5.2-2 amd64 [upgradable from: 5.1-52]
root@joker:~# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@joker:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@joker:~# apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Moin,

ich mache alle Updates über pveupdate + pveupgrade und nicht über apt.
Hatte dabei bisher noch keinen einzigen Fehler.

Gruß Thomas
 
was sagt:

> pveversion -v
 
pveversion -v

Code:
proxmox-ve: 5.2-2 (running kernel: 4.15.17-3-pve)
pve-manager: 5.1-52 (running version: 5.1-52/ba597a64)
pve-kernel-4.15: 5.2-3
pve-kernel-4.13: 5.1-45
pve-kernel-4.15.17-3-pve: 4.15.17-12
pve-kernel-4.15.17-2-pve: 4.15.17-10
pve-kernel-4.15.17-1-pve: 4.15.17-9
pve-kernel-4.15.15-1-pve: 4.15.15-6
pve-kernel-4.13.16-3-pve: 4.13.16-49
pve-kernel-4.13.16-2-pve: 4.13.16-48
pve-kernel-4.13.16-1-pve: 4.13.16-46
pve-kernel-4.13.13-6-pve: 4.13.13-42
corosync: 2.4.2-pve5
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: not correctly installed
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-apiclient-perl: 2.0-4
libpve-common-perl: 5.0-33
libpve-guest-common-perl: 2.0-16
libpve-http-server-perl: 2.0-9
libpve-storage-perl: 5.0-23
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 3.0.0-3
lxcfs: 3.0.0-1
novnc-pve: 1.0.0-1
proxmox-widget-toolkit: 1.0-19
pve-cluster: 5.0-25
pve-container: 2.0-23
pve-docs: 5.2-4
pve-firewall: 3.0-12
pve-firmware: 2.0-4
pve-ha-manager: 2.0-5
pve-i18n: 1.0-6
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.11.1-5
pve-xtermjs: 1.0-5
qemu-server: 5.0-28
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.9-pve1~bpo9


pveupgrade # bringt nichts

Code:
pveupgrade
Starting system upgrade: apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

System not fully up to date (found 2 new packages)

apt-get upgrade #bringt auch nichts
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  pve-cluster pve-manager
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.


apt-get dist-upgrade #ändert auch nichts
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Ok, habe glaube ich die Ursache:

Code:
The following packages have unmet dependencies:
 pve-cluster : Depends: perl (>= 5.24.1-3+deb9u3) but 5.24.1-3+deb9u2 is to be installed
 pve-manager : Depends: pve-cluster (>= 5.0-27) but 5.0-25 is to be installed

Aber wie bekomme ich jetzt 5.24.1-3+deb9u3 installiert?
 
wie schauen denn die soures.list aus?

> cat /etc/apt/sources.list

irgendwelche fehler bei abfragen der repositories?:

> apt update
 
cat /etc/apt/sources.list
Code:
 deb http://deb.debian.org/debian stretch main contrib   
deb-src http://deb.debian.org/debian stretch main contrib

cat /etc/apt/sources.list.d/pve-install-repo.list
Code:
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

apt update # keine Probleme
Code:
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://deb.debian.org/debian stretch Release
Hit:4 http://download.proxmox.com/debian/pve stretch InRelease   
Reading package lists... Done         
Building dependency tree       
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
gibt es einen grund warum die security updates repos nicht verwendet werden?
Code:
deb https://deb.debian.org/debian-security stretch/updates main
deb-src https://deb.debian.org/debian-security stretch/updates main
 
Nein, kein besonderer Grund. Hab es nach dem Setup wohl verpennt einzutragen.

Jetzt gehen die Updates auch wieder. Vielen Dank :)
 

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!