Error updating

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
thereverend
Level 2
Level 2
Posts: 65
Joined: Mon Jul 07, 2014 8:13 am

Error updating

Post by thereverend »

I am trying to do a update and getting this error :
Any idea what this is? :?:

Code: Select all

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up ca-certificates (20210119~20.04.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package ca-certificates (--configure):
 installed ca-certificates package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 ca-certificates
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up ca-certificates (20210119~20.04.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package ca-certificates (--configure):
 installed ca-certificates package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 ca-certificates
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
vimes666
Level 6
Level 6
Posts: 1241
Joined: Tue Jan 19, 2016 6:08 pm

Re: Error updating

Post by vimes666 »

Reboot and retry the update.
If you think the issue is solved, edit your original post and add the word solved to the title.
User avatar
karlchen
Level 23
Level 23
Posts: 18238
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Error updating

Post by karlchen »

Hello, thereverend.

In lines 1 and 3, which you had shared, you read:
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
At any given point in time, only one application (either Software Manager or Update Manager or Synaptic or apt-get) can apply changes to the installed software. Updating software is such a change.
The error message suggests that at the time, when you read these message, two processes were trying to perform changes to your installed software.

Inspecting the list of running processes at the point in time, ps axu | sort | more e.g., might have helped identify which were the two conflicting processes.
By now the conflict may have been resolved automatically, because the process, which had locked the file /var/cache/debconf/config.dat, has terminated.

So you might [Refresh] in Update Manager and try to [Install Updates] again.

In case you should run into the same problem again, you might close all applications, reboot the system and then try again.

HTH,
Karl
--
P.S.:
In case you need more help, please, do not forget to
+ share your Linux Mint system information with us. How-to is > here <.
+ explain whether you are using Update Manager in order to install software updates or whether you are using the apt terminal command instead.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
Locked

Return to “Software & Applications”