Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 516387 - Yum groupinstall tries to downgrade package resulting in dependency error
Summary: Yum groupinstall tries to downgrade package resulting in dependency error
Keywords:
Status: CLOSED DUPLICATE of bug 512498
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 531881 (view as bug list)
Depends On:
Blocks: LXDE
TreeView+ depends on / blocked
 
Reported: 2009-08-09 09:12 UTC by Susi Lehtola
Modified: 2014-01-21 23:10 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-03 16:14:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Susi Lehtola 2009-08-09 09:12:12 UTC
When trying to install the LXDE group I get

# yum groupinstall LXDE
Loaded plugins: dellsysidplugin2, downloadonly, fastestmirror, presto
Loading mirror speeds from cached hostfile
Setting up Group Process
Loading mirror speeds from cached hostfile
Package openbox-3.4.7.2-8.fc11.i586 already installed and latest version
Package pcmanfm-0.5.1-1.fc11.i586 already installed and latest version
Package lxsession-lite is obsoleted by lxsession, trying to install lxsession-0.3.8-1.fc11.i586 instead
Package lxsession-0.3.8-1.fc11.i586 already installed and latest version
Package lxpanel-0.4.1-2.fc11.i586 already installed and latest version
Package lxmenu-data-0.1.1-1.fc11.noarch already installed and latest version
Package lxde-settings-daemon-0.4-3.fc11.i586 already installed and latest version
Package obconf-2.0.3-3.fc11.i586 already installed and latest version
Package lxappearance-0.2.1-1.fc11.i586 already installed and latest version
Package 1:xscreensaver-base-5.08-10.fc11.i586 already installed and latest version
Package xarchiver-0.5.2-4.fc11.i586 already installed and latest version
Package leafpad-0.8.13-2.fc11.i586 already installed and latest version
Package lxterminal-0.1.6-1.fc11.i586 already installed and latest version
Package lxsession-edit-0.1.1-1.fc11.i586 already installed and latest version
Package gpicview-0.2.1-1.fc11.i586 already installed and latest version
Package lxtask-0.1.1-1.fc11.i586 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package lxde-common.i586 0:0.3.2.1-4.fc11 set to be updated
---> Package lxinput.i586 0:0.1-1.fc11 set to be updated
---> Package lxrandr.i586 0:0.1.1-1.fc11 set to be updated
---> Package lxshortcut.i586 0:0.1.1-1.fc11 set to be updated
---> Package slim.i586 0:1.3.1-5.fc11 set to be updated
--> Processing Dependency: perl(File::DesktopEntry) for package: slim-1.3.1-5.fc11.i586
--> Running transaction check
---> Package perl-File-DesktopEntry.noarch 0:0.04-7.fc11 set to be updated
--> Processing Dependency: perl(File::BaseDir) >= 0.03 for package: perl-File-DesktopEntry-0.04-7.fc11.noarch
--> Running transaction check
---> Package perl-File-BaseDir.noarch 0:0.03-3.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================================================
 Package                                                   Arch                                      Version                                              Repository                                  Size
===========================================================================================================================================================================================================
Installing:
 lxde-common                                               i586                                      0.3.2.1-4.fc11                                       fedora                                      19 k
 lxinput                                                   i586                                      0.1-1.fc11                                           updates                                     24 k
 lxrandr                                                   i586                                      0.1.1-1.fc11                                         updates                                     49 k
 lxshortcut                                                i586                                      0.1.1-1.fc11                                         updates                                     45 k
 slim                                                      i586                                      1.3.1-5.fc11                                         fedora                                     122 k
Installing for dependencies:
 perl-File-BaseDir                                         noarch                                    0.03-3.fc11                                          fedora                                      12 k
 perl-File-DesktopEntry                                    noarch                                    0.04-7.fc11                                          fedora                                      21 k

Transaction Summary
===========================================================================================================================================================================================================
Install      7 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total size: 293 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
lxde-common-data = 0.3.2.1-4.fc11 is needed by lxde-common-0.3.2.1-4.fc11.i586
Complete!
(1, [u'Please report this error in http://yum.baseurl.org/report'])

However
# rpm -q lxde-common
lxde-common-0.4.2-1.fc11.noarch

so for some reason yum tries to downgrade lxde-common.noarch to lxde-common.i586. Should an additional obsolete be added to the lxde-common package?

Comment 1 Susi Lehtola 2009-08-09 09:13:25 UTC
CC maintainer of lxde-common

Comment 2 Susi Lehtola 2009-08-09 11:09:36 UTC
Running the groupinstall command after removing lxde-common-0.4.2-1.fc11.noarch results in a succesful transaction with lxde-common-0.4.2-1.fc11.noarch installed again.

Comment 3 Susi Lehtola 2009-08-09 11:16:49 UTC
(In reply to comment #2)
> Running the groupinstall command after removing lxde-common-0.4.2-1.fc11.noarch
> results in a succesful transaction with lxde-common-0.4.2-1.fc11.noarch
> installed again.  

But running the groupinstall command again after this results in

---> Package lxde-common.i586 0:0.3.2.1-4.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch         Version                  Repository      Size
================================================================================
Installing:
 lxde-common         i586         0.3.2.1-4.fc11           fedora          19 k

Comment 4 Christoph Wickert 2009-08-09 13:59:00 UTC
(In reply to comment #0)

> so for some reason yum tries to downgrade lxde-common.noarch to
> lxde-common.i586.

Looks similar to bug 505996, which should be fixed.

> Should an additional obsolete be added to the lxde-common package?

The spec already has

Obsoletes:      %{name}-data <= 0.3.2.1-5
# needed because the lxde-common and lxde-common-data 
# required each other with full n-v-r on F-11
Provides:       %{name} = 0.3.2.1-4.fc11
Provides:       %{name}-data = 0.3.2.1-4.fc11
BuildArch:      noarch

Did I miss something?

Comment 5 Christoph Wickert 2009-08-09 14:11:30 UTC
(In reply to comment #4)
> 
> Looks similar to bug 505996, which should be fixed. 

But is not, I can still reproduce the problem with xfce4-xmms-plugin in F-11.

Comment 6 James Antill 2009-08-10 13:38:18 UTC
 This is the same "problem" as 512498, see comments:

https://bugzilla.redhat.com/show_bug.cgi?id=512498#c4
https://bugzilla.redhat.com/show_bug.cgi?id=512498#c5

Comment 7 seth vidal 2009-09-03 16:14:55 UTC
I think this is a bit of combo between 512498 and ever-fun <, <= issue fixed a week or so ago in yum.

*** This bug has been marked as a duplicate of bug 512498 ***

Comment 8 Christoph Wickert 2009-10-29 21:43:17 UTC
*** Bug 531881 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.