Bug 572148 - Traceback when trying to update to Fedora 13 Alpha
Summary: Traceback when trying to update to Fedora 13 Alpha
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: preupgrade
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F13Blocker, F13FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2010-03-10 12:17 UTC by Milan Kerslager
Modified: 2010-05-03 16:13 UTC (History)
5 users (show)

Fixed In Version: preupgrade-1.1.5-1.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-03 16:13:23 UTC


Attachments (Terms of Use)
preupgrade log (2.66 KB, text/plain)
2010-04-14 16:13 UTC, Kamil Páral
no flags Details

Description Milan Kerslager 2010-03-10 12:17:44 UTC
Traceback (most recent call last):
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 240, in on_assistant_apply
    self._do_main()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 259, in _do_main
    self.main_preupgrade()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 525, in main_preupgrade
    problems = self.pu.downloadPkgs(downloadpkgs)                 
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1420, in downloadPkgs
    self.plugins.run('predownload', pkglist=pkglist)
  File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 177, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/presto.py", line 581, in predownload_hook
    (problems, more) = downloadPkgs(conduit, pinfo, download_pkgs)
  File "/usr/lib/yum-plugins/presto.py", line 421, in downloadPkgs
    cb.start(text=text, size=rebuild_size)
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 758, in start
    self.updateProgress(basename,0.0,'','')
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 725, in updateProgress
    if name.endswith('.rpm'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Comment 1 Kamil Páral 2010-04-14 16:13:15 UTC
Created attachment 406560 [details]
preupgrade log

I have just seen the same exception for preupgrade-1.1.4-1.fc12. The full log is attached.

I don't know what exactly caused it, but I suspect that that particular mirror was outdated and some packages may have been missing there. May using metalink when choosing mirrors would ensure the mirror is not outdated?

Also a scary thing is that after the exception the preupgrade window showed "success, please reboot" content. It should not certainly report success after program crash.

Comment 2 Kamil Páral 2010-04-14 17:35:44 UTC
I tried that on a clean system again, and it happened again. Running preupgrade again helps and it is not that big issue. But having preupgrade report success a asking for reboot is bigger problem. Should this be a F13 blocker?

Comment 3 Kamil Páral 2010-04-14 17:39:32 UTC
According to adamw's guidance marking as F13 Blocker.

Comment 4 Richard Hughes 2010-04-16 11:16:08 UTC
Could you try the preupgrade package here please: http://people.freedesktop.org/~hughsient/fedora/13/i386/

Comment 5 Kamil Páral 2010-04-16 12:30:08 UTC
(In reply to comment #4)
> Could you try the preupgrade package here please:
> http://people.freedesktop.org/~hughsient/fedora/13/i386/    

Please provide x86_64 package. Also I have seen this bug on x86_64 architecture, so I can't just confirm the fix using i386 arch.

By the way, shouldn't this package be built for F12? Because this bug happened when using F12's preupgrade to upgrade to F13.

Comment 6 Kamil Páral 2010-04-16 13:02:14 UTC
I have followed the exact procedure where the 1.1.4 version crashed for me and 1.1.5 version seems to have no problem at all. I think we can consider this as fixed. Good job.

Comment 7 Adam Williamson 2010-04-16 20:32:06 UTC
richard, will you be submitting 1.1.5 as an update for f13 soon?

discussed at the blocker meeting today, we accepted this as a blocker.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 8 Alex Lancaster 2010-04-23 07:46:36 UTC
(In reply to comment #7)
> richard, will you be submitting 1.1.5 as an update for f13 soon?

Also need an F-12 update to be able to update from F-12 -> F-13, obviously... ;)

Comment 9 Adam Williamson 2010-04-23 19:21:12 UTC
Discussed at today's blocker meeting. Richard, when do you plan to submit this fix to F12 updates? It's still blocking the release of F13 until that happens. Thanks!



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 10 Richard Hughes 2010-04-25 09:42:49 UTC
(In reply to comment #9)
> when do you plan to submit

Monday morning. I'm away from home this weekend, so I'll do it as soon as I'm back. Thanks.

Comment 11 Fedora Update System 2010-04-26 11:26:53 UTC
preupgrade-1.1.5-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/preupgrade-1.1.5-1.fc12

Comment 12 Fedora Update System 2010-04-27 02:18:15 UTC
preupgrade-1.1.5-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update preupgrade'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/preupgrade-1.1.5-1.fc12

Comment 13 Fedora Update System 2010-05-03 16:13:07 UTC
preupgrade-1.1.5-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.