precise -> trusty upgrade failed dpkg status database is locked by another process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Here's the report from the failed upgrade. I'll attach the requested files:
Processing triggers for man-db ...
dpkg: error: dpkg status database is locked by another process
Error in function:
A fatal error occurred
Please report this as a bug and include the files
/var/log/
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/
SystemError: 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://
and attach the files in /var/log/
installArchives() failed
dpkg: error: dpkg status database is locked by another process
Upgrade complete
The upgrade has completed but there were errors during the upgrade
process.
Hello,
According to the logs, provisioning was done ~ 4:00 AM test.domain. local] out: 04:07:28 up 6 min, 1 user, load average: 0.20, 0.36, 0.19
[node-1.
It's time to run cron daily tasks.
Surprisingly, one of the cron tasks is /etc/cron.daily/apt . That's why dpkg database was blocked.
Any suggestions for a work-around except stopping cron before provisioning and starting it after?
--
Kyrylo