Reply to topic

Help with Synaptic/ Discover

thohnhaus
Registered Member
Posts
1
Karma
0

Help with Synaptic/ Discover

Sun Aug 18, 2019 11:45 pm
help
When try to run Synaptic, I get the error message," Unable to get exclusive lock," when I try to install a package with Discover I get, " unable to obtain lock."
All the checking that I have done points to another process running and interfering with what I am trying to do.
When run sudo dpkg-reconfigure -a, I am told to run, "sudo dpkg-reconfigure libdvd-pkg."
When I run that, I get, :debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable,"

How can I correct this?
Thanks for your help
Tom
User avatar Mamarok
Manager
Posts
3777
Karma
11
OS

Re: Help with Synaptic/ Discover

Mon Aug 19, 2019 11:42 pm
you can't run more than one instance of the installation application. In order to unlock you need to close all instances, then run the following command in a konsole:
Code: Select all
lsof /var/cache/debconf/config.dat

this should tell you the PID number of the process locking the database, You can kill it with the command
Code: Select all
kill -9 (PID number)

If you don't get any results from the lsof command this means the lock is already gone.


Mamarok, hanging out in the Amarok forum since August, 2007
Currently running Kubuntu 19.04, Plasma 5.16.4

 
Reply to topic

Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], egerlach, Exabot [Bot], Google [Bot], ipwizard, kamathraghavendra, mcoudert, Sogou [Bot], stephanw