a Debian apt-get error lock:
/var/cache/debconf/config.dat Is Locked by Another Process: Resource Temporarily Unavailable
When issuing apt-get install commands you get this error output -
/var/cache/debconf/config.dat Is Locked by Another Process: Resource Temporarily Unavailable
(for example trying to install an app like debconf with apt-get install debconf), and thus unable to use apt-get nor dpkg, to fix this problem is to kill the associated process holding a lock on that file.
Issue command in terminal:
# fuser -v /var/cache/debconf/config.dat
then grab the PID number of that output (for an example PID number 9999),
and issue the command in terminal to kill the problematic process:
# kill -9 9999
it should now work and so you can now run apt-get and dpkg.
0 comments:
Post a Comment