升級fedora11到fedora12

一直想把fedora升級一下,畢竟fedora 13都快出了,想想fedora 12也應該相當成熟了。由於裝好系統之後不想再把上面的資料移來移去,所以選擇了升級安裝。

 

yum update

yum install preupgrade

upgrade(preupgrade,都試下吧)

 

按照提示,一步一步安裝下來,重啓之後,就開始安裝步驟了。重啓之後,又回到了系統,fedora12。看起來,升級確實比較方便,除了有點費時間外。。

 

安裝之後,想升級個軟件,yum一下,出錯了,下面就是出錯信息。

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   libssl.so.8: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq

 

看來升級之後python版本升級了,但是yum使用的還是老的包,於是乎我就是下載了新版的yum。很不幸,還是不能用。

 

根據錯誤提示,到rpmfind找到了所需的so文件,libssl.so.8隸屬於包openssl-0.9.8k,於是就把啊這個包下載下來,直接用rpm安裝。但是,新的錯誤出現了

file /usr/share/man/man7/des_modes.7ssl.gz from install of openssl-0.9.8k-5.fc11.i686 conflicts with file from package openssl-1.0.0-0.10.beta3.fc12.i686

由於fedora12自帶的openssl版本爲1.0.0,直接安裝會有衝突。爲了讓yum正常工作,只好強制安裝了

rpm -vih --force xxx.rpm

安裝完成之後,系統又能正常運行了。

 

不過這樣做有個不好的地方,每次運行yum安裝程序的時候都會提示文件衝突,看的多了,相當不爽。這個時候,只需在用yum更新一下,就能解決這種問題。

yum update

 

整個世界清淨了。。。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章