update manager does not check for updates after suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
anacron (Ubuntu) |
Fix Released
|
Undecided
|
Michael Vogt | ||
Hardy |
Fix Released
|
Medium
|
Michael Vogt | ||
Intrepid |
Fix Released
|
Undecided
|
Michael Vogt |
Bug Description
Binary package hint: update-manager
I am using Hardy Heron. It seems updates are not checked in some situations when you suspend.
TEST CASE:
1. install hardy on a laptop
2. remove /var/lib/
3. run "sudo touch /var/lib/
4. suspend the machine and resume the machine
5. verify that nothing happens (no update for the apt notification) - this can take up to 30min
6. install the version of anacron from hardy-proposed
7. repeat steps 2-4
8. verify that after some time (up to 30min) the notification buble show up that updates are available
I use suspend every night and resume every evening after I come back from work. Update manager did never check for updates. I found out since I expected some security updates which never come, then I started update manager and it showed that package information was 27 days old. I checked manually and found a lot of updates...
Under software sources I have the following options selected:
Important security updates (hardy-security)
Recommended updates (hardy-updates)
Check for updates: Daily
Only notify about available updates
Show new distribution releases: Normal releases
I am fairly sure updates were working when I was simply rebooting (there were problems with suspend at that time). I guess update manager checks for updates at every boot. Maybe it has to check after every resume from suspend too?
Flagging as security vulnerability since important security updates can be missed (like it happened to me...).
There is another report here: http://
Changed in anacron: | |
assignee: | nobody → mvo |
importance: | Undecided → Medium |
status: | New → In Progress |
description: | updated |
Changed in anacron: | |
status: | In Progress → Fix Committed |
I just found this anacron bug in dapper which maybe is related: https:/ /bugs.launchpad .net/ubuntu/ dapper/ +source/ update- manager/ +bug/36816
But the proposed solution is present in my system (the anacron scripts). After resume ps shows anacron running, so maybe this is not a duplicate.