Bug 1213874 - rpm error while installing package gdk-pixbuf-loader-rsvg
Summary: rpm error while installing package gdk-pixbuf-loader-rsvg
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 15.5
Hardware: x86-64 Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-01 16:59 UTC by Dietmar Gemsa
Modified: 2023-08-09 07:28 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Details of the error (29.12 KB, application/pdf)
2023-08-01 16:59 UTC, Dietmar Gemsa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dietmar Gemsa 2023-08-01 16:59:21 UTC
Created attachment 868584 [details]
Details of the error

Installation, update of program changes are not possible.
Comment 1 Stefan Hundhammer 2023-08-01 17:35:31 UTC
Please do not hide all relevant information in a PDF, please add it to the bug.

From the PDF:


> Installation of patches:
> .
> Error: Die Installation des Paket “ ist fehlgeschlagen
> .
> Subprocess failed. Error: RPM fehlgeschlagen: Kommando mit Status 1 beendet.
> .
> Verlauf:
> - error: package gdk-pixbuf-loader-rsvg-2.52.9-150400.3.3.1.x86_64 is not installed
> .
> The old version is not in my system. What can i do to solve this problem?

> gdk-pixbuf-loader-rsvg - A gdk-pixbuf loader for SVG using librsvg
>.
> Alternative Version         Installierte Version
>.
> 2.52.10-150400.3.6.1        2.52.10-150400.3.6.1

> Operating System: openSUSE Leap 15.5
> KDE Plasma Version: 5.27.4
> KDE Frameworks Version: 5.103.0
> Qt Version: 5.15.8
> Kernel Version: 5.14.21-150500.55.7-default (64-bit)
> Graphics Platform: X11
> Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
> Memory: 15.6 GiB of RAM
> Graphics Processor: NVIDIA GeForce RTX 3060/PCIe/SSE2
Comment 2 Stefan Hundhammer 2023-08-01 17:36:29 UTC
This is not at all a problem of AutoYaST or of YaST: You can clearly see that it's a problem of that package. It even tells you so.
Comment 3 Stefan Hundhammer 2023-08-01 17:40:30 UTC
That error "rpm failed: command exited with status 1" might mean a problem in a post-install script of that package.

% osc maintainer -e gdk-pixbuf-loader-rsvg

Defined in project:  GNOME:Factory
  bugowner of gdk-pixbuf-loader-rsvg : 
   os.gnome.maintainers@gmail.com

  maintainer of gdk-pixbuf-loader-rsvg : 
   dimstar@opensuse.org, sreeves@suse.com, factory-repo-checker@kulow.org, -, -, -
Comment 4 Stefan Hundhammer 2023-08-01 17:44:00 UTC
% rpm -qi gdk-pixbuf-loader-rsvg
...
Source RPM  : librsvg-2.52.10-150400.3.6.1.src.rpm
...

% rpm -q --scripts gdk-pixbuf-loader-rsvg

postinstall scriptlet (using /bin/sh):

  /usr/bin/gdk-pixbuf-query-loaders-64 --update-cache
postuninstall scriptlet (using /bin/sh):

if [ $1 -eq 0 ]; then                                           
    /usr/bin/gdk-pixbuf-query-loaders-64 --update-cache       
fi
Comment 5 Stefan Hundhammer 2023-08-01 17:47:31 UTC
Please check if you have that /usr/bin/gdk-pixbuf-query-loaders-64 installed; it belongs to package gdk-pixbuf-query-loaders.
Comment 6 Dietmar Gemsa 2023-08-02 08:11:36 UTC
Yes,  in /usr/bin/gdk-pixbuf-query-loaders-64 is the version
2.42.9-150400.5.6.1  installed.

The RPM try to work with version:
gdk-pixbuf-loader-rsvg-2.52.9-150400.3.3.1.x86_64
and this is not on my system
Comment 7 Dietmar Gemsa 2023-08-04 13:05:38 UTC
Is this a problem, a mixture between two rpm packets?
1. gdk-pixbuf-loader-rsvg
2. gdk-pixbuf-query-loaders

Why ask the update process for an old packet? 
How ca i solve the error? 
The queue of new patches extend from day to day.
Comment 8 Dietmar Gemsa 2023-08-05 08:58:54 UTC
Is it possible to install the missing old patch:
gdk-pixbuf-loader-rsvg-2.52.9-150400.3.3.1.x86_64
independent from the queue of rpm-patches?
Ok, only as an old, inactive version.
(The rpm-update will be happy.)
Comment 9 Dietmar Gemsa 2023-08-05 13:48:01 UTC
I believe ALL of the packets has the same problem.
Here is a segment of my log:

/var/log/YaST2/y2log

2023-08-05 15:09:54 <1> localhost(7064) [librpmDb] RpmDb.cc(doRemovePackage):1888 RpmDb::doRemovePackage(gdk-pixbuf-loader-rsvg-2.52.9-150400.3.3.1.x86_64,0x00000008)
2023-08-05 15:09:54 <1> localhost(7064) [zypp::exec++] forkspawnengine.cc(start):181 Executing[C] 'rpm' '--root' '/' '--dbpath' '/usr/lib/sysimage/rpm' '-e' '--allmatches' '--nodeps' '--' 'gdk-pixbuf-loader-rsvg-2.52.9-150400.3.3.1.x86_64'
2023-08-05 15:09:54 <1> localhost(7064) [zypp::exec++] forkspawnengine.cc(start):333 pid 7120 launched
2023-08-05 15:09:54 <2> localhost(7064) [zypp::exec] abstractspawnengine.cc(checkStatus):182 Pid 7120 exited with status 1
2023-08-05 15:09:54 <5> localhost(7064) [zypp-core] Exception.cc(log):186 RpmDb.cc(doRemovePackage):1973 THROW: Subprocess failed. Error: RPM fehlgeschlagen: Kommando mit Status 1 beendet.
2023-08-05 15:09:54 <5> localhost(7064) [zypp-core] Exception.cc(log):186 Verlauf:
2023-08-05 15:09:54 <5> localhost(7064) [zypp-core] Exception.cc(log):186 - error: package gdk-pixbuf-loader-rsvg-2.52.9-150400.3.3.1.x86_64 is not installed
2023-08-05 15:09:54 <5> localhost(7064) [zypp-core] Exception.cc(log):186 
2023-08-05 15:09:54 <1> localhost(7064) [Ruby] modules/PackageCallbacks.rb(DonePackage):506 DonePackage(error: 3, reason: 'Subprocess failed. Error: RPM fehlgeschlagen: Kommando mit Status 1 beendet.
Verlauf:
- error: package gdk-pixbuf-loader-rsvg-2.52.9-150400.3.3.1.x86_64 is not installed
')

AND SO FORTH:

error: package gtk3-data-3.24.34-150400.3.3.1.noarch is not installed 
error: package gtk3-immodule-amharic-3.24.34-150400.3.3.1.x86_64 is not installed
error: package gtk3-immodule-inuktitut-3.24.34-150400.3.3.1.x86_64 is not installed
error: package gtk3-immodule-thai-3.24.34-150400.3.3.1.x86_64 is not installed
error: package gtk3-immodule-tigrigna-3.24.34-150400.3.3.1.x86_64 is not installed
error: package gtk3-immodule-vietnamese-3.24.34-150400.3.3.1.x86_64 is not installed
error: package gtk3-lang-3.24.34-150400.3.3.1.noarch is not installed
error: package gtk3-schema-3.24.34-150400.3.3.1.noarch is not installed
error: package gtk3-tools-3.24.34-150400.3.3.1.x86_64 is not installed
error: package libQt5Concurrent5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5Core5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5DBus5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5Gui5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5OpenGL5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5PrintSupport5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5Sql5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5Sql5-mysql-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5Sql5-sqlite-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5Svg5-5.15.8+kde8-150500.1.4.x86_64 is not installed
error: package libQt5Test5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5Widgets5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libQt5Xml5-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package libdb-4_8-4.8.30-150000.7.6.1.x86_64 is not installed
error: package libgtk-3-0-3.24.34-150400.3.3.1.x86_64 is not installed
error: package libopenssl3-3.0.8-150500.5.3.1.x86_64 is not installed
error: package libqt5-qtbase-platformtheme-gtk3-5.15.8+kde185-150500.4.3.1.x86_64 is not installed
error: package librsvg-2-2-2.52.9-150400.3.3.1.x86_64 is not installed
error: package libxml2-2-2.10.3-150500.3.1.x86_64 is not installed
error: package libxml2-tools-2.10.3-150500.3.1.x86_64 is not installed
error: package libyui-ncurses-pkg16-4.5.2-150500.1.1.x86_64 is not installed
error: package libyui-ncurses16-4.5.2-150500.1.1.x86_64 is not installed
error: package libyui-qt-graph16-4.5.2-150500.1.1.x86_64 is not installed
error: package libyui-qt-pkg16-4.5.2-150500.1.1.x86_64 is not installed
error: package libyui-qt16-4.5.2-150500.1.1.x86_64 is not installed
error: package libyui16-4.5.2-150500.1.1.x86_64 is not installed
error: package linux-glibc-devel-5.14-150500.10.15.x86_64 is not installed
error: package openssh-8.4p1-150300.3.18.2.x86_64 is not installed
error: package openssh-askpass-gnome-8.4p1-150300.3.18.2.x86_64 is not installed
Comment 10 Dominique Leuenberger 2023-08-08 13:33:33 UTC
Most relevant from the attachment in comment#0 seems to be

- error: package gdk-pixbuf-loader-rsvg-2.52.9-150400.3.3.1.x86_64 is not installed

That is not even the rpm scriptlet failing, but the rpm process itself (corrupt RPM DB?)

Assigning to RPM maintainer
Comment 11 Michael Schröder 2023-08-08 14:38:59 UTC
That's rpm complaining that the 'erase' commands libzypp executes do not match the installed packages.

I recommend doing a 'rpm --rebuilddb'. If that doesn't help, the libzypp folks need to find out what's going on.
Comment 12 Michael Andres 2023-08-08 15:41:32 UTC
(In reply to Michael Schröder from comment #11)
> I recommend doing a 'rpm --rebuilddb'. If that doesn't help, the libzypp
> folks need to find out what's going on.

@Dietmar: Yes, please do: 
> rpm --rebuilddb
This should fix any issues with the rpmDB. 

In case the issue persists, please check if the systems solv cache was rebuilt by zypper AFTER the `rebuilddb`. Files there should have current timestamp:
> ls -l /var/cache/zypp/solv/@System/
In case of doubt, remove the files in /var/cache/zypp/solv/@System/. Zypp will rebuild them as needed. In this case please attach the /var/log/zypper.log file.
Comment 13 Dietmar Gemsa 2023-08-08 17:03:17 UTC
Thank you to the last two "Michaels".
The rpm --rebuilddb  worked very well, all patches are in my system now.

You can close this case (or is this my task?)
Comment 14 Michael Andres 2023-08-09 07:28:09 UTC
Fine. Usually the assignee closes it, so I do.