Bug 1368108 - livecd-creator fails if a package use Rich/Boolean dependencies
Summary: livecd-creator fails if a package use Rich/Boolean dependencies
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-18 12:48 UTC by Sandro Bonazzola
Modified: 2016-09-22 10:52 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-23 17:34:25 UTC
Type: Bug


Attachments (Terms of Use)

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


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