Forum archive
apt / dpkg broken in tkl lxc container
I am using the lxc template version of the TKL LAMP
Somehow my apt/dpkg seems to be broken.
From inside the container I do an apt-get update and after some output it gives an error...
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://cdn.debian.net wheezy/main Translation-en
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
If I then run the command, it starts.... but..... It shutdowns the complete container.
root@tst01 ~# dpkg --configure -a
Setting up libc6:amd64 (2.13-38+deb7u1) ...
lxc-console: Input/output error - failed to read
So something is really broken here.... I can't imagine that the container breaks on this.
Any suggestions ?
Hi Jeremy... (already expected you would respond :)
what I did is using the standard lxc app and did the lxc-create with the lamp app
Then I tarred the whole container and brought it to my 'testing' server on RHEL 6 with lxc 0.75
Everything works ok there , expect when I started the apt-get upgrade.... when installing the updated libc6 it crashes on the post config stage...
I suspect that something is not handled correctly by lxc-init and it crashes the container, so i will try to build a newer lxc version and see how that goes.
On the TKL lxc app , everything still works... so that is good.