Bug 370933 - Upgrade from 16.4 to 16.10 silently fails
Summary: Upgrade from 16.4 to 16.10 silently fails
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.6.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
: 370922 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-16 01:39 UTC by kantander
Modified: 2016-10-28 00:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kantander 2016-10-16 01:39:39 UTC
After clicking the upgrade button and entering my password, nothing happens.

When I run the same command (do-release-upgrade -m desktop -f DistUpgradeViewKDE) from Konsole, I get the following Python error:

Checking for a new Ubuntu release
kde
Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 157, in <module>
    fetcher = get_fetcher(options.frontend, m.new_dist, options.data_dir)
  File "/usr/bin/do-release-upgrade", line 44, in get_fetcher
    label=_("Downloading the release upgrade tool"))
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", line 200, in __init__
    uic.loadUi(uiFile, self.dialog)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 222, in loadUi
    return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUi
    return self.parse(filename, resource_suffix, basedir)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 972, in parse
    document = parse(filename)
  File "/usr/lib/python3.5/xml/etree/ElementTree.py", line 1184, in parse
    tree.parse(source, parser)
  File "/usr/lib/python3.5/xml/etree/ElementTree.py", line 585, in parse
    source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/ubuntu-release-upgrader/fetch-progress.ui'


Reproducible: Always

Steps to Reproduce:
1. Attempt to upgrade from 16.04 to 16.10 in Discover

Actual Results:  
Nothing happens. I can keep clicking Upgrade and entering my password, nothing changes.

Expected Results:  
Successful upgrade or useful error message.

This is a pretty clean and barely used install of Kubuntu 16.04 on a laptop, although I don't expect that other packages should affect this behavior. I do have Steam installed, in case that has sucked in something that may be causing problems.
Comment 1 bym7444 2016-10-17 09:00:49 UTC
Hey. Had the same issue as you. Was able to fit it by running:

sudo apt-get install ubuntu-release-upgrader-qt

Not sure why the files were missing (perhaps some dist-upgrade gone amiss?). But it's working fine now.
Comment 2 bym7444 2016-10-17 09:34:32 UTC
(In reply to bym7444 from comment #1)
> Hey. Had the same issue as you. Was able to fit it by running:
> 
> sudo apt-get install ubuntu-release-upgrader-qt
> 
> Not sure why the files were missing (perhaps some dist-upgrade gone amiss?).
> But it's working fine now.

Ah, seems that this has already been found before:
https://bugs.launchpad.net/ubuntu/+source/plasma-discover/+bug/1633692

It's also in the "Known Problems" section of:
https://wiki.ubuntu.com/YakketyYak/ReleaseNotes/Kubuntu
Comment 3 Aleix Pol 2016-10-20 22:14:17 UTC
*** Bug 370922 has been marked as a duplicate of this bug. ***
Comment 4 Paddyrob 2016-10-21 13:50:59 UTC
That seems to have nailed it - many thanks!
Comment 5 kantander 2016-10-21 14:12:05 UTC
(In reply to bym7444 from comment #2)
> (In reply to bym7444 from comment #1)
> > Hey. Had the same issue as you. Was able to fit it by running:
> > 
> > sudo apt-get install ubuntu-release-upgrader-qt
> > 
> > Not sure why the files were missing (perhaps some dist-upgrade gone amiss?).
> > But it's working fine now.
> 
> Ah, seems that this has already been found before:
> https://bugs.launchpad.net/ubuntu/+source/plasma-discover/+bug/1633692
> 
> It's also in the "Known Problems" section of:
> https://wiki.ubuntu.com/YakketyYak/ReleaseNotes/Kubuntu

Thanks! I wasn't sure where else to look. I ended up upgrading from the CLI, but next time I'll check the Release Notes and Ubuntu Launchpad before reporting a bug here.
Comment 6 Aleix Pol 2016-10-28 00:52:11 UTC
*** Bug 370922 has been marked as a duplicate of this bug. ***
Comment 7 Aleix Pol 2016-10-28 00:52:55 UTC
This is a bug in Ubuntu, please follow up there.