Error Upgrading to 2.0

vzfanatic

Active Member
Jul 22, 2008
67
0
26
I'm getting errors trying to upgrade from 1.9 to 2.0;
E: I wasn't able to locate file for the apache2.2-bin package. This might mean you need to manually fix this package.
E: I wasn't able to locate file for the apache2.2-bin package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download

Here is my sources.list;
deb http://ftp.se.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.se.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
deb http://http.us.debian.org/debian/ squeeze main squeeze-updates

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pve

I am also having problems with disk space, trying to add more space to my LVM, so here is my df -h;
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/pve-root 23G 16G 5.6G 74% /
tmpfs 7.9G 0 7.9G 0% /lib/init/rw
udev 7.9G 212K 7.9G 1% /dev
tmpfs 7.9G 0 7.9G 0% /dev/shm
/dev/mapper/pve-data 37G 31G 6.3G 83% /var/lib/vz
/dev/sda1 504M 96M 383M 20% /boot

my fdisk -l;
Disk /dev/sda: 72.0 GB, 71999422464 bytes
255 heads, 63 sectors/track, 8753 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 * 1 66 524288 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 66 8753 69784152 8e Linux LVM

Disk /dev/sdb: 1498.7 GB, 1498675150848 bytes
255 heads, 63 sectors/track, 182203 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/dm-0: 24.4 GB, 24427626496 bytes
255 heads, 63 sectors/track, 2969 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 8992 MB, 8992587776 bytes
255 heads, 63 sectors/track, 1093 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 40.2 GB, 40189820928 bytes
255 heads, 63 sectors/track, 4886 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

My vgdisplay;
Couldn't find device with uuid lRd4v5-xH0U-k5WC-abiB-PTpE-YQ7Y-0zycTD.
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 17
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 3
Act PV 2
VG Size 2.79 TiB
PE Size 4.00 MiB
Total PE 731658
Alloc PE / Size 17550 / 68.55 GiB
Free PE / Size 714108 / 2.72 TiB
VG UUID 86inrZ-kvud-NaIB-DNtx-jSC9-bBQY-0jzoRQ

my pveca;
md5sum: /etc/pve/pve-ssl.key: No such file or directory
Undefined subroutine &PVE::Cluster::clusterinfo called at /usr/bin/pveca line 13.

my upgrade log;
http://pastebin.com/Dq2t9YQD

I'd appreciate any assistance in correcting these things.
 
First, if you need to add logs do it here (if the logs are big, use zip) no pastebin or similar as these logs will be lost soon.

Looks like you try to upgrade a custom installation. Provide details about your custom installation.
(the wiki tells that the script is for default ISO installs only)
 
I don't believe I have a custom installation, or, I did so unknowingly. My apologies for the pastebin.

I did the initial install from a 1.8 ISO, then upgraded to 1.9, now I'm trying to upgrade to 2.0 and as you can see I've quite a lot of problems.

I've gotten a bit closer now, the latest error is:

# aptitude safe-upgrade
Resolving dependencies...
The following NEW packages will be installed:
libclass-container-perl{a} libclass-data-inheritable-perl{a}
libdevel-stacktrace-perl{a} libexception-class-perl{a}
libparams-validate-perl{a} libselinux1-dev{a} libsepol1-dev{a}
The following packages will be upgraded:
apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
clvm libdevmapper-dev liblvm2app2.2 libpve-access-control
libpve-storage-perl libsmbclient libssl0.9.8 libwbclient0 lvm2 openssl
pve-headers-2.6.32-10-pve pve-headers-2.6.32-11-pve
pve-kernel-2.6.32-10-pve pve-manager{b} qemu-server samba-common
samba-common-bin vzctl
The following partially installed packages will be configured:
dmsetup fence-agents-pve libapache-session-wrapper-perl
libdevmapper1.02.1 pve-cluster redhat-cluster-pve redhat-cluster-pve-dev
23 packages upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 6025 kB of archives. After unpacking 5075 kB will be used.
The following packages have unmet dependencies:
pve-manager: Conflicts: vzdump but 1.2.6-1 is installed.
E: I wasn't able to locate file for the libapache-authcookie-perl package. This
might mean you need to manually fix this package.
The following actions will resolve these dependencies:

Remove the following packages:
1) vzdump

Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
libclass-container-perl{a} libclass-data-inheritable-perl{a} libdevel-stacktrace-perl{a}
libexception-class-perl{a} libparams-validate-perl{a} libselinux1-dev{a} libsepol1-dev{a}
The following packages will be REMOVED:
vzdump{a}
The following packages will be upgraded:
apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common clvm
libdevmapper-dev liblvm2app2.2 libpve-access-control libpve-storage-perl libsmbclient
libssl0.9.8 libwbclient0 lvm2 openssl pve-headers-2.6.32-10-pve pve-headers-2.6.32-11-pve
pve-kernel-2.6.32-10-pve pve-manager qemu-server samba-common samba-common-bin vzctl
The following partially installed packages will be configured:
dmsetup fence-agents-pve libapache-session-wrapper-perl libdevmapper1.02.1 pve-cluster
redhat-cluster-pve redhat-cluster-pve-dev
23 packages upgraded, 7 newly installed, 1 to remove and 0 not upgraded.
Need to get 6025 kB of archives. After unpacking 4977 kB will be used.
Do you want to continue? [Y/n/?] y
E: I wasn't able to locate file for the libapache-authcookie-perl package. This might mean you need to manually fix this package.
E: I wasn't able to locate file for the libapache-authcookie-perl package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download

Thank you for your assistance.
 
at least your sources.list is not original.

do not run aptitude safe-upgrade, run the very latest upgrade script.
 
I used the sources enumerated on the 2.0 upgrade page. Could you please show me what they should be? I'll replace my sources and try again straight away.
 
This is the contents of my sources.

deb http://ftp.uk.debian.org/debian squeeze main contrib

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian squeeze pve

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


And when I try to upgrade:

# apt-get -f dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package libapache-authcookie-perl needs to be reinstalled, but I can't find an archive for it
 
Last edited:

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!