• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] KDE Pakete in mehreren Versionen installiert

pipo

Member
Neuerdings stolpern zypper/yast/apper über eine wohl unsaubere Installation (die ansonsten läuft).
System: OpenSUSE 12.3 mit KDE 4.10.2

Zypper (und yast) findet bei mir eine handvoll von (KDE-) Paketen, die in verschieden Versionen eingetragen sind, doch die veralteten Versionen (KDE 4.10.0) lassen sich weder mit zypper, noch yast noch rpm entfernen. zB:

Code:
# zypper ve
Loading repository data...
Reading installed packages...
7 Problems:
Problem: cannot install both libakonadi4-4.10.0-1.2.1.x86_64 and libakonadi4-4.10.2-324.1.x86_64
Problem: cannot install both libkcddb4-4.10.0-1.1.1.x86_64 and libkcddb4-4.10.2-30.1.x86_64
Problem: cannot install both libkonq5-4.10.0-1.1.1.x86_64 and libkonq5-4.10.2-334.1.x86_64
Problem: plasma-addons-marble-4.10.0-1.3.1.x86_64 requires marble = 4.10.0, but this requirement cannot be provided
Problem: cannot install both libnepomukwidgets4-4.10.0-1.1.1.x86_64 and libnepomukwidgets4-4.10.2-19.1.x86_64
Problem: cannot install both oxygen-icon-theme-4.10.0-1.1.1.noarch and oxygen-icon-theme-4.10.2-167.1.noarch
Problem: cannot install both sweeper-4.10.0-1.1.1.x86_64 and sweeper-4.10.2-45.1.x86_64

Problem: cannot install both libakonadi4-4.10.0-1.2.1.x86_64 and libakonadi4-4.10.2-324.1.x86_64
 Solution 1: deinstallation of libakonadi4-4.10.0-1.2.1.x86_64
 Solution 2: Following actions will be done:
  downgrade of libakonadi4-4.10.2-324.1.x86_64 to libakonadi4-4.10.2-1.5.4.x86_64
  install libakonadi4-4.10.2-1.5.4.x86_64 (with vendor change)
    obs://build.opensuse.org/KDE  -->  openSUSE

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1


... (die anderen Pakete) ...

Resolving dependencies...

The following packages are going to be REMOVED:
  libakonadi4 libkcddb4 libkonq5 libnepomukwidgets4 libswresample0 oxygen-icon-theme plasma-addons-marble sweeper 

8 packages to remove.
After the operation, 14.5 MiB will be freed.
Some of the dependencies of installed packages are broken. In order to fix these dependencies, the following actions need to be taken:
Continue? [y/n/?] (y): 
(1/8) Removing libakonadi4-4.10.0-1.2.1 ......................................................................................................................................................................................................................[error]
Removal of (44376)libakonadi4-4.10.0-1.2.1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: error: package libakonadi4-4.10.0-1.2.1.x86_64 is not installed

Tatsächlich liefert auch rpm:
Code:
# rpm -qi libakonadi4-4.10.0-1.2.1.x86_64
package libakonadi4-4.10.0-1.2.1.x86_64 is not installed

Meine repos:
Code:
# zypper  lr -uP
# | Alias                             | Name                                    | Enabled | Refresh | Priority | URI                                                                                               
--+-----------------------------------+-----------------------------------------+---------+---------+----------+---------------------------------------------------------------------------------------------------
1 | KDE_4.10_core                     | KDE 4.10 core                           | Yes     | Yes     |   50     | http://download.opensuse.org/repositories/KDE:/Release:/410/openSUSE_12.3/                        
2 | KDE_4.10_extra                    | KDE 4.10 extra                          | Yes     | Yes     |   50     | http://download.opensuse.org/repositories/KDE:/Extra/KDE_Release_410_openSUSE_12.3/               
3 | KDE_4.10_playground               | KDE 4.10 playground                     | Yes     | Yes     |   80     | http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/KDE_Release_410_openSUSE_12.3/
4 | download.opensuse.org-UpdatedApps | openSUSE BuildService - KDE:UpdatedApps | Yes     | Yes     |   99     | http://download.opensuse.org/repositories/KDE:/UpdatedApps/openSUSE_12.3/                         
5 | download.opensuse.org-non-oss     | Main Repository (NON-OSS)               | Yes     | Yes     |   99     | http://download.opensuse.org/distribution/12.3/repo/non-oss/                                      
6 | download.opensuse.org-oss         | Main Repository (OSS)                   | Yes     | Yes     |   99     | http://download.opensuse.org/distribution/12.3/repo/oss/                                          
7 | download.opensuse.org-update      | Main Update Repository                  | Yes     | Yes     |   99     | http://download.opensuse.org/update/12.3/                                                         
8 | ftp.gwdg.de-suse                  | Packman Repository                      | Yes     | Yes     |   99     | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_12.3/

:???: Hat jemand eine Idee ?
 

Sauerland

Ultimate Guru
Deaktiviere und deaktualisiere mal das Repo 4 download.opensuse.org-UpdatedApps.

Dann:
Code:
zypper clean
Code:
zypper ref
Code:
zypper dup

Wenn es dann funktionieren sollte, würde ich das Repo 4 rauswerfen.

Dies Repo fehlt noch:
Code:
repo-update-non-oss           | openSUSE-12.3-Update-Non-Oss        | Ja        | Ja            |   99      | rpm-md   | ftp://ftp5.gwdg.de/pub/opensuse/update/12.3-non-oss/

Und packman würde ich nachdem alles läuft auf Priorität 20 setzen und dann noch mal explizit umstellen:
Code:
zypper dup --from ftp.gwdg.de-suse
 
OP
P

pipo

Member
Herzlichen Dank für die superschnelle Reaktion !

Nach Durchführung der vorgeschlagenen Schritte melden zypper/yast weiterhin Mehrfachversionen von KDE Paketen, es sind jetzt allerdings andere ! aber mit gleicher Problematik, sie lassen sich nicht entfernen, die alten Versionen sind laut rpm ja auch nicht installiert.

Code:
# zypper ve
9 Problems:
Problem: cannot install both bluedevil-1.3-2.1.2.x86_64 and bluedevil-1.3-62.6.x86_64
Problem: cannot install both bluedevil-lang-1.3-2.1.2.noarch and bluedevil-lang-1.3-62.6.noarch
Problem: cannot install both kdeartwork4-screensaver-4.10.0-1.1.1.x86_64 and kdeartwork4-screensaver-4.10.2-214.1.x86_64
Problem: cannot install both kdebase4-nsplugin-4.10.0-1.1.1.x86_64 and kdebase4-nsplugin-4.10.2-334.1.x86_64
Problem: cannot install both kdialog-4.10.0-1.1.1.x86_64 and kdialog-4.10.2-334.1.x86_64
Problem: cannot install both kmag-4.10.0-1.1.1.x86_64 and kmag-4.10.2-33.1.x86_64
Problem: cannot install both kmousetool-4.10.0-1.1.1.x86_64 and kmousetool-4.10.2-44.1.x86_64
Problem: cannot install both kwalletmanager-4.10.0-1.1.1.x86_64 and kwalletmanager-4.10.2-46.1.x86_64
Problem: cannot install both libkcompactdisc4-4.10.0-1.1.1.x86_64 and libkcompactdisc4-4.10.2-27.1.x86_64
 
OP
P

pipo

Member
Super, das war's !
nach dem rebuilddb (mit einem gefunden Fehler) lassen sich die von zypper vorgeschlagenen Aktionen problemlos durchführen.
 
Oben