[lxc-devel] Problem with apt-get upgrade with Ubuntu container on Fedora host.

Stéphane Graber stgraber at ubuntu.com
Thu Jun 19 14:46:16 UTC 2014


On Thu, Jun 19, 2014 at 10:15:05AM -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".

Hmm, sid isn't a valid Ubuntu release name but a Debian one. Since both
Ubuntu and Debian use debootstrap, this may actually work, but the
result would be a very confusing mix of Debian and Ubuntu.

Can you retry with say: lxc-create -t ubuntu -n blah -- -r utopic

> 
> 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!
> 



> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140619/1142c4bf/attachment.sig>


More information about the lxc-devel mailing list