Checked for "is another process using it?":
Code:
ps aux | egrep -i 'apt|ftp|kpack|dpkg' | less
I killed them all anyway, just to be sure:
Code:
killall -9 apt* kpackage dpkg
If you ever use synaptic (it's removed from my system), you should make that:
Code:
killall -9 apt* kpackage dpkg synaptic
Having confirmed that there were no "rogue" pkg. managers running, I checked, removed, & rechecked the lock file:
Code:
ls -l /var/lib/dpkg/lock
rm -f /var/lib/dpkg/lock
ls -l /var/lib/dpkg/lock
Code:
ps aux | egrep -i 'apt|ftp|kpack|dpkg' | less
I killed them all anyway, just to be sure:
Code:
killall -9 apt* kpackage dpkg
If you ever use synaptic (it's removed from my system), you should make that:
Code:
killall -9 apt* kpackage dpkg synaptic
Having confirmed that there were no "rogue" pkg. managers running, I checked, removed, & rechecked the lock file:
Code:
ls -l /var/lib/dpkg/lock
rm -f /var/lib/dpkg/lock
ls -l /var/lib/dpkg/lock
No comments:
Post a Comment