[Bug 2065739] Re: Unnattended upgrades take a long time due to excessive running of "apt-check"

2024-05-14 Thread Alistair Buxton
The result of this is usually that the user gets frustrated waiting for updates that never finish installing, so they just turn off the computer. Then next time there are even more updates, making he problem worse. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 2065739] Re: Unnattended upgrades take a long time due to excessive running of "apt-check"

2024-05-14 Thread Alistair Buxton
It isn't clear to me why apt-check is so slow, but from systemctl I can see that it runs lsb-release to get the release name at least 10 to 20 times per invocation. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2065739] Re: Unnattended upgrades take a long time due to excessive running of "apt-check"

2024-05-14 Thread Alistair Buxton
For example look at .var.log.apt.history.log.txt Many packages take less than a second to install. But in between each one is a 15 to 20 second delay. That delay is the time during which apt- check is running. You can watch this happening by running "watch systemctl status apt- daily-upgrade"