This one seems to be fixed at least in 9.10.
** Changed in: apt (Ubuntu)
Status: Confirmed => Fix Released
--
apt cron.daily script sleeps a random amount of time *TWICE*
https://bugs.launchpad.net/bugs/262015
You received this bug notification because you are a member of Ubuntu
Bugs, whi
Yes, but it is a different issue. I believe the maintainers decided that
the benefits of not overloading the mirrors outweight the costs of
slightly delayed cron jobs.
** Summary changed:
- apt cron.daily script sleeps a random amount of time twice
+ apt cron.daily script sleeps a random amount o
If anacron is installed (which is at least on a normal desktop
installation), the pausing apt script also blocks other tasks in
/etc/cron.daily/. It would be nice if the apt task is put into
background and anacron continouse with other tasks.
Alternatively, the apt task should be the last task in
** Attachment added: "To sleep only once, but after checking the proxy settings"
http://launchpadlibrarian.net/24012310/check-proxy-and-then-sleep.patch
--
apt cron.daily script sleeps a random amount of time twice
https://bugs.launchpad.net/bugs/262015
You received this bug notification beca
As I see it, the cron script can either sleep and then check the proxy
settings and proceed with the update, or check the proxy settings, sleep
and then proceed with the update.
** Attachment added: "To sleep only once, before checking the proxy settings"
http://launchpadlibrarian.net/24012306
I'm ok with the random sleep to avoid hitting the mirrors too hard, but
you missed my point.
Debian's cron.daily/apt (from sid's apt 0.7.20.2) sleeps a random amount
of time, up to 30 minutes. Ubuntu's cron.daily/apt (from Jaunty's apt
0.7.20.2ubuntu2) sleeps *TWICE*. There is a bit of seemingly d
As noted in a debian bug report [1] , this random sleep is for some kind
of time balance over the mirrors to not "get hammered at exactly the
same time when a lot of machines are switched on, e.g. 9:00 in the
morning."
So, if your machine is running 24/7, you wouldn't care about this sleep
time (y
** Changed in: apt (Ubuntu)
Status: New => Confirmed
--
apt cron.daily script sleeps a random amount of time twice
https://bugs.launchpad.net/bugs/262015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
I noticed this too, when looking into why my daily cron jobs were taking
so long to run.
It's not just that the code is duplicated: the script will sleep for no
reason. After the first "check if we can lock the cache", why should the
script wait? If the cache is unlocked, it should start the updat