[Bug 2045918] Re: [SRU] Fix crash caused by updating update-manager from inside itself
In Xenial virtual machine, I had .17 in xenial-updates installed, started update-manager from a terminal, selected 'Software Updater' in the list and clicked 'Install now'. The installation completed successfully and the view was automatically recalculated. The application didn't crash (no tracebacks in the terminal window) and 'apt policy update-manager' says that the installed version is .21. ** Tags removed: verification-needed verification-needed-xenial ** Tags added: verification-done verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2045918 Title: [SRU] Fix crash caused by updating update-manager from inside itself To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2045918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2045918] Re: [SRU] Fix crash caused by updating update-manager from inside itself
Hello errors.ubuntu.com, or anyone else affected, Accepted update-manager into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/update- manager/1:16.04.21 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-xenial. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: update-manager (Ubuntu Xenial) Status: Fix Released => Fix Committed ** Tags removed: verification-done verification-done-xenial ** Tags added: verification-needed verification-needed-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2045918 Title: [SRU] Fix crash caused by updating update-manager from inside itself To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2045918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2045918] Re: [SRU] Fix crash caused by updating update-manager from inside itself
This bug was fixed in the package update-manager - 1:16.04.20 --- update-manager (1:16.04.20) xenial; urgency=medium * d/control: Depend on ubuntu-advantage-tools >= 30~. Fixes edge case whereby the program crashes upon an incomplete response from ua security-status (LP: #2049785). * The New Release dialog should take precedence over a list of updates dialog if the latter would only show Ubuntu Pro updates in an unattached system. (LP: #2051115). update-manager (1:16.04.19) xenial; urgency=medium * Add back removed widgets to UI file to fix crash when updating Upgrade Manager from inside itself (LP: #2045918). update-manager (1:16.04.18) xenial; urgency=medium * Implement the new Ubuntu Pro design (lp: #1990450). - Fuse the description and changes tabs into a single view. - Add button to attach to enable Ubuntu Pro if it is the only action available. - Ubuntu base -> System components. - Fix Ubuntu Pro item not being a parent group of its corresponding packages. - Fix incorrect available version for Ubuntu Pro updates in unattached case (LP: #2043425). -- Nathan Pratta Teodosio Mon, 22 Jan 2024 21:39:36 +0100 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2045918 Title: [SRU] Fix crash caused by updating update-manager from inside itself To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2045918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2045918] Re: [SRU] Fix crash caused by updating update-manager from inside itself
This bug was fixed in the package update-manager - 1:20.04.10.20 --- update-manager (1:20.04.10.20) focal; urgency=medium * d/control: Depend on ubuntu-advantage-tools >= 30~. Fixes edge case whereby the program crashes upon an incomplete response from ua security-status (LP: #2049785). * The New Release dialog should take precedence over a list of updates dialog if the latter would only show Ubuntu Pro updates in an unattached system. (LP: #2051115). update-manager (1:20.04.10.19) focal; urgency=medium * Add back removed widgets to UI file to fix crash when updating Upgrade Manager from inside itself (LP: #2045918). -- Nathan Pratta Teodosio Mon, 22 Jan 2024 21:32:17 +0100 ** Changed in: update-manager (Ubuntu Focal) Status: Fix Committed => Fix Released ** Changed in: update-manager (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2045918 Title: [SRU] Fix crash caused by updating update-manager from inside itself To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2045918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2045918] Re: [SRU] Fix crash caused by updating update-manager from inside itself
This bug was fixed in the package update-manager - 1:18.04.11.23 --- update-manager (1:18.04.11.23) bionic; urgency=medium * d/control: Depend on ubuntu-advantage-tools >= 30~. Fixes edge case whereby the program crashes upon an incomplete response from ua security-status (LP: #2049785). * The New Release dialog should take precedence over a list of updates dialog if the latter would only show Ubuntu Pro updates in an unattached system. (LP: #2051115). update-manager (1:18.04.11.22) bionic; urgency=medium * Add back removed widgets to UI file to fix crash when updating Upgrade Manager from inside itself (LP: #2045918). update-manager (1:18.04.11.21) bionic; urgency=medium * Fix incorrect available version for Ubuntu Pro updates in unattached case (LP: #2043425). update-manager (1:18.04.11.20) bionic; urgency=medium * Ubuntu Pro (LP: #1990450): - fix another linter error which was created while fixing a missing space in the previous upload... update-manager (1:18.04.11.19) bionic; urgency=medium * Ubuntu Pro (LP: #1990450): - Address linter errors that cause autopkgtest to fail. update-manager (1:18.04.11.18) bionic; urgency=medium * Ubuntu Pro (LP: #1990450): - Show Ubuntu Pro packages, whether the system is attached to Ubuntu Pro or not. - Replace Install now button by Enable Ubuntu Pro button when only Ubuntu Pro packages are available and the machine is not attached. - Fix checkbox and expander widget from overlapping. - Add News pane in a expander. - Replace notebook with Description and Changes tabs by a pane. update-manager (1:18.04.11.17) bionic; urgency=medium * Fix Ubuntu Pro updates checkbox and expander widget from overlapping (LP: #1990450) update-manager (1:18.04.11.16) bionic; urgency=medium * Update of the parsing for pro client changes (lp: #1990450) update-manager (1:18.04.11.15) bionic; urgency=medium * Show pending Ubuntu pro packages (LP: #1990450) update-manager (1:18.04.11.14) bionic; urgency=medium * tests/test_meta_release_core.py: switch a test from using lucid to bionic as precise was removed from the archive. (LP: #1929865) -- Nathan Pratta Teodosio Mon, 22 Jan 2024 21:36:03 +0100 ** Changed in: update-manager (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2045918 Title: [SRU] Fix crash caused by updating update-manager from inside itself To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2045918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2045918] Re: [SRU] Fix crash caused by updating update-manager from inside itself
** Description changed: Impact -- LP:1990450 introduced Ubuntu Pro updates and news to update-manager, but also a bug whereby updating update-manager itself while update-manager is running replaces its UI files with a version incompatible with the already running handle of update-manager, subsequently causing a crash when the latter references an widget existing only in the old UI file. In other words, update-manager crashes if the user tries installing the new update-manager release from inside itself. Even though updates would have been installed successfully at that point and subsequent runs of update-manager would not crash, the user is none the wiser and is most likely left worried about his resulting system state. Test case - 1. Have the old version of Update Manager installed and the proposed version available in the Apt database, such that, in Jammy for example, 'apt install --dry-run --verbose-versions' would report - update-manager (1:22.04.9 => 1:22.04.18) + update-manager (1:22.04.9 => 1:22.04.19) 2. Start update-manager from a terminal. 3. Make sure 'Software Updater' is selected in the list. We don't care about any other package for this test. 4. Click 'Install now'. The installation must complete successfully and the view must be automatically recalculated. Verify that the application didn't crash (no tracebacks in the terminal window) and confirm with 'apt policy update- manager' that the new version was indeed installed. To note --- The recalculated view will not include references to Ubuntu Pro (neither news pane nor Ubuntu Pro updates section), as it is still the old version of the program that is running. Regression potential GTK is very finicky about its *.ui files; We must look out for other widgets failing to map or being relocated. Original report --- The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager. This problem was most recently seen with package version 1:22.04.17, the problem page at https://errors.ubuntu.com/problem/7b4facc926a743e632733dcc290e7cd5623b6eb0 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2045918 Title: [SRU] Fix crash caused by updating update-manager from inside itself To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2045918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs