On Thursday 23 December 2010 15:35:34 Ken Schneider - openSUSE wrote:
On 12/23/2010 03:24 AM, phanisvara das pecked at the keyboard and wrote:
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/openSUS E_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.
Before doing a new install first try to recover by removing the errant repo. You can do this with zypper rr:
zypper rr -h removerepo (rr) [options]
(zypper lr will give you this) Remove repository specified by alias, number or URI.
Command options: --loose-auth Ignore user authentication data in the URI. --loose-query Ignore query string in the URI.
Once the repo(s) are removed: zypper ref zypper dup
should fix the problem with the messed up KDE. I have used this in the past many times after installing the newest KDE and finding that KDE was so bad I couldn't login.
I can see that "zypper rr -h" is handy for the case in which one hasn't access to a GUI desktop. My own situation is a bit different, as I've said, in that the system does boot to a desktop, but isn't useable because the keyboard and mouse don't work properly. I've asked how I can have the system boot to run level 3, which hopefully would enable me to manipulate and use repos, because I know only how to switch levels when the existing level is functional. I don't remember the URI of the repo that I installed, but fortunately, I find in "man zypper" that I can list installed repos with "zypper -lr" -- once I get to a place where I can use the keyboard. -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org