[Bug 1743169] [NEW] server upgrade to aardvark - dpkg: error: dpkg status database is locked by another process

Niels Egberts niels.egberts at gmail.com
Sat Jan 13 23:53:59 UTC 2018


Public bug reported:

I ran do-release-upgrade on my server with zesty. But some upgrades were
not performed, it asked me to file a bug:


(Reading database ... 22034 files and directories currently installed.)
Preparing to unpack .../init-system-helpers_1.49ubuntu1_all.deb ...
Unpacking init-system-helpers (1.49ubuntu1) over (1.47) ...
Setting up init-system-helpers (1.49ubuntu1) ...
(Reading database ... 22034 files and directories currently installed.)
Preparing to unpack .../base-files_9.6ubuntu102_amd64.deb ...
Warning: Stopping motd-news.service, but it can still be activated by:
  motd-news.timer
Unpacking base-files (9.6ubuntu102) over (9.6ubuntu13.1) ...
dpkg: error: dpkg status database is locked by another process
Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (2)

Could not install the upgrades

The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).

Please report this bug in a browser at
http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
and attach the files in /var/log/dist-upgrade/ to the bug report.
E:Sub-process /usr/bin/dpkg returned an error code (2)

Setting up perl-modules-5.26 (5.26.0-8ubuntu1) ...
Setting up base-files (9.6ubuntu102) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  server upgrade to aardvark -  dpkg: error: dpkg status database is
  locked by another process

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  I ran do-release-upgrade on my server with zesty. But some upgrades
  were not performed, it asked me to file a bug:


  
  (Reading database ... 22034 files and directories currently installed.)
  Preparing to unpack .../init-system-helpers_1.49ubuntu1_all.deb ...
  Unpacking init-system-helpers (1.49ubuntu1) over (1.47) ...
  Setting up init-system-helpers (1.49ubuntu1) ...
  (Reading database ... 22034 files and directories currently installed.)
  Preparing to unpack .../base-files_9.6ubuntu102_amd64.deb ...
  Warning: Stopping motd-news.service, but it can still be activated by:
    motd-news.timer
  Unpacking base-files (9.6ubuntu102) over (9.6ubuntu13.1) ...
  dpkg: error: dpkg status database is locked by another process
  Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (2)

  Could not install the upgrades

  The upgrade has aborted. Your system could be in an unusable state. A
  recovery will run now (dpkg --configure -a).

  Please report this bug in a browser at
  http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
  and attach the files in /var/log/dist-upgrade/ to the bug report.
  E:Sub-process /usr/bin/dpkg returned an error code (2)

  Setting up perl-modules-5.26 (5.26.0-8ubuntu1) ...
  Setting up base-files (9.6ubuntu102) ...
  Installing new version of config file /etc/issue ...
  Installing new version of config file /etc/issue.net ...
  Installing new version of config file /etc/lsb-release ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1743169/+subscriptions



More information about the foundations-bugs mailing list