can not aptitude full upgrade on a new install ** SOLVED **

RobFantini

Famous Member
May 24, 2012
2,009
102
133
Boston,Mass
the issue was caused by a large /etc/ssh/ssh_known_hosts file.

we use a site wide known_hosts which is rsynced to all systems.

Udo figured out the issue.
------------------------------------------------------------------------------------

Hello
on a fresh install when this is run:
Code:
aptitude full upgrade
We get the error below.

I tried reinstall and ran in to the same issue.

I'm not using backports just the sources.list from new install.

Any suggestion to get around this?

Code:
The following partially installed packages will be configured:
  fence-agents-pve libpve-access-control proxmox-ve-2.6.32 pve-cluster pve-manager qemu-server redhat-cluster-pve 
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-cluster (1.0-27) ...
Restarting pve cluster filesystem: pve-cluster.
input too long - aborting
dpkg: error processing pve-cluster (--configure):
 subprocess installed post-installation script returned error exit status 255
configured to not write apport reports
                                      dpkg: dependency problems prevent configuration of redhat-cluster-pve:
 redhat-cluster-pve depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
dpkg: error processing redhat-cluster-pve (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fence-agents-pve:
 fence-agents-pve depends on redhat-cluster-pve; however:
  Package redhat-cluster-pve is not configured yet.
dpkg: error processing fence-agents-pve (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpve-access-control:
 libpve-access-control depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
dpkg: error processing libpve-access-control (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      configured to not write apport reports
                                                                            configured to not write apport reports
                                                                                                                  dpkg: dependency problems prevent configuration of qemu-server:
 qemu-server depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
 qemu-server depends on redhat-cluster-pve; however:
  Package redhat-cluster-pve is not configured yet.
dpkg: error processing qemu-server (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      dpkg: dependency problems prevent configuration of pve-manager:
 pve-manager depends on qemu-server (>= 1.1-1); however:
  Package qemu-server is not configured yet.
 pve-manager depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
 pve-manager depends on libpve-access-control; however:
  Package libpve-access-control is not configured yet.
 pve-manager depends on redhat-cluster-pve; however:
  Package redhat-cluster-pve is not configured yet.
 pve-manager depends on fence-agents-pve; however:
  Package fence-agents-pve is not configured yet.
dpkg: error processing pve-manager (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      dpkg: dependency problems prevent configuration of proxmox-ve-2.6.32:
 proxmox-ve-2.6.32 depends on pve-manager; however:
  Package pve-manager is not configured yet.
 proxmox-ve-2.6.32 depends on qemu-server; however:
  Package qemu-server is not configured yet.
dpkg: error processing proxmox-ve-2.6.32 (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      Errors were encountered while processing:
 pve-cluster
 redhat-cluster-pve
 fence-agents-pve
 libpve-access-control
 qemu-server
 pve-manager
 proxmox-ve-2.6.32
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up pve-cluster (1.0-27) ...
Restarting pve cluster filesystem: pve-cluster.
input too long - aborting
dpkg: error processing pve-cluster (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of pve-manager:
 pve-manager depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
dpkg: error processing pve-manager (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve-2.6.32:
 proxmox-ve-2.6.32 depends on pve-manager; however:
  Package pve-manager is not configured yet.
dpkg: error processing proxmox-ve-2.6.32 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpve-access-control:
 libpve-access-control depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
dpkg: error processing libpve-access-control (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qemu-server:
 qemu-server depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
dpkg: error processing qemu-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of redhat-cluster-pve:
 redhat-cluster-pve depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
dpkg: error processing redhat-cluster-pve (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fence-agents-pve:
 fence-agents-pve depends on redhat-cluster-pve; however:
  Package redhat-cluster-pve is not configured yet.
dpkg: error processing fence-agents-pve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-cluster
 pve-manager
 proxmox-ve-2.6.32
 libpve-access-control
 qemu-server
 redhat-cluster-pve
 fence-agents-pve
 
Last edited:
Re: can not aptitude full upgrade on a new install

also hostname is s008

and this line is in /etc/hosts:
10.100.100.8 s008.fantinibakery.com s008 pvelocalhost
 
Re: can not aptitude full upgrade on a new install

of course you did a:
Code:
aptitude update
first?
If not, try aptitude update and then aptitude full-upgrade.
You can also try aptitude -f install to try to fix the issue, that is really strange on a new system (and I've no idea about)
 
Re: can not aptitude full upgrade on a new install

mmenaz -
thanks for the reply.

I did an aptitude update.

On the 1-st aptitude full-upgrade, as expected many Debian packages were updated.

Just tried aptitude -f and :
Code:
s008  /var/log/apt # aptitude -f install proxmox-ve-2.6.32
The following partially installed packages will be configured:
  fence-agents-pve libpve-access-control proxmox-ve-2.6.32 pve-cluster pve-manager qemu-server redhat-cluster-pve 
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-cluster (1.0-27) ...      
Restarting pve cluster filesystem: pve-cluster.
input too long - aborting
dpkg: error processing pve-cluster (--configure):
 subprocess installed post-installation script returned error exit status 255
configured to not write apport reports
                                      dpkg: dependency problems prevent configuration of redhat-cluster-pve:
 redhat-cluster-pve depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
...
dpkg: error processing fence-agents-pve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-cluster
 pve-manager
 proxmox-ve-2.6.32
 libpve-access-control
 qemu-server
 redhat-cluster-pve
 fence-agents-pve

this is strange.
 
Re: can not aptitude full upgrade on a new install

mmenaz -
thanks for the reply.

I did an aptitude update.

On the 1-st aptitude full-upgrade, as expected many Debian packages were updated.

Just tried aptitude -f and :
Code:
s008  /var/log/apt # aptitude -f install proxmox-ve-2.6.32
The following partially installed packages will be configured:
  fence-agents-pve libpve-access-control proxmox-ve-2.6.32 pve-cluster pve-manager qemu-server redhat-cluster-pve 
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-cluster (1.0-27) ...      
Restarting pve cluster filesystem: pve-cluster.
input too long - aborting
dpkg: error processing pve-cluster (--configure):
 subprocess installed post-installation script returned error exit status 255
configured to not write apport reports
                                      dpkg: dependency problems prevent configuration of redhat-cluster-pve:
 redhat-cluster-pve depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
...
dpkg: error processing fence-agents-pve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-cluster
 pve-manager
 proxmox-ve-2.6.32
 libpve-access-control
 qemu-server
 redhat-cluster-pve
 fence-agents-pve

this is strange.
Hi,
does the same happens with
Code:
apt-get dist-upgrade
?
Udo
 
Re: can not aptitude full upgrade on a new install

Udo.
/etc/pve/cluster.conf does not exist :
Code:
ls -l /etc/pve 
s008  ~ # ls -l /etc/pve
total 3
-rw-r----- 1 root www-data  451 Sep 15 10:58 authkey.pub
-rw-r----- 1 root www-data   16 Sep 15 10:56 datacenter.cfg
lrwxr-x--- 1 root www-data    0 Dec 31  1969 local -> nodes/s008
drwxr-x--- 2 root www-data    0 Sep 15 10:58 nodes
lrwxr-x--- 1 root www-data    0 Dec 31  1969 openvz -> nodes/s008/openvz
drwx------ 2 root www-data    0 Sep 15 10:58 priv
-rw-r----- 1 root www-data 1533 Sep 15 10:58 pve-root-ca.pem
-rw-r----- 1 root www-data 1679 Sep 15 10:58 pve-www.key
lrwxr-x--- 1 root www-data    0 Dec 31  1969 qemu-server -> nodes/s008/qemu-server
-rw-r----- 1 root www-data   49 Sep 15 10:56 user.cfg
-rw-r----- 1 root www-data  119 Sep 15 10:58 vzdump.cron

/etc/hosts on our systems is large, and too big to post the entire file. [ we append a local network hosts file .]
but here is the top part:
Code:
10.100.100.8 s008.fantinibakery.com s008   pvelocalhost
127.0.0.1 localhost.localdomain localhost
# 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

here is /etc/hostname :
Code:
s008  ~ # cat /etc/hostname
s008
 
Last edited:
Re: can not aptitude full upgrade on a new install

/etc/hosts on our systems is large, and too big to post the entire file. [ we append a local network hosts file .]

How large? That file is expected to be small, so please try/test with a small file.
 
Re: can not aptitude full upgrade on a new install

How large? That file is expected to be small, so please try/test with a small file.

the file is 61K .

We have 5 other proxmox systems with the same sized file and no issues.

I just now copied the the original hosts file back and have the same issue. here is that /etc/hosts :
Code:
127.0.0.1 localhost.localdomain localhost
10.100.100.8 s008.fantinibakery.com s008 pvelocalhost


# The following lines are desirable for IPv6 capable hosts


::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

hostname = s008 for this system .
 
Re: can not aptitude full upgrade on a new install

Next I'll try rebooting s008 in case that helps.

result: same :
Code:
The following partially installed packages will be configured:
  fence-agents-pve libpve-access-control proxmox-ve-2.6.32 pve-cluster pve-manager qemu-server redhat-cluster-pve 
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-cluster (1.0-27) ...
Restarting pve cluster filesystem: pve-cluster.
input too long - aborting
dpkg: error processing pve-cluster (--configure):
 subprocess installed post-installation script returned error exit status 255
 
Re: can not aptitude full upgrade on a new install

Next I'll try rebooting s008 in case that helps.

result: same :
Code:
The following partially installed packages will be configured:
  fence-agents-pve libpve-access-control proxmox-ve-2.6.32 pve-cluster pve-manager qemu-server redhat-cluster-pve 
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-cluster (1.0-27) ...
Restarting pve cluster filesystem: pve-cluster.
input too long - aborting
dpkg: error processing pve-cluster (--configure):
 subprocess installed post-installation script returned error exit status 255
Hi,
can you post the output of following commands:
Code:
grep /etc/pve /proc/mounts
grep `cat /etc/hostname` /etc/hosts
dpkg-reconfigure pve-cluster
dpkg -l | grep pve
Udo
 
Re: can not aptitude full upgrade on a new install

Code:
grep /etc/pve /proc/mounts
/dev/fuse /etc/pve fuse rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other 0 0


grep `cat /etc/hostname` /etc/hosts
10.100.100.8 s008.fantinibakery.com s008 pvelocalhost

dpkg-reconfigure pve-cluster
/usr/sbin/dpkg-reconfigure: pve-cluster is broken or not fully installed


dpkg -l | grep pve
ii  clvm                            2.02.95-1pve2                Cluster LVM Daemon for lvm2
ii  corosync-pve                    1.4.3-1                      Standards-based cluster framework (daemon and modules)
ii  dmsetup                         2:1.02.74-1pve2              Linux Kernel Device Mapper userspace library
iU  fence-agents-pve                3.1.8-1                      fence agents for redhat cluster suite
ii  libcorosync4-pve                1.4.3-1                      Standards-based cluster framework (libraries)
ii  libdevmapper1.02.1              2:1.02.74-1pve2              Linux Kernel Device Mapper userspace library
ii  libopenais3-pve                 1.1.4-2                      Standards-based cluster framework (libraries)
iU  libpve-access-control           1.0-24                       Proxmox VE access control library
ii  libpve-common-perl              1.0-30                       Proxmox VE base library
ii  libpve-storage-perl             2.0-31                       Proxmox VE storage management library
ii  lvm2                            2.02.95-1pve2                Linux Logical Volume Manager
ii  openais-pve                     1.1.4-2                      Standards-based cluster framework (daemon and modules)
iF  pve-cluster                     1.0-27                       Cluster Infrastructure for Proxmox Virtual Environment
ii  pve-firmware                    1.0-18                       Binary firmware code for the pve-kernel
ii  pve-kernel-2.6.32-11-pve        2.6.32-66                    The Proxmox PVE Kernel Image
ii  pve-kernel-2.6.32-14-pve        2.6.32-74                    The Proxmox PVE Kernel Image
iU  pve-manager                     2.1-14                       The Proxmox Virtual Environment
ii  pve-qemu-kvm                    1.1-8                        Full virtualization on x86 hardware
iU  redhat-cluster-pve              3.1.92-3                     Red Hat cluster suite
ii  resource-agents-pve             3.9.2-3                      resource agents for redhat cluster suite
ii  vzctl                           3.0.30-2pve5                 OpenVZ - server virtualization solution - control tools
 
Re: can not aptitude full upgrade on a new install

Code:
grep /etc/pve /proc/mounts
/dev/fuse /etc/pve fuse rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other 0 0


grep `cat /etc/hostname` /etc/hosts
10.100.100.8 s008.fantinibakery.com s008 pvelocalhost

dpkg-reconfigure pve-cluster
/usr/sbin/dpkg-reconfigure: pve-cluster is broken or not fully installed


dpkg -l | grep pve
ii  clvm                            2.02.95-1pve2                Cluster LVM Daemon for lvm2
ii  corosync-pve                    1.4.3-1                      Standards-based cluster framework (daemon and modules)
ii  dmsetup                         2:1.02.74-1pve2              Linux Kernel Device Mapper userspace library
iU  fence-agents-pve                3.1.8-1                      fence agents for redhat cluster suite
ii  libcorosync4-pve                1.4.3-1                      Standards-based cluster framework (libraries)
ii  libdevmapper1.02.1              2:1.02.74-1pve2              Linux Kernel Device Mapper userspace library
ii  libopenais3-pve                 1.1.4-2                      Standards-based cluster framework (libraries)
iU  libpve-access-control           1.0-24                       Proxmox VE access control library
ii  libpve-common-perl              1.0-30                       Proxmox VE base library
ii  libpve-storage-perl             2.0-31                       Proxmox VE storage management library
ii  lvm2                            2.02.95-1pve2                Linux Logical Volume Manager
ii  openais-pve                     1.1.4-2                      Standards-based cluster framework (daemon and modules)
iF  pve-cluster                     1.0-27                       Cluster Infrastructure for Proxmox Virtual Environment
ii  pve-firmware                    1.0-18                       Binary firmware code for the pve-kernel
ii  pve-kernel-2.6.32-11-pve        2.6.32-66                    The Proxmox PVE Kernel Image
ii  pve-kernel-2.6.32-14-pve        2.6.32-74                    The Proxmox PVE Kernel Image
iU  pve-manager                     2.1-14                       The Proxmox Virtual Environment
ii  pve-qemu-kvm                    1.1-8                        Full virtualization on x86 hardware
iU  redhat-cluster-pve              3.1.92-3                     Red Hat cluster suite
ii  resource-agents-pve             3.9.2-3                      resource agents for redhat cluster suite
ii  vzctl                           3.0.30-2pve5                 OpenVZ - server virtualization solution - control tools
Ok,
can you run following with an short hosts-file?
Code:
dpkg-reconfigure fence-agents-pve
dpkg-reconfigure libpve-access-control
dpkg-reconfigure redhat-cluster-pve
dpkg-reconfigure pve-manager
dpkg-reconfigure pve-cluster

# after that again
dpkg -l | grep pve
Udo
 
Re: can not aptitude full upgrade on a new install

Ok,
can you run following with an short hosts-file?
Code:
dpkg-reconfigure fence-agents-pve
dpkg-reconfigure libpve-access-control
dpkg-reconfigure redhat-cluster-pve
dpkg-reconfigure pve-manager
dpkg-reconfigure pve-cluster

# after that again
dpkg -l | grep pve
Udo

Code:
s008  /etc # cat hosts.ori
127.0.0.1 localhost.localdomain localhost
10.100.100.8 s008.fantinibakery.com s008 pvelocalhost

# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
s008  /etc # dpkg-reconfigure fence-agents-pve
/usr/sbin/dpkg-reconfigure: fence-agents-pve is broken or not fully installed
s008  /etc # dpkg-reconfigure libpve-access-control
/usr/sbin/dpkg-reconfigure: libpve-access-control is broken or not fully installed
s008  /etc # dpkg-reconfigure redhat-cluster-pve
/usr/sbin/dpkg-reconfigure: redhat-cluster-pve is broken or not fully installed
s008  /etc # dpkg-reconfigure pve-manager
/usr/sbin/dpkg-reconfigure: pve-manager is broken or not fully installed
s008  /etc # dpkg-reconfigure pve-cluster
/usr/sbin/dpkg-reconfigure: pve-cluster is broken or not fully installed
 
Re: can not aptitude full upgrade on a new install

note /etc/hosts was the same as /etc/hosts.ori when I did the above.

cat /etc/hosts:
Code:
s008  ~ # cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.100.100.8 s008.fantinibakery.com s008 pvelocalhost

# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

These errors occured with a clean install , as after the 1-st reboot , before doing anything else, I ran apptitude update and aptitude full-upgrade .
 
Re: can not aptitude full upgrade on a new install

Here is /var/log/aptitude showing initial full-upgrade:

Code:
 Aptitude 0.6.3: log reportSat, Sep 15 2012 11:01:59 -0400


IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.


Will install 73 packages, and remove 0 packages.
15.1 MB of disk space will be used
===============================================================================
[INSTALL, DEPENDENCIES] ceph-common
[INSTALL, DEPENDENCIES] libio-multiplex-perl
[INSTALL, DEPENDENCIES] libiscsi1
[INSTALL, DEPENDENCIES] librados2
[INSTALL, DEPENDENCIES] librbd1
[INSTALL, DEPENDENCIES] pve-kernel-2.6.32-14-pve
[UPGRADE] apache2 2.2.16-6+squeeze4 -> 2.2.16-6+squeeze7
[UPGRADE] apache2-mpm-prefork 2.2.16-6+squeeze4 -> 2.2.16-6+squeeze7
[UPGRADE] apache2-utils 2.2.16-6+squeeze4 -> 2.2.16-6+squeeze7
[UPGRADE] apache2.2-bin 2.2.16-6+squeeze4 -> 2.2.16-6+squeeze7
[UPGRADE] apache2.2-common 2.2.16-6+squeeze4 -> 2.2.16-6+squeeze7
[UPGRADE] at 3.1.12-1 -> 3.1.12-1+squeeze1
[UPGRADE] base-files 6.0squeeze4 -> 6.0squeeze5
[UPGRADE] bind9-host 1:9.7.3.dfsg-1~squeeze4 -> 1:9.7.3.dfsg-1~squeeze7
[UPGRADE] dnsutils 1:9.7.3.dfsg-1~squeeze4 -> 1:9.7.3.dfsg-1~squeeze7
[UPGRADE] fence-agents-pve 3.1.7-2 -> 3.1.8-1
[UPGRADE] file 5.04-5 -> 5.04-5+squeeze2
[UPGRADE] initscripts 2.88dsf-13.1 -> 2.88dsf-13.1+squeeze1
[UPGRADE] isc-dhcp-client 4.1.1-P1-15+squeeze3 -> 4.1.1-P1-15+squeeze6
[UPGRADE] isc-dhcp-common 4.1.1-P1-15+squeeze3 -> 4.1.1-P1-15+squeeze6
[UPGRADE] libapr1 1.4.2-6+squeeze3 -> 1.4.2-6+squeeze4
[UPGRADE] libbind9-60 1:9.7.3.dfsg-1~squeeze4 -> 1:9.7.3.dfsg-1~squeeze7
[UPGRADE] libc-bin 2.11.3-2 -> 2.11.3-3
[UPGRADE] libc6 2.11.3-2 -> 2.11.3-3
[UPGRADE] libc6-i386 2.11.3-2 -> 2.11.3-3
[UPGRADE] libcurl3-gnutls 7.21.0-2 -> 7.21.0-2.1+squeeze2
[UPGRADE] libdns69 1:9.7.3.dfsg-1~squeeze4 -> 1:9.7.3.dfsg-1~squeeze7
[UPGRADE] libexpat1 2.0.1-7 -> 2.0.1-7+squeeze1
[UPGRADE] libfreetype6 2.4.2-2.1+squeeze3 -> 2.4.2-2.1+squeeze4
[UPGRADE] libgnutls26 2.8.6-1+squeeze1 -> 2.8.6-1+squeeze2
[UPGRADE] libgssapi-krb5-2 1.8.3+dfsg-4squeeze5 -> 1.8.3+dfsg-4squeeze6
[UPGRADE] libgssrpc4 1.8.3+dfsg-4squeeze5 -> 1.8.3+dfsg-4squeeze6
[UPGRADE] libisc62 1:9.7.3.dfsg-1~squeeze4 -> 1:9.7.3.dfsg-1~squeeze7
[UPGRADE] libisccc60 1:9.7.3.dfsg-1~squeeze4 -> 1:9.7.3.dfsg-1~squeeze7
[UPGRADE] libisccfg62 1:9.7.3.dfsg-1~squeeze4 -> 1:9.7.3.dfsg-1~squeeze7
[UPGRADE] libk5crypto3 1.8.3+dfsg-4squeeze5 -> 1.8.3+dfsg-4squeeze6
[UPGRADE] libkadm5clnt-mit7 1.8.3+dfsg-4squeeze5 -> 1.8.3+dfsg-4squeeze6
[UPGRADE] libkadm5srv-mit7 1.8.3+dfsg-4squeeze5 -> 1.8.3+dfsg-4squeeze6
[UPGRADE] libkdb5-4 1.8.3+dfsg-4squeeze5 -> 1.8.3+dfsg-4squeeze6
[UPGRADE] libkrb5-3 1.8.3+dfsg-4squeeze5 -> 1.8.3+dfsg-4squeeze6
[UPGRADE] libkrb5support0 1.8.3+dfsg-4squeeze5 -> 1.8.3+dfsg-4squeeze6
[UPGRADE] liblwres60 1:9.7.3.dfsg-1~squeeze4 -> 1:9.7.3.dfsg-1~squeeze7
[UPGRADE] libmagic1 5.04-5 -> 5.04-5+squeeze2
[UPGRADE] libnss3-1d 3.12.8-1+squeeze4 -> 3.12.8-1+squeeze5
[UPGRADE] libpng12-0 1.2.44-1+squeeze1 -> 1.2.44-1+squeeze4
[UPGRADE] libpve-access-control 1.0-21 -> 1.0-24
[UPGRADE] libpve-common-perl 1.0-27 -> 1.0-30
[UPGRADE] libpve-storage-perl 2.0-18 -> 2.0-31
[UPGRADE] libssl0.9.8 0.9.8o-4squeeze7 -> 0.9.8o-4squeeze13
[UPGRADE] libtasn1-3 2.7-1 -> 2.7-1+squeeze+1
[UPGRADE] libxml2 2.7.8.dfsg-2+squeeze1 -> 2.7.8.dfsg-2+squeeze5
[UPGRADE] libxml2-utils 2.7.8.dfsg-2+squeeze1 -> 2.7.8.dfsg-2+squeeze5
[UPGRADE] locales 2.11.3-2 -> 2.11.3-3
[UPGRADE] openssh-client 1:5.5p1-6+squeeze1 -> 1:5.5p1-6+squeeze2
[UPGRADE] openssh-server 1:5.5p1-6+squeeze1 -> 1:5.5p1-6+squeeze2
[UPGRADE] openssl 0.9.8o-4squeeze7 -> 0.9.8o-4squeeze13
[UPGRADE] procps 1:3.2.8-9 -> 1:3.2.8-9squeeze1
[UPGRADE] proxmox-ve-2.6.32 2.0-66 -> 2.1-74
[UPGRADE] pve-cluster 1.0-26 -> 1.0-27
[UPGRADE] pve-firmware 1.0-15 -> 1.0-18
[UPGRADE] pve-manager 2.1-1 -> 2.1-14
[UPGRADE] pve-qemu-kvm 1.0-9 -> 1.1-8
[UPGRADE] python 2.6.6-3+squeeze6 -> 2.6.6-3+squeeze7
[UPGRADE] python-minimal 2.6.6-3+squeeze6 -> 2.6.6-3+squeeze7
[UPGRADE] qemu-server 2.0-39 -> 2.0-49
[UPGRADE] redhat-cluster-pve 3.1.8-3 -> 3.1.92-3
[UPGRADE] samba-common 2:3.5.6~dfsg-3squeeze6 -> 2:3.5.6~dfsg-3squeeze8
[UPGRADE] ssh 1:5.5p1-6+squeeze1 -> 1:5.5p1-6+squeeze2
[UPGRADE] sysv-rc 2.88dsf-13.1 -> 2.88dsf-13.1+squeeze1
[UPGRADE] sysvinit 2.88dsf-13.1 -> 2.88dsf-13.1+squeeze1
[UPGRADE] sysvinit-utils 2.88dsf-13.1 -> 2.88dsf-13.1+squeeze1
[UPGRADE] tzdata 2011n-0squeeze1 -> 2012c-0squeeze1
[UPGRADE] vncterm 1.0-2 -> 1.0-3
===============================================================================
Log complete.
Aptitude 0.6.3: log report
Sat, Sep 15 2012 11:03:26 -0400


IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.


Will install 0 packages, and remove 0 packages.
===============================================================================
[UNCONFIGURED] fence-agents-pve
[UNCONFIGURED] libpve-access-control
[UNCONFIGURED] proxmox-ve-2.6.32
[UNCONFIGURED] pve-cluster
[UNCONFIGURED] pve-manager
[UNCONFIGURED] qemu-server
[UNCONFIGURED] redhat-cluster-pve
===============================================================================
[code]
 
Last edited:
Re: can not aptitude full upgrade on a new install

I think that somehow backports got enabled as the following pkg is a backport version.
Code:
 aptitude show librbd1
Package: librbd1                         
New: yes
State: installed
Automatically installed: yes
Version: 0.48argonaut-1~bpo60+1

So I'll reinstall tomorrow and see if that solves the issue, and will report back.
 
Re: can not aptitude full upgrade on a new install

Udo
could you please run this on one of your proxmox systems?
Code:
aptitude show librbd1

I assume it should not show a backports version.
 
Re: can not aptitude full upgrade on a new install

I just reinstalled. logged in and the 1-st command I ran :
Code:
aptitude show librbd1
shows it is from backports. I ran into a non upgradable system a few months ago when backports were involved. But back then I had added a backports line to sources.list. This new install will probably pull in package updates which intefere with pve pkg upgrades.

next I'll run
Code:
aptitude update
aptitude --simulate full-upgrade
to show what will get upgraded.

But to try to avoid the non upgradable system issue I'll try to just upgrade pve kernel then other pve packages one at a time.
 
Re: can not aptitude full upgrade on a new install

Code:
s008  /etc # aptitude --simulate full-upgrade
The following NEW packages will be installed:
  ceph-common{a} libio-multiplex-perl{a} libiscsi1{a} librados2{a} librbd1{a} 
  pve-kernel-2.6.32-14-pve{a} 
The following packages will be upgraded:
  apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common at base-files 
  bind9-host dnsutils fence-agents-pve file initscripts isc-dhcp-client isc-dhcp-common libapr1 
  libbind9-60 libc-bin libc6 libc6-i386 libcurl3-gnutls libdns69 libexpat1 libfreetype6 
  libgnutls26 libgssapi-krb5-2 libgssrpc4 libisc62 libisccc60 libisccfg62 libk5crypto3 
  libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-3 libkrb5support0 liblwres60 libmagic1 
  libnss3-1d libpng12-0 libpve-access-control libpve-common-perl libpve-storage-perl libssl0.9.8 
  libtasn1-3 libxml2 libxml2-utils locales openssh-client openssh-server openssl procps 
  proxmox-ve-2.6.32 pve-cluster pve-firmware pve-manager pve-qemu-kvm python python-minimal 
  qemu-server redhat-cluster-pve samba-common ssh sysv-rc sysvinit sysvinit-utils tzdata vncterm 
The following packages are RECOMMENDED but will NOT be installed:
  openssh-blacklist-extra samba-common-bin xml-core

I'm not going to to the full-upgrade as that would be insane to repeat.

So trying a part at a time, avoiding cluster packages:
Code:
s008  /etc # aptitude safe-upgrade proxmox-ve-2.6.32 pve-firmware pve-manager pve-qemu-kvm qemu-server 
Resolving dependencies...                
The following NEW packages will be installed:
  ceph-common{a} libio-multiplex-perl{a} libiscsi1{a} librados2{a} librbd1{a} 
  pve-kernel-2.6.32-14-pve{a} 
The following packages will be upgraded:
  proxmox-ve-2.6.32 pve-firmware pve-manager pve-qemu-kvm qemu-server 
5 packages upgraded, 6 newly installed, 0 to remove and 62 not upgraded.
Need to get 57.0 MB of archives. After unpacking 13.9 MB will be used.
Do you want to continue? [Y/n/?] 
Get:1 http://ftp.us.debian.org/debian/ squeeze/main libio-multiplex-perl all 1.10-1 [23.8 kB]
Get:2 http://download.proxmox.com/debian/ squeeze/pve librados2 amd64 0.48argonaut-1~bpo60+1 [1,152 kB]
Get:3 http://download.proxmox.com/debian/ squeeze/pve librbd1 amd64 0.48argonaut-1~bpo60+1 [155 kB]
...

Installing new version of config file /etc/apache2/sites-available/pve.conf ...
Restarting PVE Daemon: pvedaemonCan't locate PVE/Storage/Plugin.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 11.
Compilation failed in require at /usr/share/perl5/PVE/VZDump.pm line 32.
.
Restarting PVE Status Daemon: pvestatd.
Restarting web server: apache2 ... waiting .
Setting up proxmox-ve-2.6.32 (2.1-74) ...
installing proxmox release key: OK
                                         
Current status: 62 updates [-5].

that is an improvement. atleast most are upgraded.

next I'll upgrade all but redhat-cluster-pve ..

too bad that resulted in
Code:
Setting up pve-cluster (1.0-27) ...
Restarting pve cluster filesystem: pve-clusterfuse: failed to access mountpoint /etc/pve: Transport endpoint is not connected
[main] crit: fuse_mount error: Transport endpoint is not connected
[main] notice: exit proxmox configuration filesystem (-1)

..
Errors were encountered while processing:
 pve-cluster
 libpve-access-control
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up pve-cluster (1.0-27) ...
Restarting pve cluster filesystem: pve-clusterstart-stop-daemon: warning: failed to kill 1422: No such process
fuse: failed to access mountpoint /etc/pve: Transport endpoint is not connected
[main] crit: fuse_mount error: Transport endpoint is not connected
[main] notice: exit proxmox configuration filesystem (-1)
 (warning).
invoke-rc.d: initscript pve-cluster, action "restart" failed.
dpkg: error processing pve-cluster (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of libpve-access-control:
 libpve-access-control depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
dpkg: error processing libpve-access-control (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-cluster
 libpve-access-control
                                         
Current status: 1 update [-59].

I should have not tried to upgrade pve-cluster .
 

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!