Bug 927304 - Print broken dependencies when they prevent image creation
Summary: Print broken dependencies when they prevent image creation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 19
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: 2013-03-25 15:45 UTC by Kamil Páral
Modified: 2013-04-23 03:45 UTC (History)
6 users (show)

Fixed In Version: livecd-tools-19.2-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-23 03:45:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 926004 0 unspecified CLOSED Live composes fail when espeak 1.47.03-1.fc19 is in the package set 2021-02-22 00:41:40 UTC

Internal Links: 926004

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.


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