2.6.32: apt-get upgrade failed

xrisse

New Member
Hi,

i've got some dependency-problems on upgrade.

root@node1:~# apt-get install vzctl
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
vzctl ist schon die neueste Version.
Die folgenden Pakete wurden automatisch installiert und werden nicht länger benötigt:
libsensors4
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
3 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0B Plattenplatz zusätzlich benutzt.
Richte vzctl ein (3.0.23-1pve5) ...
Running kernel is not OpenVZ kernel...failed
invoke-rc.d: initscript vz, action "start" failed.
dpkg: Fehler beim Bearbeiten von vzctl (--configure):
Unterprozess post-installation script gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von pve-manager:
pve-manager hängt ab von vzctl (>= 3.0.23-1pve2); aber:
Paket vzctl ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von pve-manager (--configure):
Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von proxmox-ve-2.6.32:
proxmox-ve-2.6.32 hängt ab von pve-manager; aber:
Paket pve-manager ist noch nicht konfiguriert.
proxmox-ve-2.6.32 hängt ab von vzctl; aber:
Paket vzctl ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von proxmox-ve-2.6.32 (--configure):
Abhängigkeitsprobleme - lasse es unkonfiguriert
Fehler traten auf beim Bearbeiten von:
vzctl
pve-manager
proxmox-ve-2.6.32
E: Sub-process /usr/bin/dpkg returned an error code (1)


...what should i do? the vzctl can't work because of missing openvz-support in the kernel. but proxmox-ve and pve-manager are depending on it :-/



(sorry for my bad english!)
 
strange, I already fixed the startup script /etc/init.d/vz - it should look like:

Code:
...
check_kernel()
{
        if ! test -d /proc/vz ; then
                print_result "Running kernel is not OpenVZ kernel."
                exit 0
        fi
}
...

I have no idea why the update didi not update that file.
 

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!