VE 2.0 on debian squeeze

christian.a

New Member
Dec 14, 2011
10
0
1
Hi!

I am trying installing a KVM with webgui on my new webserver (at hetzner). Last time (2 hours ago) it worked but there were network troubles so I had to reinstall the server.

1.) Debian 6 squeeze minimal
2.) http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Squeeze (until
Code:
[COLOR=#000000][FONT=monospace]aptitude install proxmox-ve-2.6.32[/FONT][/COLOR]
)

Code:
[COLOR=#000000][FONT=monospace]aptitude install proxmox-ve-2.6.32[/FONT][/COLOR]
made the following error

But the following error occurred:

Code:
Unpacking vzctl (from .../vzctl_3.0.29-3pve7_amd64.deb) ...
unable to backup existing configuration
dpkg: error processing /var/cache/apt/archives/vzctl_3.0.29-3pve7_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 /var/cache/apt/archives/vzctl_3.0.29-3pve7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of proxmox-ve-2.6.32:
 proxmox-ve-2.6.32 depends on vzctl (>= 3.0.29); however:
  Package vzctl is not installed.
dpkg: error processing proxmox-ve-2.6.32 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 proxmox-ve-2.6.32

Any ideas?

Thx!

Chris
 
Last edited:
You'll first need to figure out why the vzctl package is not installing properly
Code:
dpkg: error processing /var/cache/apt/archives/vzctl_3.0.29-3pve7_amd64.deb
Try
Code:
apt-get purge proxmox-ve-2.6.32 vzctl
and then
Code:
rm/var/cache/apt/archives/vzctl_3.0.29-3pve7_amd64.deb
apt-get install vzctl
See what happens then you rerun
Code:
[COLOR=#000000][FONT=monospace]aptitude install proxmox-ve-2.6.32[/FONT][/COLOR]

So people can better help, you would probably benefit from also pasting the results of
Code:
uname -a
and
Code:
cat /etc/apt/sources.list
 
There seems to be a stale vzctl backup from a previous installation. Please try to remove that with:

# mv /etc/vz/conf.org /root/old-vz-conf.org

Then try again.

I assume there are no old containers on that system? If so you can safely remove /root/old-vz-conf.org
 
hi,

thanks!

uname -a

Code:
Linux Debian-60-squeeze-64-minimal 2.6.32-6-pve #1 SMP Tue Dec 6 11:06:22 CET 2011 x86_64 GNU/Linux

cat /etc/apt/sources.list


Code:
#######################################################################################
# Hetzner APT-Mirror


deb     [URL]http://mirror.hetzner.de/debian/packages[/URL] squeeze main contrib non-free
deb     [URL]http://mirror.hetzner.de/debian/security[/URL] squeeze/updates main contrib non-free






#######################################################################################
# Backupmirror
#


deb     [URL]http://ftp.uni-bayreuth.de/linux/Debian/debian/[/URL]  squeeze  main non-free contrib
deb-src [URL]http://ftp.uni-bayreuth.de/linux/Debian/debian/[/URL]  squeeze  main non-free contrib


deb     [URL]http://security.debian.org/[/URL]  squeeze/updates  main contrib non-free
deb-src [URL]http://security.debian.org/[/URL]  squeeze/updates  main contrib non-free


## backports
deb     [URL]http://backports.debian.org/debian-backports[/URL] squeeze-backports main


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

After rerunning the vzctl and the proxmox-ve anything seems fine.

Will try the rest and come back to tell you what happens!

THX!