Bug 927304

Summary: Print broken dependencies when they prevent image creation
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: adam.stokes, bcl, bruno, dhuff, Jasper.Hartline, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: livecd-tools-19.2-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-23 03:45:04 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:
Embargoed:

Description Kamil Páral 2013-03-25 15:45:55 UTC
Description of problem:
Please read bug 926004. Currently livecd-creator doesn't print any useful information when broken package dependencies prevent image creation.

> $ livecd-creator -c fedora-live-desktop.ks --releasever 19 -f "live-f19-3"
> /usr/lib/python2.7/site-packages/pykickstart/commands/partition.py:309: UserWarning: A partition with the mountpoint / has already been defined.
> warnings.warn(_("A partition with the mountpoint %s has already been defined.") % pd.mountpoint)
> Skipping (/sys/fs/selinux,/sys/fs/selinux) because source doesn't exist.
> Error creating Live CD : Dependency check failed!

But it seems trivial to print it:

>         deps = self.ts.check()
>         if len(deps) != 0:
>             for msg in deps:
>                 print(msg)
>             raise CreatorError("Dependency check failed!")

(of course the output format should be improved slightly).

This information is crucial for developers and testers, because we can then easily report a bug against the offending package.

Please patch livecd-tools to print broken dependencies.

Version-Release number of selected component (if applicable):
livecd-tools-19.1-1.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
1. try to create an image with broken deps
2. see no details about what is broken

Comment 1 Fedora Update System 2013-04-03 18:05:24 UTC
livecd-tools-19.2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/livecd-tools-19.2-1.fc19

Comment 2 Fedora Update System 2013-04-03 18:06:33 UTC
livecd-tools-18.15-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/livecd-tools-18.15-1.fc18

Comment 3 Fedora Update System 2013-04-03 18:08:18 UTC
livecd-tools-17.16-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/livecd-tools-17.16-1.fc17

Comment 4 Fedora Update System 2013-04-05 02:53:23 UTC
Package livecd-tools-19.2-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing livecd-tools-19.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-4856/livecd-tools-19.2-1.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-04-23 00:26:29 UTC
livecd-tools-17.16-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-04-23 00:28:32 UTC
livecd-tools-18.15-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-04-23 03:45:06 UTC
livecd-tools-19.2-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.