On Thu, 23 Dec 2010 12:16:40 +0530, Stan Goodman wrote:
Since zypper is a command line program what did you type at the command
line when you ran zypper? Was it zypper up or zypper dup?
Neither. The page I was using called for zypper <asdreopo> -f, where
http://download.opensuse.org/repositories/KDE/Distro/Factory/openSUSE_11.3
kde45.
that information was correct at the time the article was written: KDE 4.5.x was in KDE/Distro/Factory then. by now, factory contains KDE 4.6 beta2. apart from that, switching to a newer release of KDE requires to run 'zypper dup' after adding the repo; otherwise packages won't be switched over to the new repo.
'zypper up' updates packages when new ones are available in the repo they originally were installed from; 'zypper dup' switches packages to the repo that contains the newer packages. if several repos are enabled, it's always advisable to specify which repo to use for the 'distribution update' -- either by disabling all other repos for the update, or by specifying the repo with 'zypper dup --from '. otherwise it's pretty unpredictable what zypper will do when it finds the same packages in several repos.
if i remember correctly, the situation now is that your system got messed up by combining packages from incompatible repos. the safest and most straight-forward way to fix this would be a new install, keeping your /home partition intact. but if you installed many programs in addition to the standard installation, that may result in a lot of work, and trying to rescue the existing system may be desirable.
[this may not be necessary to mention, but i'll do it anyway: please make sure you got a reliable backup of all data you can't easily replace: personal files & documents, contacts, emails. the best would be a backup of your whole /home partition. apart from your documents, this also includes whatever settings you modified: fonts, desktop layout and such. it should be possible to migrate most if not all of this into your repaired or newly installed system.]
if you decide for a new installation, that's relatively easy, and there's plenty of instructions around. when deciding the partitions, choose your present /home partition for the new one and don't format it. after running 'zypper up' with the standard repos that are enabled by default, add the KDE repo of your choice (zypper ar), then 'zypper dup --from <your new KDE repo>'.
hopefully everything in your /home partition will be migrated to the new KDE version. if this doesn't work at all, i.e., KDE settings, etc., get too messed up, you can wipe the unsuccessfully migrated /home/<username> and add again things like contacts, emails, etc., from your backup.
if you want to attempt to rescue your system, i would disable all repos except OSS, non-OSS, and update, then run 'zypper dup' (in this case without further argument, since there shouldn't be any conflicts among these std. repos). after that add your new KDE repo, probably KDE 4.5 at http://download.opensuse.org/repositories/KDE:/Release:/45/openSUSE_11.3/ , with this command:
------------
zypper ar -f http://download.opensuse.org/repositories/KDE:/Release:/45/openSUSE_11.3/ KDE45
------------
because of the '-f' option, the repo should be refreshed automatically, but to make sure this happens, run
------------
zypper ref
------------
then finally:
------------
zypper dup --from KDE45
------------
and hopefully everything will be working as desired...
--
phani.
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org