** Description changed: + [ Impact ] + When the apt repository cache is too out-of-date, update-notifier shows a tray icon with message: "The update information is outdated. This may be caused by network problems or by a repository that is no longer available. Please update manually by selecting 'Show updates' from the indicator menu, and watching for any failing repositories." If you follow the instructions and click 'Show updates', nothing will happen and update-notifier crashes instead. This only happens in a Wayland desktop session. The following errors.ubuntu.com identifiers match this bug report: https://errors.ubuntu.com/problem/8ca8669144fda26625647db60203296c89e15b26 https://errors.ubuntu.com/problem/fcb15b0085c6db244a9750e2d8c9971c3ece02fe + + [ Test Plan ] + + 1. Install the update-notifier upgrade from -proposed. + 2. Temporarily disable the daily updates timer with: + $ sudo systemctl disable apt-daily.timer apt-daily-upgrade.timer + 3. Mark the update cache as out-of-date with: + $ sudo touch -d "10 days ago" /var/lib/apt/periodic/update-success-stamp + 3. Log-out and log-in again + 4. Wait for at least 2 hours + 5. Verify that a red icon appeared in the top-right system tray + 6. Click the red icon + 7. Click "Show updates" + 8. Verify that the software updater window appeared + 9. Verify that no crash report popup appeared + 10. Re-enable the daily updates timer with: + $ sudo systemctl enable apt-daily.timer apt-daily-upgrade.timer + + [ Where problems could occur ] + + The patch only modifies what happens when invoking an action from the + tray icons in update-notifier. The "cache out-of-date" tray icon seems + to be the only user of this function. No regressions are expected: + previously the process would crash and there isn't any worse than that. + + One sensitive point could be that, depending on the policy of the Wayland compositor, the software updater window might not get raised to the front after launching it. This is not an issue for GNOME (Ubuntu Desktop), and all compositors will generally highlight in some way that there is a new window open even if it wasn't raised. I still expect all compositors to correctly raise the new window though. + Also, as mentioned, anything is better than a crash.
** Changed in: update-notifier (Ubuntu Oracular) Status: Confirmed => In Progress ** Changed in: update-notifier (Ubuntu Noble) Importance: Undecided => Medium ** Changed in: update-notifier (Ubuntu Oracular) Importance: Undecided => Medium ** Changed in: update-notifier (Ubuntu Noble) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2103445 Title: Clicking 'Show updates' on the app indicator does not work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/2103445/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs