[Lxc-users] How do I remove udev from upgrade

Papp Tamás tompos at martos.bme.hu
Sun Oct 31 12:57:15 UTC 2010


Mark C. Hawkins wrote, On 2010. 10. 29. 23:45:
> I've got a Lucid (10.04) guest running in a production environment 
> that I don't really want to rebuild
>
> After running apt-get upgrade I get errors from the udev package.
>
> From reading other posts I see that udev is not used and that holding 
> the package back prevents the problem when doing an upgrade, but does 
> anyone have a solution to get rid of the error message if the upgrade 
> was already attempted?
>
> Removing udev doesn't work as there are too many packages that depend 
> on udev.  is there anyway to remove udev without breaking the other 
> packages or some way to remove the error?

There is a section in the postinstall script of the package, which 
recreates devices by mknod.
Just remove it, or include 'return 0' so the script can exist by the 
return code 0.

Bye,

tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20101031/10a5c63c/attachment.html>


More information about the lxc-users mailing list