KDE/Upgrade
升級 openSUSE 11.2 到 KDE 4.3.x
Note: This is an unsupported upgrade process. |
事前工作
加入 KDE:/KDE4:/STABLE:/Desktop/ 套件庫和設定優先。移除任何發生衝突的 KDE 版本(KDE:42/43、KDE:KDE4:UNSTABLE:Desktop、KDE:KDE4:Factory:Desktop)!
zypper ar http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.2/ kde-desktop zypper mr -r -p 10 kde-desktop
如果你還沒有啟用線上發布套件庫,現在就這樣做。新的套件包會依賴不屬於11.2 CD/DVD 的套件:
zypper mr -e repo-oss
If you get a conflict in the upgrade step or if want to use/keep using the KDE3 versions of eg Amarok, Konversation or K3b (now renamed to kde3-<foo>) you need to add the KDE:KDE3 Build Service repository.
zypper ar http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_11.2/ kde3 zypper mr -r -p 10 kde3
If you want the latest versions of e.g. amarok, digikam etc. you can add the Backports repo:
http://download.opensuse.org/repositories/KDE:/Backports/openSUSE_11.2/ (maintained by the openSUSE KDE Team)
如果您有KDE:KDE4:Community,甚至是KDE:KDE4:Playground 套件庫,更新他們的網址為(最簡單的方式是編輯 /etc/zypp/repos.d/* 檔案):
http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.2_KDE4_Factory_Desktop/ (社群打包套件,不包含在發行版中) http://download.opensuse.org/repositories/KDE:/KDE4:/Playground/openSUSE_11.2_KDE4_Factory_Desktop/ (development snapshots/releases!)
升級
現在執行 zypper 發行版更新指令
zypper dup
它會從所有加入套件庫更新所有的套件,允許更容易升級許多套件包,例如禁用供應商改變衝突的警告。
如果你要更新執行中的桌面,別忘了升級後重新登錄 KDE!:-)
疑難排解
If your desktop layout is broken after the upgrade you can reset it by running this command in Konsole:
kquitapp plasma-desktop && rm ~/.kde4/share/config/plasma-desktop* && plasma-desktop &
If you want to install a KDE4 package (eg kgpg) but a KDE3 package (like kdeutils3) is triggered to install try:
zypper in -n <foo>
and make sure you have the KDE:KDE3 repo registered - these KDE3 packages are tweaked to not conflict with the current KDE4 packages