2012/3/8 Stéphane Graber <stgra...@ubuntu.com>:
> On 03/07/2012 04:20 AM, Miroslav Lednicky wrote:

>> Is it possible to do upgrade system inside LXC?

> It's "possible" but I wouldn't recommend it until 12.04.
>
> In my experience upgrading will at least require you to umount
> /lib/init/fstab and tty[1234] and console in /dev, otherwise udev,
> mountall and a few others will fail to upgrade.

In my case it was cups and some other packages (forgot which ones).
The workaround was to rename /usr/sbin/invoke-rc.d to something else
(or use dpkg-divert), copy /bin/true to /usr/sbin/invoke-rc.d, then
(depending on what state your machine is on) either run "apt-get -f
install", or "dpkg --configure -a", or re-run the upgrade process.
After that, restore the original invoke-rc.d (or remove the divert).

-- 
Fajar

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to