LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   can't upgrade from fedora 11 to fedora 12 ! (http://www.linuxquestions.org/questions/fedora-35/cant-upgrade-from-fedora-11-to-fedora-12-a-770864/)

angle2009 11-22-2009 07:23 PM

can't upgrade from fedora 11 to fedora 12 !
 
hi guys
i tried to upgrade my fedora 11 to fedora 12 using #preupgrade tool but every time after downloading repos metadata it requires a reboot , but actually after there reboot there is nothing to do
and here you are the background output of #preupgrade command
PHP Code:

/usr/lib/python2.6/site-packages/yum/__init__.py:203UserWarning: Use .preconf instead of passing args to _getConfig
  warnings
.warn('Use .preconf instead of passing args to _getConfig')
Loaded pluginsblacklistrefresh-packagekitwhiteout
Detected in
-progress upgrade to Fedora 12 (Constantine)
Clearing data from upgrade to Fedora 12 (Constantine)
preupgrade (baseurl
  
urlhttp://fake.url/preupgrade
  
nowhttp://fake.url/preupgrade
preupgrade-main (mirrorlist
  
urlhttp://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=$basearch
  
nowhttp://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=x86_64
preupgrade (mirrorlist
  
urlhttp://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/12/Fedora/$basearch/os
  
nowhttp://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/12/Fedora/x86_64/os
preupgrade-fedora (mirrorlist
  
urlhttps://mirrors.fedoraproject.org/metalink?repo=fedora-12&arch=x86_64
  
nowhttps://mirrors.fedoraproject.org/metalink?repo=fedora-12&arch=x86_64
unknown metadata being downloadedmetalink
preupgrade
-rpmfusion-free (mirrorlist
  
urlhttp://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-12&arch=x86_64
  
nowhttp://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-12&arch=x86_64
preupgrade-rpmfusion-free-updates (mirrorlist
  
urlhttp://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-12&arch=x86_64
  
nowhttp://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-12&arch=x86_64
Not using downloaded repomd.xml because it is older than what we have:
  
Current   Mon Nov 16 15:29:22 2009
  Downloaded
Sun Nov 15 16:32:17 2009
preupgrade
-rpmfusion-nonfree (mirrorlist
  
urlhttp://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-12&arch=x86_64
  
nowhttp://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-12&arch=x86_64
preupgrade-rpmfusion-nonfree-updates (mirrorlist
  
urlhttp://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-12&arch=x86_64
  
nowhttp://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-12&arch=x86_64
preupgrade-updates (mirrorlist
  
urlhttps://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=x86_64
  
nowhttps://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=x86_64
unknown metadata being downloadedmetalink
Traceback 
(most recent call last):
  
File "/usr/share/preupgrade/preupgrade-gtk.py"line 240in on_assistant_apply
    self
._do_main()
  
File "/usr/share/preupgrade/preupgrade-gtk.py"line 259in _do_main
    self
.main_preupgrade()
  
File "/usr/share/preupgrade/preupgrade-gtk.py"line 436in main_preupgrade
    download_progressbar
=self.dnlProgress)
  
File "/usr/lib/python2.6/site-packages/preupgrade/__init__.py"line 130in setup
    self
.complete_repo_setup()
  
File "/usr/lib/python2.6/site-packages/preupgrade/__init__.py"line 328in complete_repo_setup
    repo
._grabfunc.opts.user_agent __user_agent__
AttributeError
'NoneType' object has no attribute 'opts' 

so what is the situation

thanks in advance

terry-duell 11-22-2009 10:12 PM

Hullo,

I suspect, but am not sure, that it may be related to space in your /boot.
Did you follow the instructions at http://fedoraproject.org/wiki/PreUpgrade?

You can clean out all the upgrade stuff using...
sudo rm -fr /var/cache/yum/preupgrade*
sudo rm -fr /boot/upgrade
and then carry out the advice in the link above to maximise your /boot space and try again.

Cheers,
Terry

angle2009 11-23-2009 06:03 AM

thanks alot
now i can update my fedora after removing yum cache related to preupgrade


All times are GMT -5. The time now is 08:46 AM.