Brett,

Thanks for the update. I know how to unlock the lock files.

Ken Wagner

On 4/11/20 12:24 PM, Brett Bogert wrote:
> Rob,
>
>         Your problem is due to another process having the
> /var/cache/debconf.dat
>         file in a locked state:
>
>       debconf: DbDriver "config": /var/cache/debconf/config.dat is locked
> by another process: Resource temporarily unavailable
>
>         The original problem reported was due to a syntax error in the
> code which is now fixed.
>
>         I have never seen this particular problem before so haven't a
> clue how to fix it.
>
>         Normally if you have a file locked during an apt command it is
> due to another apt
>         process locking it. This could be due to an automated check for
> update(e.g. apt update)
>         command running when you are trying to do a manual command or
> from one of the
>         package managers being left open when you are trying to do a
> manual command.
>
>         Hope this helps,
>
> Brett "WolfMan" Bogert
> bboger...@gmail.com
>
>
> On 4/10/20 7:42 PM, Rob Frohne wrote:
>> For me there as no semicolon, but I still get the error.
>>
>> rohro@frohro-260:~/Projects/IQ_SDR/Receiver$ sudo vi 
>> /var/lib/dpkg/info/grub-efi-amd64-signed.postinst
>> frohro@frohro-260:~/Projects/IQ_SDR/Receiver$ sudo apt upgrade -f
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Calculating upgrade... Done
>> The following packages were automatically installed and are no longer 
>> required:
>>     clang-tidy-9 clang-tools-9 gnome-software-common libberkeleydb-perl 
>> libcgi-fast-perl libcgi-pm-perl libclang1-9
>>     libclass-accessor-perl libfcgi-perl libfdk-aac1 libffi6 libmypaint-1.3-0 
>> libobjc-8-dev libpoppler95
>>     libpython3.7 libpython3.7-minimal libpython3.7-stdlib 
>> libwxgtk-webview3.0-gtk3-0v5 node-node-uuid
>> Use 'sudo apt autoremove' to remove them.
>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>> 1 not fully installed or removed.
>> After this operation, 0 B of additional disk space will be used.
>> Do you want to continue? [Y/n]
>> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by 
>> another process: Resource temporarily unavailable
>> Setting up grub-efi-amd64-signed (1.140+2.04-1ubuntu24) ...
>> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by 
>> another process: Resource temporarily unavai
>> lable
>> dpkg: error processing package grub-efi-amd64-signed (--configure):
>>    installed grub-efi-amd64-signed package post-installation script 
>> subprocess returned error exit status 1
>> Errors were encountered while processing:
>>    grub-efi-amd64-signed
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>> frohro@frohro-260:~/Projects/IQ_SDR/Receiver$
>>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1871963

Title:
  dpkg fails to install grub-efi-amd64 signed and shim-signed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1871963/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to