“System restart required” displayed in the middle of a long upgrade
Bug #372460 reported by
Anders Kaseorg
This bug report is a duplicate of:
Bug #274001: update notifier tells you to reboot before the upgrade is complete.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
update-notifier-kde (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: update-notifier
In the middle of a long `aptitude full-upgrade` on my Karmic amd64 system, update-notifier popped up its “System restart required” dialog box, even though aptitude had not finished the upgrade yet. This is probably due to this absurdly small timeout in update-
#define TIMEOUT_APT_RUN 120 /* 120 sec */
Though even if the timeout expires, update-notifier should check to see whether a package manager is still working, instead of advising the user to immediately reboot which would forcefully abort the operation in progress.
Changed in update-notifier (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
I suggest the notifier should check peridically if there exist an apt-lock-file before showing the notification. It makes no sense (or even can be dangerous) showing the notification on still running apt.