Comment 30 for bug 1269405

James Hunt (jamesodhunt) wrote :

Whilst we investigate this issue, you can still run apt-get / dpkg without triggering the bug if you do the following:

$ sudo su -
# mkdir /root/bin
# ln -s /bin/true /root/bin/telinit
# chmod 755 /root/bin/telinit
# export PATH=/root/bin:$PATH
# dpkg --configure -a

When dpkg runs it will use the fake telinit (which does nothing). There are more invasive ways of disabling 'telinit u' but -- until we fix this issue -- as long as you remember to 'export PATH=/root/bin:$PATH' before running apt-get / dpkg, this is the safest I believe.