Bash fails to unpack

jordi

New Member
May 9, 2011
2
0
1
Hi!

For some reason, DAB chokes on bash's binary preinst script, and fails to unpack, using a plain Debian 6.0 template from download.proxmox.com:
Code:
server:~/dab-pve-appliances_2011-03-25/debian-6.0-standard-64# make
allocated VE 90000  
dab init
download: http://ftp.de.debian.org/debian//dists/squeeze/Release

[...]

install: mawk
install: debconf
unpack: util-linux  
unpack: libcomerr2  
unpack: libpam-runtime
unpack: bsdutils
unpack: hostname
unpack: diffutils   
unpack: grep
unpack: libtext-iconv-perl
unpack: xz-utils
unpack: sysv-rc
unpack: bash
command 'vzctl exec2 90000 defenv dpkg --force-depends --unpack /bash_4.1-3_amd64.deb' failed with exit code 3
command 'vzctl exec2 90000 defenv dpkg --force-depends --unpack /bash_4.1-3_amd64.deb' failed with exit code 3
make: *** [all] Error 3
I managed to "fix this" creating a new bash package using dpkg-deb --build and replacing the original one from the DAB cache:
Code:
dpkg --control /root/cache/bash_4.1-3_amd64.deb /tmp/bash/DEBIAN
cd /tmp
dpkg -x /root/cache/bash_4.1.-3_amd64.deb bash
rm bash/DEBIAN/preinst
dpkg-deb --build bash
mv bash.deb /root/cache/bash_4.1-3_amd64.deb

I am astonished, though, that nobody else has reported this problem.

How come nobody else is seeing this?

Thanks in advance,
Jordi
 

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!