fail upgrade 1.9 to 2.1

vitaleg

Member
Oct 3, 2011
9
0
21
Hi!


Please help solve the problem.

Reading package lists ... Finish
Building dependency tree
Reading state information ... Finish
0 upgraded, 0 newly installed, 0 to remove packages and 0 not upgraded.
not installed or removed before the end of a packet.
After this operation, the amount of additional disk space will be 0 B.
Setting up pve-manager (2.1-1) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
dpkg: error processing pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
When processing the following Errors were encountered:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

# pveversion -v
pve-manager: not correctly installed (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-10-pve
pve-kernel-2.6.32-10-pve: 2.6.32-63
pve-kernel-2.6.32-11-pve: 2.6.32-66
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: not correctly installed
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: not correctly installed
vzquota: 3.0.12-3

dpkg debug:
View attachment debug.zip
 
Last edited:
post the upgrade log (generated by the script).
 
full log in the zip archive.

STARTING ./pve-upgrade-1.9-to-2.0 (Thu May 3 05:29:59 2012)


modprobe fuse
apt-get update
Hit http://ftp.ua.debian.org squeeze Release.gpg
Ign http://ftp.ua.debian.org/debian/ squeeze/main Translation-en
Hit http://ftp.ua.debian.org squeeze Release
Hit http://ftp.ua.debian.org squeeze/main Sources
Hit http://ftp.ua.debian.org squeeze/main amd64 Packages
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Hit http://ftp.debian.org squeeze Release.gpg
Ign http://ftp.debian.org/debian/ squeeze/main Translation-en
Hit http://download.proxmox.com squeeze Release.gpg
Ign http://download.proxmox.com/debian/ squeeze/pve Translation-en
Hit http://security.debian.org squeeze/updates Release
Hit http://ftp.debian.org squeeze Release
Hit http://download.proxmox.com squeeze Release
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://ftp.debian.org squeeze/main amd64 Packages
Ign http://download.proxmox.com squeeze/pve amd64 Packages
Ign http://download.proxmox.com squeeze/pve amd64 Packages
Hit http://download.proxmox.com squeeze/pve amd64 Packages
Reading package lists...
apt-get -f install
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up pve-manager (2.1-1) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
dpkg: error processing pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get install debian-archive-keyring
Reading package lists...
Building dependency tree...
Reading state information...
debian-archive-keyring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Abort.
sed -i -e "s/archive\.debian\.org/ftp\.debian\.org/" -e "s/lenny/squeeze/" /etc/apt/sources.list
grep -q -s 'alternative=' /etc/default/grub
apt-get update
Hit http://ftp.ua.debian.org squeeze Release.gpg
Ign http://ftp.ua.debian.org/debian/ squeeze/main Translation-en
Hit http://ftp.ua.debian.org squeeze Release
Hit http://ftp.ua.debian.org squeeze/main Sources
Hit http://ftp.ua.debian.org squeeze/main amd64 Packages
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Hit http://download.proxmox.com squeeze Release.gpg
Ign http://download.proxmox.com/debian/ squeeze/pve Translation-en
Hit http://security.debian.org squeeze/updates Release
Hit http://ftp.debian.org squeeze Release.gpg
Ign http://ftp.debian.org/debian/ squeeze/main Translation-en
Hit http://download.proxmox.com squeeze Release
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://ftp.debian.org squeeze Release
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Ign http://download.proxmox.com squeeze/pve amd64 Packages
Hit http://ftp.debian.org squeeze/main amd64 Packages
Ign http://download.proxmox.com squeeze/pve amd64 Packages
Hit http://download.proxmox.com squeeze/pve amd64 Packages
Reading package lists...
modprobe vzmon
apt-get -y upgrade
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up pve-manager (2.1-1) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
dpkg: error processing pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

fulllog: View attachment fulllog.zip
 
you do not run a default installation. I see additional installed packages failing (xl2tpd, php, etc.), also software raid (mdraid).

the script is not intended to upgrade custom installations, see wiki. Therefore I recommend a new installation.
 
at the moment, virtual machines currently running, the problem is that it can not install pve-manager
 
No, at the time of updating all the virtual machines were turned off. I mean that the package pve-manager is not fully established, but the virtual machines run even after an unsuccessful upgrade.
 
there are multiple issues and I recommend a new installation.
 
I know that update script work only with standard package but i can not reinstall all system because i have 15 users on it. I whant to khow why system think that pve-manager is damage i need it know to future.
I do not want to reinstall whole system becouse of pve-manager is damage.
 
post your /etc/hosts and /etc/hostname
 
lucky:~# cat /etc/hostname
lucky.xxxxxxxx.com

lucky:~# cat /etc/hosts
127.0.0.1 localhost
62.xxx.xxx.xxx lucky.xxxx.xxxx.com lucky.xxxxxxxx.com pvelocalhost lucky


# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 
and what do you get if you run this:
Code:
[COLOR=#333333]​aptitude install pve-manager[/COLOR]
 
lucky:~# aptitude install pve-manager
The following partially installed packages will be configured:
pve-manager
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up pve-manager (2.1-1) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
dpkg: error processing pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up pve-manager (2.1-1) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
dpkg: error processing pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
pve-manager
 

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!