vzctl: strange overbloated package dependencies!

Ilya Evseev

New Member
Jun 30, 2012
7
0
1
Hi, folks.
I've tried to install pve-kernel + minimal CLI toolset like described in http://www.howtoforge.com/installing-and-using-openvz-on-debian-wheezy-amd64-p3
Code:
echo deb http://download.proxmox.com/debian wheezy pve > /etc/apt/sources.list.d/proxmox-ve.list
wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -
apt-get update && apt-get dist-upgrade
apt-get install pve-firmware pve-kernel-2.6.32-20-pve vzctl vzquota vzprocps
The problem is that vzctl depends on TONS of packages:
Code:
# apt-get install --no-install-recommends vzctl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  attr clvm corosync-pve fontconfig fontconfig-config fuse libcairo2 libcgroup1
  libcommon-sense-perl libcorosync4-pve libdatrie1 libdbi1 libdevel-cycle-perl
  libdigest-hmac-perl libencode-locale-perl libevent-2.0-5 libfile-chdir-perl
  libfile-listing-perl libfontconfig1 libgssglue1 libhtml-parser-perl libhtml-tagset-perl
  libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl
  libhttp-negotiate-perl libio-socket-ssl-perl libio-stringy-perl libjson-perl
  liblinux-inotify2-perl liblwp-mediatypes-perl liblwp-protocol-https-perl libnet-http-perl
  libnet-ip-perl libnet-ssleay-perl libnfsidmap2 libnspr4 libnss3 libopenais3-pve
  libpango1.0-0 libpixman-1-0 libpng12-0 libpve-common-perl libpve-storage-perl libqb0 librrd4
  librrds-perl libstring-shellquote-perl libthai-data libthai0 libtimedate-perl libtirpc1
  liburi-perl libwww-perl libwww-robotrules-perl libxcb-render0 libxcb-shm0 libxft2
  libxml-parser-perl libxml2-utils libxrender1 libxslt1.1 nfs-common openais-pve pve-cluster
  redhat-cluster-pve rpcbind rrdcached sqlite3 ttf-dejavu-core xsltproc
...
0 upgraded, 73 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.1 MB of archives.
After this operation, 29.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? ^C

In comparison, vzctl 3.0.30 from default wheezy repo depends on nothing except iproute and vzquota.

Is it a bug or a feature?
 
The Proxmox VE distribution needs these packages.
 
Well, here is workaround. Do it BEFORE adding Proxmox repo to apt/sources.list:
Code:
apt-get update
apt-get install vzctl
apt-mark hold vzctl
This installs old good plain vzctl 3.0 from standard Debian repo and prevents his overwriting by vzctl from PVE.

Dedicated to all folks who wants to build his own OpenVZ farm on Debian Wheezy host without blackjack and hookers GUI and clusters.:)
 

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!