Bug 814174
Summary: | livecd-iso-to disk throws /usr/bin/livecd-iso-to-disk: line 1092: [: too many arguments error | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Abhishek Singh <aks.abhishek> |
Component: | livecd-tools | Assignee: | Brian Lane <bcl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | adam.stokes, aks.abhishek, bcl, bruno, dhuff, Jasper.Hartline, katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | livecd-tools-17.11-1.fc17 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-08 04:32:30 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
Abhishek Singh
2012-04-19 10:36:36 UTC
What is the full commandline that you used? The line in question is: if [ -e $TGTMNT/$(basename "$SRC") ]; then I can't reproduce it here. The full commandline I used is: livecd-iso-to-disk --format --msdos --reset-mbr /sandbox/nexs/OLPC\ School\ Server-0.7-i386.iso /dev/sdb1 The iso in question "OLPC\ School\ Server-0.7-i386.iso" is placed insided /sandbox/nexs directory and "/dev/sdb1" is the single partition on my USB stick of partition type Linux and formatted as vfat. The same problem happens even if it is formatted as ext4. Found the cause of the error. It is because of the blank spaces in the file name of the source ISO file. When I renamed the file and removed spaces, it did work well. Probably we need to take care for files with blank spaces in its name in the livecd-iso-to-disk script. livecd-tools-17.9-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/livecd-tools-17.9-1.fc17 livecd-tools-16.13-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/livecd-tools-16.13-1.fc16 Package livecd-tools-17.9-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing livecd-tools-17.9-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-6645/livecd-tools-17.9-1.fc17 then log in and leave karma (feedback). livecd-tools-17.10-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/livecd-tools-17.10-1.fc17 livecd-tools-16.15-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/livecd-tools-16.15-1.fc16 livecd-tools-17.11-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/livecd-tools-17.11-1.fc17 livecd-tools-17.11-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |