Bug 463772

Summary: zypper does not update or install kaffeine-lang
Product: [openSUSE] openSUSE 11.1 Reporter: Harald Koenig <koenig>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: ctrippe, dmacvicar, jdsn
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: zypper.log
updateTestcase

Description Harald Koenig 2009-01-06 11:29:57 UTC
"zypper lu -a"  showed that kaffeine-lang should be updated:

# zypper lu -a
Loading repository data...
Reading installed packages...
S | Repository | Name          | Version      | Arch
--+------------+---------------+--------------+-----
v | packman    | kaffeine-lang | 0.8.7-2.pm.2 | i686

	but it did not update:

# zypper up kaffeine-lang
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Nothing to do.


	rpm -qi kaffeine-lang showed that it's a leftover from 10.3 (from packman):

Name        : kaffeine-lang                Relocations: (not relocatable)
Version     : 0.8.6                             Vendor: http://packman.links2linux.de
Release     : 0.pm.1                        Build Date: Sun Jan 20 22:49:40 2008
Install Date: Sun Jan 27 22:11:28 2008         Build Host: packman-bs
Distribution: openSUSE 10.3 (i686)


	I tried to remove kaffeine-lang and re-install it, but this doesn't work either:

# rpm -e kaffeine-lang
# zypper in kaffeine-lang
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Nothing to do.


	why does "zypper in kaffeine-lang" not work ?



# zypper se -s kaffeine     
Loading repository data...
Reading installed packages...

S | Name                 | Type       | Version      | Arch   | Repository          
--+----------------------+------------+--------------+--------+---------------------
i | kaffeine             | package    | 0.8.7-2.pm.2 | i686   | packman             
v | kaffeine             | package    | 0.8.7-2.pm.2 | i586   | packman             
v | kaffeine             | package    | 0.8.7-1.105  | i586   | openSUSE-11.1-Oss   
[ ... ]
  | kaffeine-lang        | package    | 0.8.7-2.pm.2 | i686   | packman             
  | kaffeine-lang        | package    | 0.8.7-2.pm.2 | i586   | packman             
  | kaffeine-lang        | package    | 0.8.7-1.105  | i586   | openSUSE-11.1-Oss   

# zypper lr -u
# | Alias        | Name                  | Enabled | Refresh | URI                                                                           
--+--------------+-----------------------+---------+---------+-------------------------------------------------------------------------------
1 | contrib-std  | contrib-std           | Yes     | Yes     | http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/standard/
2 | packman      | packman               | Yes     | Yes     | http://packman.mirrors.skynet.be/pub/packman/suse/11.1                        
3 | repo-debug   | openSUSE-11.1-Debug   | Yes     | Yes     | http://download.opensuse.org/debug/distribution/11.1/repo/oss/                
4 | repo-non-oss | openSUSE-11.1-Non-Oss | Yes     | Yes     | http://download.opensuse.org/distribution/11.1/repo/non-oss/                  
5 | repo-oss     | openSUSE-11.1-Oss     | Yes     | Yes     | http://download.opensuse.org/distribution/11.1/repo/oss/                      
6 | repo-source  | openSUSE-11.1-Source  | Yes     | Yes     | http://download.opensuse.org/source/distribution/11.1/repo/oss/               
7 | repo-update  | openSUSE-11.1-Update  | Yes     | Yes     | http://download.opensuse.org/update/11.1/                                     
8 | videolan     | videolan              | Yes     | Yes     | http://download.videolan.org/pub/videolan/vlc/SuSE/11.1/                      


what's going wrong here ?
Comment 1 Harald Koenig 2009-01-06 11:37:56 UTC
update: when specifying an explicit architecture (kaffeine-lang.i586 or kaffeine-lang.i686) installation works (see below).

I tried this before for update (zypper up kaffeine-lang.i686) but this did _not_ work -- "nothing to do" for update:(



installation log:

# zypper in kaffeine-lang
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Nothing to do.
# zypper in kaffeine-lang.i586
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  kaffeine-lang 


Overall download size: 1.7 M. After the operation, additional 3.1 M will be used.
Continue? [YES/no]: no
# zypper in kaffeine-lang.i686
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  kaffeine-lang 


Overall download size: 1.7 M. After the operation, additional 3.1 M will be used.
Continue? [YES/no]: yes
Retrieving package kaffeine-lang-0.8.7-2.pm.2.i686 (1/1), 1.7 M (3.1 M unpacked)
Retrieving: kaffeine-lang-0.8.7-2.pm.2.i686.rpm [done (215.3 K/s)]
Installing: kaffeine-lang-0.8.7-2.pm.2 [done]
Comment 2 Marcus Meissner 2009-01-06 22:47:39 UTC
kaffeine-lang is already provided by bundle-lang-kde-* I guess, thats why its not insdtalled.

rpm -q --whatprovides kaffeine-lang
Comment 3 Harald Koenig 2009-01-07 00:29:16 UTC
indeed:

harald > rpm -q --whatprovides kaffeine-lang
kaffeine-lang-0.8.7-2.pm.2
bundle-lang-kde-ar-11.1-11.6

thanks for this hint!
Comment 4 Jan Kupec 2009-01-13 11:00:16 UTC
(In reply to comment #0)
> "zypper lu -a"  showed that kaffeine-lang should be updated:
> 
>     but it did not update:
> 
> # zypper up kaffeine-lang

zypper up only updates packages with no dependency issues. Also lu lists only such packges. 'lu -a' shows packages with newer available version regardless whether they are installable or not. You can try 'zypper in foo' for such packages and see what is the problem in the solver dialog.

No bug in here.
Comment 5 Jan Kupec 2009-01-13 11:02:46 UTC
(In reply to comment #0)
> # rpm -e kaffeine-lang
> # zypper in kaffeine-lang
> Loading repository data...
> Reading installed packages...
> Resolving package dependencies...
> Nothing to do.

Now this is weird. It should at least tell you that some other package that provides kaffeine-lang is already installed.

>     why does "zypper in kaffeine-lang" not work ?

Your zypper.log and/or solver testcase might tell us.
Comment 6 Jan Kupec 2009-01-13 11:04:31 UTC
(In reply to comment #3)
> indeed:
> 
> harald > rpm -q --whatprovides kaffeine-lang
> kaffeine-lang-0.8.7-2.pm.2
> bundle-lang-kde-ar-11.1-11.6

Try also 'zypper wp kaffeine-lang'. But still, we need to figure out why zypper did not tell you that bundle-lang-kde-ar is already installed.
Comment 7 Harald Koenig 2009-01-14 00:37:52 UTC
Created attachment 264913 [details]
zypper.log
Comment 8 Harald Koenig 2009-01-14 00:45:02 UTC
(In reply to comment #5)

> Your zypper.log and/or solver testcase might tell us.

zypper.log attached. the updateTestcase is older (Jan 3) than my tries to update kaffeine-lang (Jan 6), so I don't know if this will help, but I'll attach this too.


(In reply to comment #6)
> Try also 'zypper wp kaffeine-lang'. But still, we need to figure out why zypper
> did not tell you that bundle-lang-kde-ar is already installed.


updateTestcase # zypper wp kaffeine-lang
Loading repository data...
Reading installed packages...
S | Name               | Type    | Version      | Arch   | Repository       
--+--------------------+---------+--------------+--------+------------------
i | kaffeine-lang      | package | 0.8.7-2.pm.2 | i686   | packman          
v | kaffeine-lang      | package | 0.8.7-2.pm.2 | i586   | packman          
v | kaffeine-lang      | package | 0.8.7-1.105  | i586   | openSUSE-11.1-Oss
  | bundle-lang-kde-ar | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-ca | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-cs | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-da | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
i | bundle-lang-kde-de | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
i | bundle-lang-kde-en | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-es | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-fi | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-fr | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-hu | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-it | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-ja | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-ko | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-nb | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-nl | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-pl | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-pt | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-ru | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-sv | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
  | bundle-lang-kde-zh | package | 11.1-11.6    | noarch | openSUSE-11.1-Oss
Comment 9 Harald Koenig 2009-01-14 00:47:10 UTC
Created attachment 264915 [details]
updateTestcase
Comment 10 J. Daniel Schmidt 2009-07-20 14:00:28 UTC
I just stumbled over this bug as well when I wanted to install kdegraphics3-pdf via zypper on oS 11.1:


linux:~ # zypper in kdegraphics3-pdf
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Nothing to do.
linux:~ # zypper in --force  kdegraphics3-pdf
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  kdegraphics3-pdf

Overall download size: 707.0 K. After the operation, additional 2.4 M will be used.
Continue? [YES/no]:


Zypper should at least be a little more verbose about why there is nothing to do.

What is the status of this bug? Will this be fixed for oS 11.2?
Comment 11 Jan Kupec 2009-07-23 14:29:51 UTC
I'll take a look, but i can't promise it will be fixed in 11.2.
Comment 12 Christian Trippe 2009-07-23 15:55:33 UTC
I have the same problem and found that many KDE3 packages are also provided by KDE4 packages, e.g.

zypper wp kdegraphics3-pdf                          
Daten des Repositorys laden...                                                
Installierte Pakete lesen...                                                  
S | Name             | Typ   | Version       | Arch | Repository              
--+------------------+-------+---------------+------+---------------------    
i | kdegraphics3-pdf | Paket | 3.5.10-59.6   | i586 | KDE3                    
v | kdegraphics3-pdf | Paket | 3.5.10-1.63.2 | i586 | openSUSE-11.1-Update    
v | kdegraphics3-pdf | Paket | 3.5.10-1.61   | i586 | openSUSE-11.1-Oss       
i | okular           | Paket | 4.2.98-107.2  | i586 | KDE4                    
  | kde4-okular      | Paket | 4.1.3-4.7     | i586 | openSUSE-11.1-Oss


Therefor installing via 'zypper in -n package-name' helps in this cases.
Comment 13 Jan Kupec 2010-02-22 16:46:31 UTC
Seems this works in current factory/11.3/sle11sp1 zypper 1.2.19. Zypper tells what package providing that symbol is installed:

$ zypper in kdegraphics3-pdf
Loading repository data...
Reading installed packages...
'okular' providing 'kdegraphics3-pdf' is already installed.
Resolving package dependencies...

Nothing to do.