[lxc-devel] Problem with apt-get upgrade with Ubuntu container on Fedora host.
Michael H. Warfield
mhw at WittsEnd.com
Thu Jun 19 14:19:05 UTC 2014
On Thu, 2014-06-19 at 10:15 -0400, Michael H. Warfield wrote:
> This feels like it's an app armour issue... Posting to the -devel since
> I don't think it's a user level problem.
> I run an Ubuntu container on a Fedora 20 host and it's "running" fine.
> The container was build on an Ubuntu "host" (really a container creating
> a sub-container) with "lxc-create ... -t ubuntu -- -r sid".
Oh, correction... That was mislabeled as sid. I double checked the
os-release and I had build "trusty" and this particular one had been
built using the download template, not using a subcontainer after all.
I've got too many development and test containers and I'm starting to
get them mixed up. My apologies.
> When I go to run "apt-get update ; apt-get upgrade" I get an error like
> this:
>
> root at Ubuntu-sid:~# apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
> libasn1-8-heimdal : Depends: libroken18-heimdal (>= 1.4.0+git20110226) but it is not installed
> libgssapi3-heimdal : Depends: libroken18-heimdal (>= 1.4.0+git20110226) but it is not installed
> libhcrypto4-heimdal : Depends: libroken18-heimdal (>= 1.4.0+git20110226) but it is not installed
> libheimntlm0-heimdal : Depends: libroken18-heimdal (>= 1.4.0+git20110226) but it is not installed
> libhx509-5-heimdal : Depends: libroken18-heimdal (>= 1.4.0+git20110226) but it is not installed
> libkrb5-26-heimdal : Depends: libroken18-heimdal (>= 1.6~git20131117) but it is not installed
> libwind0-heimdal : Depends: libroken18-heimdal (>= 1.4.0+git20110226) but it is not installed
> E: Unmet dependencies. Try using -f.
>
> Ok... So, I try that...
>
> root at Ubuntu-sid:~# apt-get -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
> libroken18-heimdal
> The following NEW packages will be installed:
> libroken18-heimdal
> 0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
> 88 not fully installed or removed.
> Need to get 0 B/40.0 kB of archives.
> After this operation, 162 kB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> dpkg: error processing archive /var/cache/apt/archives/libroken18-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb (--unpack):
> cannot get security labeling handle: No such file or directory
> Errors were encountered while processing:
> /var/cache/apt/archives/libroken18-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Ok... Here's where I think it's an app armour thing. That error
> "cannot get security labeling handle: No such file or directory" can not
> be good.
>
> Any ideas what we have broken in here or what should be done about it to
> make it work?
>
> Regards,
> Mike
--
Michael H. Warfield (AI4NB) | (770) 978-7061 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140619/dc3ca859/attachment-0001.sig>
More information about the lxc-devel
mailing list