Possible bug running apt-get update in PVE 2 beta

schirpich

Member
Jan 26, 2011
9
0
21
Just saw the new beta on the website today and I have to say I like what I see! Great work so far.

It being a beta it's bound to have bugs so I'd like to help contribute as much as I can. And I think I may have stumbled onto my first strange problem.

I just downloaded and installed 2.0-52943683-14 tonight on a desktop with the cpu virt features enabled. Ran the install via a USB stick and everything went off without a hitch! Install was quick and didn't see anything problematic there.

After install and playing around in the options for a minute I decided to perform an update in console.

apt-get update && apt-get upgrade

It seems as though the upgrade wiped out the /etc/pve directory contents. Specifically, where the self generated SSL certs are stored.

Here's the output of my apt logs...

Code:
Start-Date: 2011-10-03  20:00:39
Commandline: apt-get upgrade
Upgrade: bind9-host:amd64 (9.7.3.dfsg-1~squeeze2, 9.7.3.dfsg-1~squeeze3), dnsutils:amd64 (9.7.3.dfsg-1~squeeze2, 9.7.3.dfsg-1~squeeze3), perl:amd64 (5.10.1-17squeeze1, 5.10.1-17squeeze2), libdns69:amd64 (9.7.3.dfsg-1~squeeze2, 9.7.3.dfsg-1~squeeze3), perl-base:amd64 (5.10.1-17squeeze1, 5.10.1-17squeeze2), perl-modules:amd64 (5.10.1-17squeeze1, 5.10.1-17squeeze2), apache2-mpm-prefork:amd64 (2.2.16-6+squeeze1, 2.2.16-6+squeeze3), libfreetype6:amd64 (2.4.2-2.1, 2.4.2-2.1+squeeze1), libisccc60:amd64 (9.7.3.dfsg-1~squeeze2, 9.7.3.dfsg-1~squeeze3), apache2-utils:amd64 (2.2.16-6+squeeze1, 2.2.16-6+squeeze3), apache2:amd64 (2.2.16-6+squeeze1, 2.2.16-6+squeeze3), samba-common:amd64 (3.5.6~dfsg-3squeeze4, 3.5.6~dfsg-3squeeze5), apache2.2-common:amd64 (2.2.16-6+squeeze1, 2.2.16-6+squeeze3), liblwres60:amd64 (9.7.3.dfsg-1~squeeze2, 9.7.3.dfsg-1~squeeze3), perl-suid:amd64 (5.10.1-17squeeze1, 5.10.1-17squeeze2), pve-cluster:amd64 (1.0-7, 1.0-8), apache2.2-bin:amd64 (2.2.16-6+squeeze1, 2.2.16-6+squeeze3), libbind9-60:amd64 (9.7.3.dfsg-1~squeeze2, 9.7.3.dfsg-1~squeeze3), isc-dhcp-client:amd64 (4.1.1-P1-15+squeeze2, 4.1.1-P1-15+squeeze3), libpng12-0:amd64 (1.2.44-1, 1.2.44-1+squeeze1), libperl5.10:amd64 (5.10.1-17squeeze1, 5.10.1-17squeeze2), libisccfg62:amd64 (9.7.3.dfsg-1~squeeze2, 9.7.3.dfsg-1~squeeze3), libssl0.9.8:amd64 (0.9.8o-4squeeze1, 0.9.8o-4squeeze2), openssl:amd64 (0.9.8o-4squeeze1, 0.9.8o-4squeeze2), libcurl3-gnutls:amd64 (7.21.0-1, 7.21.0-2), libisc62:amd64 (9.7.3.dfsg-1~squeeze2, 9.7.3.dfsg-1~squeeze3), isc-dhcp-common:amd64 (4.1.1-P1-15+squeeze2, 4.1.1-P1-15+squeeze3), libnss3-1d:amd64 (3.12.8-1+squeeze1, 3.12.8-1+squeeze3), ca-certificates:amd64 (20090814+nmu2, 20090814+nmu3)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2011-10-03  20:00:59
root@pve:/var/log/apt# cat term.log

Log started: 2011-10-03  20:00:39
(Reading database ... 27272 files and directories currently installed.)
Preparing to replace perl-modules 5.10.1-17squeeze1 (using .../perl-modules_5.10.1-17squeeze2_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace perl-suid 5.10.1-17squeeze1 (using .../perl-suid_5.10.1-17squeeze2_amd64.deb) ...
Unpacking replacement perl-suid ...
Preparing to replace perl 5.10.1-17squeeze1 (using .../perl_5.10.1-17squeeze2_amd64.deb) ...
Unpacking replacement perl ...
Preparing to replace libperl5.10 5.10.1-17squeeze1 (using .../libperl5.10_5.10.1-17squeeze2_amd64.deb) ...
Unpacking replacement libperl5.10 ...
Preparing to replace perl-base 5.10.1-17squeeze1 (using .../perl-base_5.10.1-17squeeze2_amd64.deb) ...
Unpacking replacement perl-base ...
Processing triggers for man-db ...
Setting up perl-base (5.10.1-17squeeze2) ...
(Reading database ... 27272 files and directories currently installed.)
Preparing to replace isc-dhcp-client 4.1.1-P1-15+squeeze2 (using .../isc-dhcp-client_4.1.1-P1-15+squeeze3_amd64.deb) ...
Unpacking replacement isc-dhcp-client ...
Preparing to replace isc-dhcp-common 4.1.1-P1-15+squeeze2 (using .../isc-dhcp-common_4.1.1-P1-15+squeeze3_amd64.deb) ...
Unpacking replacement isc-dhcp-common ...
Preparing to replace libssl0.9.8 0.9.8o-4squeeze1 (using .../libssl0.9.8_0.9.8o-4squeeze2_amd64.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace bind9-host 1:9.7.3.dfsg-1~squeeze2 (using .../bind9-host_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement bind9-host ...
Preparing to replace dnsutils 1:9.7.3.dfsg-1~squeeze2 (using .../dnsutils_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement dnsutils ...
Preparing to replace libisc62 1:9.7.3.dfsg-1~squeeze2 (using .../libisc62_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libisc62 ...
Preparing to replace libdns69 1:9.7.3.dfsg-1~squeeze2 (using .../libdns69_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libdns69 ...
Preparing to replace libisccc60 1:9.7.3.dfsg-1~squeeze2 (using .../libisccc60_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libisccc60 ...
Preparing to replace libisccfg62 1:9.7.3.dfsg-1~squeeze2 (using .../libisccfg62_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libisccfg62 ...
Preparing to replace liblwres60 1:9.7.3.dfsg-1~squeeze2 (using .../liblwres60_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement liblwres60 ...
Preparing to replace libbind9-60 1:9.7.3.dfsg-1~squeeze2 (using .../libbind9-60_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libbind9-60 ...
Preparing to replace apache2 2.2.16-6+squeeze1 (using .../apache2_2.2.16-6+squeeze3_amd64.deb) ...
Unpacking replacement apache2 ...
Preparing to replace apache2-mpm-prefork 2.2.16-6+squeeze1 (using .../apache2-mpm-prefork_2.2.16-6+squeeze3_amd64.deb) ...
Stopping web server: apache2 ... waiting .
Unpacking replacement apache2-mpm-prefork ...
Preparing to replace apache2.2-common 2.2.16-6+squeeze1 (using .../apache2.2-common_2.2.16-6+squeeze3_amd64.deb) ...
Unpacking replacement apache2.2-common ...
Preparing to replace apache2.2-bin 2.2.16-6+squeeze1 (using .../apache2.2-bin_2.2.16-6+squeeze3_amd64.deb) ...
Unpacking replacement apache2.2-bin ...
Preparing to replace apache2-utils 2.2.16-6+squeeze1 (using .../apache2-utils_2.2.16-6+squeeze3_amd64.deb) ...
Unpacking replacement apache2-utils ...
Preparing to replace openssl 0.9.8o-4squeeze1 (using .../openssl_0.9.8o-4squeeze2_amd64.deb) ...
Unpacking replacement openssl ...
Preparing to replace ca-certificates 20090814+nmu2 (using .../ca-certificates_20090814+nmu3_all.deb) ...
Unpacking replacement ca-certificates ...
Preparing to replace libcurl3-gnutls 7.21.0-1 (using .../libcurl3-gnutls_7.21.0-2_amd64.deb) ...
Unpacking replacement libcurl3-gnutls ...
Preparing to replace libfreetype6 2.4.2-2.1 (using .../libfreetype6_2.4.2-2.1+squeeze1_amd64.deb) ...
Unpacking replacement libfreetype6 ...
Preparing to replace libnss3-1d 3.12.8-1+squeeze1 (using .../libnss3-1d_3.12.8-1+squeeze3_amd64.deb) ...
Unpacking replacement libnss3-1d ...
Preparing to replace libpng12-0 1.2.44-1 (using .../libpng12-0_1.2.44-1+squeeze1_amd64.deb) ...
Unpacking replacement libpng12-0 ...
Preparing to replace pve-cluster 1.0-7 (using .../pve-cluster_1.0-8_amd64.deb) ...
Stopping pve cluster filesystem: pve-cluster.
Unpacking replacement pve-cluster ...
Preparing to replace samba-common 2:3.5.6~dfsg-3squeeze4 (using .../samba-common_2%3a3.5.6~dfsg-3squeeze5_all.deb) ...
Unpacking replacement samba-common ...
Processing triggers for man-db ...
Processing triggers for pve-manager ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Syntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
 failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing pve-manager (--unpack):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 pve-manager
Log ended: 2011-10-03  20:00:59

I was going to submit this via bugzilla, but to be honest I've not used it before and I wasn't exactly sure where this should be filed under. So, apologies for dropping this into the forums. But I wanted to at least pass it along.

Also just for kicks, I wanted to see what would happen if I just disabled the SSL certs in the virtual host files. Apache will start up again, but logging into the web interface seems to fail. So it looks like there is some other device that still requires SSL even after it's been disabled in Apache. Which is probably a good thing anyways :)

Let me know if you need any other info and I'll be glad to find it. I'm reinstalling right now to try and retrace my steps to make sure I can replicate the problem and that it just wasn't something I screwed up :)
 
yep, I was able to replicate it. Here's the full output of my console if you have the patience to read through what I did from a clean install, hehe.

Code:
Linux pve 2.6.32-6-pve #1 SMP Mon Sep 26 10:35:47 CEST 2011 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Last login: Mon Oct  3 20:32:21 2011

root@pve:~# pveversion
pve-manager/2.0/52943683

root@pve:~# apt-get update

Get:1 http://ftp.us.debian.org squeeze Release.gpg [1,672 B]
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en_US
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US
Get:2 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US
Hit http://ftp.us.debian.org squeeze Release
Ign http://ftp.us.debian.org squeeze Release
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Get:3 http://security.debian.org squeeze/updates Release [38.4 kB]
Get:4 http://download.proxmox.com squeeze Release.gpg [198 B]
Ign http://download.proxmox.com/debian/ squeeze/pve Translation-en
Ign http://download.proxmox.com/debian/ squeeze/pve Translation-en_US
Ign http://ftp.us.debian.org squeeze/main amd64 Packages/DiffIndex
Get:5 http://ftp.us.debian.org squeeze/contrib amd64 Packages [53.0 kB]
Get:6 http://download.proxmox.com squeeze Release [727 B]
Get:7 http://security.debian.org squeeze/updates/main amd64 Packages [154 kB]
Ign http://download.proxmox.com squeeze/pve amd64 Packages
Get:8 http://download.proxmox.com squeeze/pve amd64 Packages [8,639 B]
Hit http://ftp.us.debian.org squeeze/main amd64 Packages
Get:9 http://security.debian.org squeeze/updates/contrib amd64 Packages [670 B]

Fetched 258 kB in 1s (199 kB/s)

Reading package lists... Done

W: GPG error: http://ftp.us.debian.org squeeze Release: The following signatures were invalid: BADSIG AED4B06F473041FA Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>

root@pve:~#

Continued...
 
Last edited:
Code:
root@pve:~#apt-get upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done

The following packages will be upgraded:
  apache2 apache2-mpm-prefork apache2-utils apache2.2-bin  apache2.2-common bind9-host ca-certificates dnsutils isc-dhcp-client  isc-dhcp-common libbind9-60 libcurl3-gnutls libdns69 libfreetype6  libisc62 libisccc60 libisccfg62 liblwres60 libnss3-1d libperl5.10  libpng12-0 libssl0.9.8 openssl
  perl perl-base perl-modules perl-suid pve-cluster samba-common
29 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.5 MB of archives.
After this operation, 135 kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://security.debian.org/ squeeze/updates/main perl-modules all 5.10.1-17squeeze2 [3,490 kB]
Get:2 http://download.proxmox.com/debian/ squeeze/pve pve-cluster amd64 1.0-8 [165 kB]
Get:3 http://security.debian.org/ squeeze/updates/main perl-suid amd64 5.10.1-17squeeze2 [35.1 kB]
Get:4 http://security.debian.org/ squeeze/updates/main perl amd64 5.10.1-17squeeze2 [4,440 kB]
Get:5 http://security.debian.org/ squeeze/updates/main libperl5.10 amd64 5.10.1-17squeeze2 [1,154 B]
Get:6 http://security.debian.org/ squeeze/updates/main perl-base amd64 5.10.1-17squeeze2 [1,058 kB]
Get:7 http://security.debian.org/ squeeze/updates/main isc-dhcp-client amd64 4.1.1-P1-15+squeeze3 [281 kB]
Get:8 http://security.debian.org/ squeeze/updates/main isc-dhcp-common amd64 4.1.1-P1-15+squeeze3 [339 kB]
Get:9 http://security.debian.org/ squeeze/updates/main libssl0.9.8 amd64 0.9.8o-4squeeze2 [997 kB]
Get:10 http://security.debian.org/ squeeze/updates/main bind9-host amd64 1:9.7.3.dfsg-1~squeeze3 [71.0 kB]
Get:11 http://security.debian.org/ squeeze/updates/main dnsutils amd64 1:9.7.3.dfsg-1~squeeze3 [164 kB]
Get:12 http://security.debian.org/ squeeze/updates/main libisc62 amd64 1:9.7.3.dfsg-1~squeeze3 [175 kB]
Get:13 http://security.debian.org/ squeeze/updates/main libdns69 amd64 1:9.7.3.dfsg-1~squeeze3 [709 kB]
Get:14 http://security.debian.org/ squeeze/updates/main libisccc60 amd64 1:9.7.3.dfsg-1~squeeze3 [33.1 kB]
Get:15 http://security.debian.org/ squeeze/updates/main libisccfg62 amd64 1:9.7.3.dfsg-1~squeeze3 [57.5 kB]
Get:16 http://security.debian.org/ squeeze/updates/main liblwres60 amd64 1:9.7.3.dfsg-1~squeeze3 [52.2 kB]
Get:17 http://security.debian.org/ squeeze/updates/main libbind9-60 amd64 1:9.7.3.dfsg-1~squeeze3 [38.4 kB]
Get:18 http://security.debian.org/ squeeze/updates/main apache2 amd64 2.2.16-6+squeeze3 [1,396 B]
Get:19 http://security.debian.org/ squeeze/updates/main apache2-mpm-prefork amd64 2.2.16-6+squeeze3 [2,300 B]
Get:20 http://security.debian.org/ squeeze/updates/main apache2.2-common amd64 2.2.16-6+squeeze3 [307 kB]
Get:21 http://security.debian.org/ squeeze/updates/main apache2.2-bin amd64 2.2.16-6+squeeze3 [1,438 kB]
Get:22 http://security.debian.org/ squeeze/updates/main apache2-utils amd64 2.2.16-6+squeeze3 [164 kB]
Get:23 http://security.debian.org/ squeeze/updates/main openssl amd64 0.9.8o-4squeeze2 [1,044 kB]
Get:24 http://security.debian.org/ squeeze/updates/main ca-certificates all 20090814+nmu3 [152 kB]
Get:25 http://security.debian.org/ squeeze/updates/main libcurl3-gnutls amd64 7.21.0-2 [266 kB]
Get:26 http://security.debian.org/ squeeze/updates/main libfreetype6 amd64 2.4.2-2.1+squeeze1 [376 kB]
Get:27 http://security.debian.org/ squeeze/updates/main libnss3-1d amd64 3.12.8-1+squeeze3 [1,113 kB]
Get:28 http://security.debian.org/ squeeze/updates/main libpng12-0 amd64 1.2.44-1+squeeze1 [180 kB]
Get:29 http://security.debian.org/ squeeze/updates/main samba-common all 2:3.5.6~dfsg-3squeeze5 [388 kB]
Fetched 17.5 MB in 7s (2,269 kB/s)

Reading changelogs... Done

Preconfiguring packages ...

(Reading database ... 27272 files and directories currently installed.)
Preparing to replace perl-modules 5.10.1-17squeeze1 (using .../perl-modules_5.10.1-17squeeze2_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace perl-suid 5.10.1-17squeeze1 (using .../perl-suid_5.10.1-17squeeze2_amd64.deb) ...
Unpacking replacement perl-suid ...
Preparing to replace perl 5.10.1-17squeeze1 (using .../perl_5.10.1-17squeeze2_amd64.deb) ...
Unpacking replacement perl ...
Preparing to replace libperl5.10 5.10.1-17squeeze1 (using .../libperl5.10_5.10.1-17squeeze2_amd64.deb) ...
Unpacking replacement libperl5.10 ...
Preparing to replace perl-base 5.10.1-17squeeze1 (using .../perl-base_5.10.1-17squeeze2_amd64.deb) ...
Unpacking replacement perl-base ...
Processing triggers for man-db ...
Setting up perl-base (5.10.1-17squeeze2) ...
(Reading database ... 27272 files and directories currently installed.)
Preparing to replace isc-dhcp-client 4.1.1-P1-15+squeeze2 (using .../isc-dhcp-client_4.1.1-P1-15+squeeze3_amd64.deb) ...
Unpacking replacement isc-dhcp-client ...
Preparing to replace isc-dhcp-common 4.1.1-P1-15+squeeze2 (using .../isc-dhcp-common_4.1.1-P1-15+squeeze3_amd64.deb) ...
Unpacking replacement isc-dhcp-common ...
Preparing to replace libssl0.9.8 0.9.8o-4squeeze1 (using .../libssl0.9.8_0.9.8o-4squeeze2_amd64.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace bind9-host 1:9.7.3.dfsg-1~squeeze2 (using .../bind9-host_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement bind9-host ...
Preparing to replace dnsutils 1:9.7.3.dfsg-1~squeeze2 (using .../dnsutils_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement dnsutils ...
Preparing to replace libisc62 1:9.7.3.dfsg-1~squeeze2 (using .../libisc62_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libisc62 ...
Preparing to replace libdns69 1:9.7.3.dfsg-1~squeeze2 (using .../libdns69_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libdns69 ...
Preparing to replace libisccc60 1:9.7.3.dfsg-1~squeeze2 (using .../libisccc60_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libisccc60 ...
Preparing to replace libisccfg62 1:9.7.3.dfsg-1~squeeze2 (using .../libisccfg62_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libisccfg62 ...
Preparing to replace liblwres60 1:9.7.3.dfsg-1~squeeze2 (using .../liblwres60_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement liblwres60 ...
Preparing to replace libbind9-60 1:9.7.3.dfsg-1~squeeze2 (using .../libbind9-60_1%3a9.7.3.dfsg-1~squeeze3_amd64.deb) ...
Unpacking replacement libbind9-60 ...
Preparing to replace apache2 2.2.16-6+squeeze1 (using .../apache2_2.2.16-6+squeeze3_amd64.deb) ...
Unpacking replacement apache2 ...
Preparing to replace apache2-mpm-prefork 2.2.16-6+squeeze1 (using .../apache2-mpm-prefork_2.2.16-6+squeeze3_amd64.deb) ...
Stopping web server: apache2 ... waiting .
Unpacking replacement apache2-mpm-prefork ...
Preparing to replace apache2.2-common 2.2.16-6+squeeze1 (using .../apache2.2-common_2.2.16-6+squeeze3_amd64.deb) ...
Unpacking replacement apache2.2-common ...
Preparing to replace apache2.2-bin 2.2.16-6+squeeze1 (using .../apache2.2-bin_2.2.16-6+squeeze3_amd64.deb) ...
Unpacking replacement apache2.2-bin ...
Preparing to replace apache2-utils 2.2.16-6+squeeze1 (using .../apache2-utils_2.2.16-6+squeeze3_amd64.deb) ...
Unpacking replacement apache2-utils ...
Preparing to replace openssl 0.9.8o-4squeeze1 (using .../openssl_0.9.8o-4squeeze2_amd64.deb) ...
Unpacking replacement openssl ...
Preparing to replace ca-certificates 20090814+nmu2 (using .../ca-certificates_20090814+nmu3_all.deb) ...
Unpacking replacement ca-certificates ...
Preparing to replace libcurl3-gnutls 7.21.0-1 (using .../libcurl3-gnutls_7.21.0-2_amd64.deb) ...
Unpacking replacement libcurl3-gnutls ...
Preparing to replace libfreetype6 2.4.2-2.1 (using .../libfreetype6_2.4.2-2.1+squeeze1_amd64.deb) ...
Unpacking replacement libfreetype6 ...
Preparing to replace libnss3-1d 3.12.8-1+squeeze1 (using .../libnss3-1d_3.12.8-1+squeeze3_amd64.deb) ...
Unpacking replacement libnss3-1d ...
Preparing to replace libpng12-0 1.2.44-1 (using .../libpng12-0_1.2.44-1+squeeze1_amd64.deb) ...
Unpacking replacement libpng12-0 ...
Preparing to replace pve-cluster 1.0-7 (using .../pve-cluster_1.0-8_amd64.deb) ...
Stopping pve cluster filesystem: pve-cluster.
Unpacking replacement pve-cluster ...
Preparing to replace samba-common 2:3.5.6~dfsg-3squeeze4 (using .../samba-common_2%3a3.5.6~dfsg-3squeeze5_all.deb) ...
Unpacking replacement samba-common ...
Processing triggers for man-db ...
Processing triggers for pve-manager ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Syntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
 failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing pve-manager (--unpack):
 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)

Another thing I should mention is that the apt-get update has a BADSIG error for what it's worth.

Code:
W: GPG error: http://ftp.us.debian.org squeeze Release: The  following  signatures were invalid: BADSIG AED4B06F473041FA Debian  Archive  Automatic Signing Key (6.0/squeeze)  <ftpmaster@debian.org>
 
Last edited:
Just updated the repository. Please can you test again? You will still get an apache error, but you can ignore that for now and everything should work.
 
Yep, just like you said. Got the apache ssl error, however apache started up just fine. Glad you found it!
 

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!