Bug 471278

Summary: zypper up claims package is not installed
Product: [openSUSE] openSUSE 11.0 Reporter: Peter Stark <peter.stark>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: ma
Version: Final   
Target Milestone: Future/Later   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Peter Stark 2009-01-31 08:39:19 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-0.1 Firefox/3.0.5

I tried to update a package using zypper:

---
filer:/ # zypper up libasound2
Reading installed packages...
Package 'libasound2' is not installed.
Nothing to do.
---

Zypper claims that the package is not installed. However:
---
filer:/ # zypper se libasound2
Reading installed packages...

S | Name             | Summary                                   | Type
--+------------------+-------------------------------------------+--------
i | libasound2       | Advanced Linux Sound Architecture Library | package
i | libasound2-32bit | Advanced Linux Sound Architecture Library | package
filer:/ # rpm -q libasound2
libasound2-1.0.16-39.1
filer:/ # zypper in libasound2
Reading installed packages...
'libasound2' is already installed.
Nothing to do.
---

So, the package is there. Zypper may "wanted" to say that there's no update available. But the package is definitly installed.
regards,
Peter

Reproducible: Always

Steps to Reproduce:
1.
2.
3.


Expected Results:  
filer:/ # zypper up libasound2
Reading installed packages...
Package 'libasound2': No updates available.
Nothing to do.

... or so...
Comment 1 Jan Kupec 2009-07-31 12:39:57 UTC
This will probably be in zypper.
Comment 2 Jan Kupec 2009-07-31 12:44:55 UTC
this also happens in 11.1 (bug 524625).
Comment 3 Jan Kupec 2010-02-23 15:03:19 UTC
Hi. Seems this works in 11.2 with zypper 1.2.8 and higher. Thanx for reporting!