About Me!

This blog is about my musings and thoughts. I hope you find it useful, at most, and entertaining, at least.

Résumé [PDF]

Other Pages



Presence Elsewhere




Problems with Apt and procscp

Date: 2013-12-12
Tags: linux apt openvz procscp

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 -, ^D, then echo $? — If that returns 255 it might be this bug. I did the following:

  1. mv /etc/sysctl.d/* to .bak
  2. /etc/sysctl.conf to a bak.
  3. sudo dpkg --force-depends --purge all the packages that apt was having issues with (sudo dpkg --audit may provide info on this). I had to purge twice.
  4. sudo apt-get install -f and apt ran to completion and I was able to do updates and installs.

Hope this helps! This was a terribly frustrating problem for me.