KDE/Upgrade

From openSUSE

< KDE
This article is under review!
The contents are currently being evaluated and edited by User:Jonathan_R. Others should not make major changes in the meantime. Thanks for the cooperation.
Geeko This document described how to update to the latest version of KDE 4.


Contents


Upgrading to KDE 4.3.x on openSUSE 11.2

Note: This is an unsupported upgrade process.

Preparations

Add the KDE:/KDE4:/STABLE:/Desktop/ repository and set priority. Remove any repository with conflicting KDE versions (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

If you have not got the online release repository enabled, do it now. The new packages depend on packages which are not part of 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)

Everything that follows now is not necessarily maintained by the openSUSE KDE Team and thus even more risky then the above repos.

If you have KDE:KDE4:Community or even KDE:KDE4:Playground repositories registered update their URLs to (easiest by editing /etc/zypp/repos.d/* files):

http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.2/  (community packaged, not in distribution)
http://download.opensuse.org/repositories/KDE:/KDE4:/Playground/openSUSE_11.2/ (development snapshots/releases!)

Upgrading

Now run the zypper distribution update with command

zypper dup

It updates all packages from all registered repositories in a way that permits easier upgrades to many packages, for example this disables the vendor change conflict warnings.

Don't forget to relogin to KDE after upgrade if you updated in running desktop! :-)

Troubleshooting

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

Also see


KDE
Participating Developing
Communicating Planning
  • KDE Team
  • opensuse-kde@opensuse.org - openSUSE KDE Mailing List
Subscribe | Unsubscribe | Help | Archives