Bug 1368108

Summary: livecd-creator fails if a package use Rich/Boolean dependencies
Product: [Fedora] Fedora Reporter: Sandro Bonazzola <sbonazzo>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: adam.stokes, bcl, bruno, dhuff, Jasper.Hartline, katzj, sbonazzo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 17:34:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sandro Bonazzola 2016-08-18 12:48:29 UTC
Description of problem:
If one package to be added to the image contains Rich/Boolean dependencies livecd-creator fails.
example:
with: 
  Requires:       (yum-plugin-versionlock if yum)
it fails with:
  Error creating Live CD : Unable to install: Invalid version flag: if

Note that I needed to hack the python code to import the missing yum.Error to see the actual error.

For reference:
https://fedoraproject.org/wiki/Packaging:Guidelines#Rich.2FBoolean_dependencies

Comment 1 Brian Lane 2016-08-23 17:29:11 UTC
What version of things are you using? rpm? yum? livecd-tools? Heck, I'm not even sure yum supports Boolean deps.

Comment 2 Brian Lane 2016-08-23 17:34:25 UTC
I asked around, yum does not support the Rich Booleans. It's likely it never will since Fedora has moved to dnf.

Your best course of action is to start using livemedia-creator for building live images. 

https://rhinstaller.github.io/lorax/livemedia-creator.html

Comment 3 Sandro Bonazzola 2016-09-22 10:52:25 UTC
Thanks, I'll try to move to livemedia-creator