Bug 411745

Summary: updater problem libqt4-qt3support, zypper/rpm tries to remove nonexistent package
Product: [openSUSE] openSUSE 11.0 Reporter: robert spitzenpfeil <rs.opensuse>
Component: YaST2Assignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: mls
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: zypper log

Description robert spitzenpfeil 2008-07-24 06:36:36 UTC
zypper lu

Repository            | Name   | Version | Category    | Status
----------------------+--------+---------+-------------+-------
openSUSE-11.0-Updates | libqt4 | 104     | recommended | Needed



zypper up

Reading installed packages...

The following NEW patch is going to be installed:
  libqt4


The following package is going to be REMOVED:
  libqt4-qt3support-32bit


After the operation, 2.9 M will be freed.
Continue? [YES/no]: YES
Removing libqt4-qt3support-32bit-4.4.0-11.1 [error]
Removal of (36316)libqt4-qt3support-32bit-4.4.0-11.1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: error: package libqt4-qt3support-32bit-4.4.0-11.1.x86_64 is not installed


Abort, retry, ignore? [A/r/i]: ^C      



yast2 online update:

2008-07-24 08:28:14 libqt4-qt3support-32bit-4.4.0-12.2.x86_64.rpm installed ok
2008-07-24 08:28:28 libqt4-qt3support-32bit-4.4.0-11.1.x86_64 remove failed
rpm output:
error: package libqt4-qt3support-32bit-4.4.0-11.1.x86_64 is not installed

2008-07-24 08:30:12 libqt4-qt3support-32bit-4.4.0-11.1.x86_64 remove failed
rpm output:
error: package libqt4-qt3support-32bit-4.4.0-11.1.x86_64 is not installed
Comment 1 Jan Kupec 2008-07-24 18:01:47 UTC
interesting, can you attach /val/log/zypper.log from that run? Or if you still can reproduce this, run:

$ ZYPP_LOGFILE=log zypper up

and attach that 'log' file. Thanx!
Comment 2 robert spitzenpfeil 2008-07-25 09:56:46 UTC
Created attachment 229974 [details]
zypper log
Comment 3 Jan Kupec 2008-07-25 11:39:00 UTC
Thanx, can you please try if rebuilding the rpm database cache helps?

$ rm /var/cache/zypp/solv/\@System/*
$ zypper up

And if this does not help, then rebuilding the rpm database itself might:

$ rpm --rebuilddb
Comment 4 robert spitzenpfeil 2008-07-25 12:10:27 UTC
removing the zypper cache did the trick :-)
Comment 5 robert spitzenpfeil 2008-07-25 12:11:31 UTC
fixed
Comment 6 Jan Kupec 2008-07-25 12:16:03 UTC
great, i just wonder why libzypp did not realize it needs to do it itself :O) You're the first to report such thing. If it happens again, please reopen this bug, we'll look at it more closely.