[Bug 1771135] Re: unattended upgrades always fail b/c dpkg status database is always locked

2018-10-24 Thread Balint Reczey
*** This bug is a duplicate of bug 1789637 *** https://bugs.launchpad.net/bugs/1789637 Locking across dpkg frontend is being fixed and the fix will be ported back to Xenial. I'm setting this bug as a duplicate of the one tracking the fix of unattended-upgrades. Please follow the state of that

[Bug 1771135] Re: unattended upgrades always fail b/c dpkg status database is always locked

2018-08-22 Thread Julian Andres Klode
In any case, there's nothing to do here from the apt side, our timers don't run at the same time as they have a lock (and u-r-u is run by them). ** Changed in: apt (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1771135] Re: unattended upgrades always fail b/c dpkg status database is always locked

2018-05-15 Thread Felix C. Stegerman
I'd appreciate some help fixing this since these computers are now not getting automatic security updates. And since it's a pretty standard Ubuntu Desktop installation, I'd be surprised if these were the only onese affected. Unfortunately it's a little hard to debug this since it seems to happen

[Bug 1771135] Re: unattended upgrades always fail b/c dpkg status database is always locked

2018-05-15 Thread Felix C. Stegerman
** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1771135 Title: unattended upgrades always fail b/c dpkg status database is always locked

[Bug 1771135] Re: unattended upgrades always fail b/c dpkg status database is always locked

2018-05-14 Thread Felix C. Stegerman
Thanks for the info. I seem to have missed that. Any idea what else might be running? Or a workaround/fix? These are pretty standard Ubuntu Desktop machines. And everything worked fine when I installed them last year. I doubt it's a strange configuration on my part. - Felix -- You

[Bug 1771135] Re: unattended upgrades always fail b/c dpkg status database is always locked

2018-05-14 Thread Julian Andres Klode
apt-daily and apt-daily-upgrade cannot run at the same time, there's a lock file in place to prevent that. maybe something else is running. the timers only run on battery: $ grep ACPower /lib/systemd/system/apt-daily* /lib/systemd/system/apt-daily.service:ConditionACPower=true