/usr/lib/ubuntu-release-upgrader/check-new-release-gtk:TypeError:on_button_upgrade_now_clicked:run:error:error:__init__:__init__:function

Bug #1210649 reported by errors.ubuntu.com bug bridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Brian Murray
Quantal
Fix Released
High
Unassigned
Raring
Fix Released
High
Brian Murray

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-release-upgrader. This problem was most recently seen with version 1:0.190.7, the problem page at https://errors.ubuntu.com/problem/95e23eef1d67b997e47197c477a3149fa3b97b7b contains more details.

Impact:
Users of Ubuntu 12.10 (and 13.04) are unable to upgrade to Ubuntu 13.04 (or 13.10) unless they manually install libgksu2-0 (or a package that depends on it).

Test Case:
1) Install Ubuntu 12.10 (or 13.04)
2) Run /usr/lib/ubuntu-release-upgrader/check-new-release-gtk (with -d for 13.04)
3) Click upgrade now
4) Observe a crash

With the version of ubuntu-release-upgrader from -proposed it will not crash

Regression Potential:
None as we are just readding a removed dependency for ubuntu-release-upgrader.

Development Fix:
The plan to fix this in the development release is to move to policykit instead of using gksu.

Revision history for this message
Brian Murray (brian-murray) wrote :

This is because of the DistUpgradeFetcher.py expects gksu, but ubuntu-release-upgrader-core does not depend on it and gksu is not installed by default.

Revision history for this message
Brian Murray (brian-murray) wrote :

When I experienced this there were two tracebacks and the first one ended in 'FileNotFoundError: [Errno 2] No such file or directory'.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
status: Incomplete → Triaged
importance: Undecided → High
description: updated
Changed in ubuntu-release-upgrader (Ubuntu Raring):
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → High
status: New → In Progress
description: updated
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello errors.ubuntu.com, or anyone else affected,

Accepted ubuntu-release-upgrader into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:0.190.8 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 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, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello errors.ubuntu.com, or anyone else affected,

Accepted ubuntu-release-upgrader into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:0.192.13 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 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, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ubuntu-release-upgrader (Ubuntu Quantal):
status: New → Fix Committed
importance: Undecided → High
Changed in ubuntu-release-upgrader (Ubuntu Raring):
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Upon installing ubuntu-release-upgrader from raring-proposed libgksu2-0 was also installed, so marking as v-done-r.

tags: added: verification-done-raring
Revision history for this message
Brian Murray (brian-murray) wrote :

Upon installing ubuntu-release-upgrader from quanal-proposed gksu was also installed, so marking as v-done-r.

tags: added: verification-done-quantal
tags: removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:0.190.8

---------------
ubuntu-release-upgrader (1:0.190.8) quantal-proposed; urgency=low

  * u-r-u-gtk: Depend on gksu so that distribution upgrades will work
    (LP: #1210649)
  * u-r-u-gtk: Depend on gir1.2-webkit-3.0 (LP: #1215526)
  * DistUpgradeFetcher.py: Properly pass Gtk.window to error
    (LP: #1199984)
 -- Brian Murray <email address hidden> Thu, 22 Aug 2013 13:38:36 -0700

Changed in ubuntu-release-upgrader (Ubuntu Quantal):
status: Fix Committed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:0.192.13

---------------
ubuntu-release-upgrader (1:0.192.13) raring-proposed; urgency=low

  * u-r-u-gtk: Depend on gksu so that distribution upgrades will work
    (LP: #1210649)
  * u-r-u-gtk: Depend on gir1.2-webkit-3.0 (LP: #1215526)
  * DistUpgradeFetcher.py: Properly pass Gtk.window to error
    (LP: #1199984)
 -- Brian Murray <email address hidden> Tue, 20 Aug 2013 15:32:42 -0700

Changed in ubuntu-release-upgrader (Ubuntu Raring):
status: Fix Committed → Fix Released
Changed in ubuntu-release-upgrader (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:0.205

---------------
ubuntu-release-upgrader (1:0.205) saucy; urgency=low

  * Instead of using gksu to authenticate for the distribution upgrade, use
    do-release-upgrade with pkexec (LP: #1210649)
 -- Brian Murray <email address hidden> Fri, 04 Oct 2013 19:17:49 -0700

Changed in ubuntu-release-upgrader (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.