Bug 107104 - r-c-p installs packages even though deps are not yet met
Summary: r-c-p installs packages even though deps are not yet met
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-config-packages
Version: rawhide
Hardware: athlon
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-15 02:16 UTC by Jens Knutson
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-21 20:18:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jens Knutson 2003-10-15 02:16:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031013
Epiphany/1.0.1

Description of problem:
I double-clicked on the spamassassin RPM for FC test3, and
redhat-install-packages launched, as expected.  I then hit "continue" on the
dialog it brought up, and then it started the progress bar.  First it installed
spamassassin, but then it came up and asked me for one of the FC test3 CDs.  Not
having them, I hit "Cancel", expecting that nothing would be done -- not so. 
Spamassassin was installed, but without its dependencies (in this case, a bunch
of perl deps that don't come in FC test3's default package set).  I hope this is
clear enough.

Version-Release number of selected component (if applicable):
redhat-config-packages-1.2.5-2

How reproducible:
Didn't try

Steps to Reproduce:
1. Try to install spamassasin using redhat-install-packages, by double-clicking
on the RPM from Nautilus
2. When r-i-p asks for one of the FC test3 discs, hit the "Cancel" button


Additional info:

Comment 1 Jeremy Katz 2003-10-20 21:28:50 UTC
At that point, the spamassassin package has already been installed (r-c-p
doesn't copy all the packages to the hard disk and then install them, doing so
is a waste of hard drive space and slows things down significantly), so if you
cancel, yes, you'll be left with broken deps.

Will think about what to do about this in the future.

Comment 2 Dave Kelly 2004-04-28 13:19:46 UTC
This remains the same on Fedora Core 1.

It would appear that the order in which the RPMs are installed is not
the order that would satisfy the dependencies, i.e. if package-A
requires package-B then package-B should be installed first.

If I change line 224 of /usr/share/redhat-config-packages/GroupSet.py from

   pkgnevra = depMatch(name, evr, flags, self.grpset.hdrlist)

to

   pkgnevra = ""

A dialog box is displayed to say that dependencies could not be resolved.

A quick fix to this would be to allow a command-line flag to specify
if dependecies should be left unresolved, i.e. not via the install CD
list.




Comment 3 Jeremy Katz 2005-09-21 20:18:34 UTC
This report is filed against a product which is no longer supported.  It is very
likely that the problem is resolved in the current version of Fedora Core or
scheduled to be resolved with the new system-config-packages scheduled to land
in Fedora Core 5.


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