Results 1 to 3 of 3

Thread: Inconsistency in zypper

  1. #1
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    248

    Default Inconsistency in zypper

    Hi,

    i have a problem with the zypper-database. Package management in YaST claims it has 2 versions of libpoppler-qt4 installed:
    libpoppler-qt4-4-0.24.4-7.1
    libpoppler-qt4-4-0.24.4-9.1

    When I query rpm:
    Code:
    Dell:/home/conny # rpm -qa | grep libpoppler-qt4
    libpoppler-qt4-4-0.24.4-9.1.x86_64
    When I verify zypper:
    Code:
    Dell:/home/conny # zypper ve --details 
    Daten des Repositories laden ...
    Installierte Pakete lesen ...
    
    Das folgende Paket wird GELÖSCHT:
      libpoppler-qt4-4  0.24.4-7.1  x86_64  openSUSE
    
    
    1 zu entfernendes Paket.
    Nach dem Vorgang werden 421,1 KiB freigegeben.
    Einige der Abhängigkeiten der installierten Pakete sind beschädigt. Um diese Abhängigkeiten zu reparieren, müssen die folgenden Aktionen ausgeführt werden:
    Fortfahren? [j/n/? zeigt alle Optionen] (j): j
    (1/1) libpoppler-qt4-4-0.24.4-7.1 wird entfernt ......................................................................................................[Fehler]
    Entfernung von (43978)libpoppler-qt4-4-0.24.4-7.1.x86_64(@System) fehlgeschlagen:
    Fehler: Subprocess failed. Error: RPM fehlgeschlagen: error: package libpoppler-qt4-4-0.24.4-7.1.x86_64 is not installed
    Obviously zypper shows a package that does not exist. Is there a way to rebuild the zypper database?

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,133
    Blog Entries
    2

    Default Re: Inconsistency in zypper

    First, I'd recommend that you first try updating your system, the command often resolves inconsistencies which go beyond simply reporting packages, various parts of your system may point to old versions incorrectly.
    Code:
    zypper up
    After the above which should ensure an internally consistent system, if you still see package management issues, you can clean (purge) stored rpm packages and related metadata with the following command. This is safe to do, if your system needs the removed package or data in the future, it will simply be downloaded again.
    Code:
    zypper clean -a
    HTH,
    tSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    248

    Default Re: Inconsistency in zypper

    clean -a was the one I was looking for, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •