i had the same error a few days ago after some updates the following worked for me: 1. start xterm 2. login as root (sudo gainroot) 3. apt-get advanced-power-monitor --reinstall 4. wait a few sec 5. ...profit!