Bug 338351

Summary: RFE: Allow specification of a "Provides" name in kickstart %packages
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 20CC: dcantrell
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-08 17:56:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2007-10-18 16:47:03 UTC
Description of problem:

Seems like this used to work.  In my kickstart package selection I specify
"java-plugin".  This is provided by the java-1.7.0-icedtea-plugin package:

# rpm -q --provides -p
development/i386/os/Packages/java-1.7.0-icedtea-plugin-1.7.0.0-0.19.b21.snapshot.fc8.i586.rpm
gcjwebplugin.so
java-1.7.0-plugin = 1.7.0.0
java-plugin = 1.7.0
java-1.7.0-icedtea-plugin = 1.7.0.0-0.19.b21.snapshot.fc8

During install I get a missing package error for java-plugin.
                                
Version-Release number of selected component (if applicable):
11.3.0.42

Comment 1 Orion Poplawski 2007-10-23 17:17:27 UTC
Same with 11.3.0.44

Comment 2 Jeremy Katz 2007-10-23 17:40:19 UTC
This has never been supported -- %packages lists package names, not provides  

Comment 3 Orion Poplawski 2012-03-20 21:31:23 UTC
I'm reopening this to see if there is any way this might be easier to support these days.

Comment 4 Jesse Keating 2012-07-20 00:09:01 UTC
Have you tested with F17?  Looking at the code we take each package line and send it through yum.install(pattern=<package>) which seems to indicate that it will search for something to match the pattern.  That may work on provides.  Give it a shot!

Comment 5 Orion Poplawski 2012-11-07 23:17:53 UTC
This appears to be working with F18, I'm seeing:

Package ps2eps is obsoleted by texlive-pstools-bin, trying to install 1:texlive-pstools-bin-2012-0.svn27329.3.20121019_r28030.fc18.x86_64 instead

A little funny that the messages is about obsoletes rather than provides, but it does the trick.  Thanks!

Comment 6 Orion Poplawski 2014-01-08 17:55:41 UTC
This seems to no longer be working with F20.  I have "vnc" in my kickstart, but tigervnc does not end up being installed.  No mention of 'vnc' in any of the anaconda logs though.

Comment 7 Orion Poplawski 2014-01-08 17:56:27 UTC
Never mind