0

I have Ubuntu 18.04.5 LTS.

Ubuntu version

When I try to update with the Software Updater it returns this error:

Package Operation Failed

I have tried everything that I found here and still no results, the above error is repeated every time.

When I try to update from the terminal with this command:

sudo apt update && sudo apt upgrade -y

it returns:

dpkg: error processing package libpam0g:amd64 (--configure):
 installed libpam0g:amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 libpam0g:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Here is a screenshot of the output:

terminal output

I want to upgrade to Ubuntu 20.04, but without solving this, it seems that I can't.

Is there something I can do?

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
  • Seems that there is another process running. – MandiYang Jun 03 '21 at 16:36
  • Please examine [https://askubuntu.com/questions/136881/debconf-dbdriver-config-config-dat-is-locked-by-another-process-resource-t](https://askubuntu.com/questions/136881/debconf-dbdriver-config-config-dat-is-locked-by-another-process-resource-t) – Charles Green Jun 03 '21 at 16:41
  • Thanks a lot guys this link : https://askubuntu.com/questions/136881/debconf-dbdriver-config-config-dat-is-locked-by-another-process-resource-t from Charles Green helped me resolve this – Ioannis Palaios Jun 03 '21 at 17:21
  • 5
    Does this answer your question? ["debconf: DbDriver "config": config.dat is locked by another process: Resource temporarily unavailable" while installing packages](https://askubuntu.com/questions/136881/debconf-dbdriver-config-config-dat-is-locked-by-another-process-resource-t) – ChanganAuto Jun 06 '21 at 00:10

0 Answers0