Bug 687955 - dep-resolution-failed
Summary: dep-resolution-failed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: PackageKit
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: ---
Assignee: Richard Hughes
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-15 20:12 UTC by Tomas Pelka
Modified: 2011-04-07 13:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-07 13:10:49 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Tomas Pelka 2011-03-15 20:12:18 UTC
Description of problem:
$ pkcon get-requires bash
More than one package matches:
1. bash-4.1.2-8.el6.x86_64 [installed]
2. bash-4.1.2-8.el6.i686 [rhel-latest-32b]
Please choose the correct package: 1
Getting requires              [=========================]         
Starting                      [=========================]         
Getting information           [=========================]         
Resolving dependencies        [=========================]         
The transaction failed: dep-resolution-failed, Trying to remove "yum", which is protected

But 

$ pkcon get-requires gnome-panel
More than one package matches:
1. gnome-panel-2.30.2-14.el6.x86_64 [installed]
2. gnome-panel-2.30.2-14.el6.i686 [rhel-latest-32b]
Please choose the correct package: 1
Getting requires              [=========================]         
Starting                      [=========================]         
Resolving dependencies        [=========================]         
Installed   	gnome-applets-1:2.28.0-7.el6.x86_64     	Small applications for the GNOME panel

Version-Release number of selected component (if applicable):
PackageKit-0.5.8-19.el6

I'm confused, is the firs output correct? 

How reproducible:
100%

Steps to Reproduce:
1. "pkcon get-requires bash" and many other packages
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Tomas Pelka 2011-03-23 16:21:58 UTC
OK get this issue working (package have to be installed), but one question:

Does PK query repository when getting requires. If yes there should be no such error if queried package is not installed, right?

I would say we can close this as NOTABUG.

Comment 2 RHEL Program Management 2011-04-04 01:57:35 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 Richard Hughes 2011-04-07 13:01:47 UTC
(In reply to comment #1)
> Does PK query repository when getting requires. If yes there should be no such
> error if queried package is not installed, right?

No. We used to, but yum exploded if we got the requires of a requires of a requires (* a few more) so we had to resort to "If I removed the package, what else would be removed"

Obviously, we need to ignore the system packages when we do this simulation, or fix yum not to explode.

Richard.

Comment 4 Tomas Pelka 2011-04-07 13:10:49 UTC
Thanks Richard, closing as NOTABUG.


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