This blog is about my musings and thoughts. I hope you find it useful, at most, and entertaining, at least.
I have a VPS using OpenVZ with RamNode and had no problems with it until one day apt stopped working. The message I was getting, “invoke-rc.d: initscript procps, action “start” failed.” ,lead me to suspect that procscps was doing something weird. After much headache and cursing, I found a bug where procscp returns 255 on OpenVZ.
Following the advice in that bug report I checked if this is the issue by
sudo sysctl -e -p -,
echo $? — If that returns 255 it might be this bug. I did the following:
mv /etc/sysctl.d/*to .bak
/etc/sysctl.confto a bak.
sudo dpkg --force-depends --purgeall the packages that apt was having issues with (
sudo dpkg --auditmay provide info on this). I had to purge twice.
sudo apt-get install -fand apt ran to completion and I was able to do updates and installs.
Hope this helps! This was a terribly frustrating problem for me.