[Bug 1871963] Re: dpkg fails to install grub-efi-amd64 signed and shim-signed

Brett Bogert bbogert24 at gmail.com
Sat Apr 11 17:24:25 UTC 2020


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
bbogert24 at 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 at frohro-260:~/Projects/IQ_SDR/Receiver$ sudo vi /var/lib/dpkg/info/grub-efi-amd64-signed.postinst
> frohro at 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 at frohro-260:~/Projects/IQ_SDR/Receiver$
>

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

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

Status in dpkg package in Ubuntu:
  Invalid
Status in grub2-signed package in Ubuntu:
  Fix Released

Bug description:
  See above

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: dpkg 1.19.7ubuntu3
  ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
  Uname: Linux 5.4.0-21-generic x86_64
  ApportVersion: 2.20.11-0ubuntu26
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Thu Apr  9 18:41:33 2020
  InstallationDate: Installed on 2020-04-09 (0 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: dpkg
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list