Extra Extra read all about it - Preupgrade released....

"Jóhann B. Guðmundsson" johannbg at hi.is
Tue Apr 15 18:18:08 UTC 2008


Jóhann B. Guðmundsson wrote:
> http://fedoraproject.org/wiki/Interviews/PreUpgrade
>
> Will and Seth anything you would like to add to testers?
>
> BTW. Great work guys :)
>
> You can get preupgrade here...
>
> http://koji.fedoraproject.org/koji/packageinfo?packageID=6045
>
> or do..
>
> koji download-build --arch=noarch preupgrade-0.9-2.fc8 ( fc9 for fc9 )
> rpm -ihv preupgrade-0.9-2.fc8.noarch.rpm
>
> If you have koji installed..
>
> There's no use filing bugs just yet since this has not made it to the 
> components list
> in bugzilla. ( correct me if I'm wrong I did not find it.. )
>
> Claiming the first bug found :)
>
> Traceback (most recent call last):
> File "/usr/share/preupgrade/preupgrade-gtk.py", line 196, in 
> on_assistant_apply
>   self._do_main()
> File "/usr/share/preupgrade/preupgrade-gtk.py", line 204, in _do_main
>   self.main_preupgrade()
> File "/usr/share/preupgrade/preupgrade-gtk.py", line 358, in 
> main_preupgrade
>   (mdev,mpath) = 
> preupgrade.bootpath_to_anacondapath(self.pu.bootpath+"/"+stage2file)
> File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 
> 119, in bootpath_to_anacondapath
>   if dev.endswith(bootdev):
> TypeError: expected a character buffer object
>
Claiming the second :)

Rerun after the above failure..

And it lacks the ability to check ( Do I have enough space in
/boot before proceeding, if not check if I failed and clean up after my 
failure
and retry )

This also brings up interesting question how are you gonna
handle if people don't have enough space on /boot.

Is  /boot the best place for this ( /tmp maybe better )

Loaded plugins: refresh-packagekit
No package matched to remove
Traceback (most recent call last):
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 196, in 
on_assistant_apply
    self._do_main()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 204, in _do_main
    self.main_preupgrade()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 357, in 
main_preupgrade
    stage2file = self.pu.retrieve_non_critical_files()
  File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 
361, in retrieve_non_critical_files
    self._retrieve_file(self.instimage,targetdir)
  File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 
301, in _retrieve_file
    raise PUError, "insufficient space in %s to download %s" % 
(targetdir, item_fname)
preupgrade.PUError: insufficient space in /boot/upgrade to download 
minstg2.img


And the third :)

Man page(s) missing ...

And the fourth :) .. 
Or the first RFE :) ..

Missing the option to run it from the cli.
Something like  preupgrade -r or --repo ( repo ) -s or --silent or -v or 
--verbose, -b --reboot ( reboot when done ) etc..

Best regards
                    Johann B.




More information about the fedora-test-list mailing list