PDA

View Full Version : Fedora Livecd



cdlaforc
29th December 2006, 04:58 AM
Hello,
I'm trying to install the Fedora Livecd tool which include these rpms:

fedora-livecd-desktop-6-1.i386.rpm
fedora-livecd-6-1.i386.rpm
fedora-livecd-gnome-6-1.i386.rpm
livecd-tools-001-1.i386.rpm
livecd-tools-debuginfo-001-1.i386.rpm

and when I issue the command yum localinstall command for these I get a dependency error that says:
--> Running transaction check
--> Processing Dependency: yum >= 3.0.0 for package: livecd-tools
--> Finished Dependency Resolution

I do have yum-3.0-1 installed. Does anyone have any ideas on this? Should I force the install with rpm?

dataplayer
3rd April 2008, 07:57 PM
Dear cdlaforc,
I am just getting into spnning my own Fedora Livd CD's and I ran into this same problem.
I downloaded livecd-tools-001-1.i386.rpm using the following command


[hostname{user}]# wget -c http://people.redhat.com/davidz/livecd/i386/livecd-tools-001-1.i386.rpm

Then I tried installing it using the following command and I got some failed dpendencies errors


[hostname{user}]# rpm -ivh livecd-tools-001-1.i386.rpm
error: Failed dependencies:
squashfs-tools is needed by livecd-tools-001-1.i386
yum >= 3.0.0 is needed by livecd-tools-001-1.i386

the squashfs-tools is resonable but I didn't really understand why livecd-tools needed a version of yum bigger than or equal to 3.0.0. I checked my version of yum using


[hostname{user}]# rpm -q yum
yum-3.0-6

So to me it seemed like the version of yum I had installed was okay.
I ignored it for a second and tried


[hostname{user}]# rpm -ivh squashfs-tools-3.0-4.i386.rpm livecd-tools-001-1.i386.rpm
error: Failed dependencies:
yum >= 3.0.0 is needed by livecd-tools-001-1.i386

So finally just decided to update yum.


[hostname{user}]# yum update yum
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
dist 100% |=========================| 951 B 00:00
core 100% |=========================| 1.1 kB 00:00
gdhf 100% |=========================| 951 B 00:00
tps 100% |=========================| 951 B 00:00
updates 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for yum to pack into transaction set.
yum-3.0.6-1.fc6.noarch.rp 100% |=========================| 32 kB 00:00
---> Package yum.noarch 0:3.0.6-1.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: yum = 3.0-6 for package: yum-updatesd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for yum-updatesd to pack into transaction set.
yum-updatesd-3.0.6-1.fc6. 100% |=========================| 18 kB 00:00
---> Package yum-updatesd.noarch 0:3.0.6-1.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Updating:
yum noarch 3.0.6-1.fc6 updates 488 k
Updating for dependencies:
yum-updatesd noarch 3.0.6-1.fc6 updates 21 k

Transaction Summary
================================================== ===========================
Install 0 Package(s)
Update 2 Package(s)
Remove 0 Package(s)

Total download size: 508 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): yum-3.0.6-1.fc6.no 100% |=========================| 488 kB 00:01
(2/2): yum-updatesd-3.0.6 100% |=========================| 21 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : yum ######################### [1/4]
Updating : yum-updatesd ######################### [2/4]
Cleanup : yum ######################### [3/4]
Cleanup : yum-updatesd ######################### [4/4]

Updated: yum.noarch 0:3.0.6-1.fc6
Dependency Updated: yum-updatesd.noarch 0:3.0.6-1.fc6
Complete!

Finally I tried installing squashfs-tools and livecd-tools once again:


[hostname{user}]# rpm -ivh squashfs-tools-3.0-4.i386.rpm livecd-tools-001-1.i386.rpm
Preparing... ########################################### [100%]
1:squashfs-tools ########################################### [ 50%]
2:livecd-tools ########################################### [100%]

...checking livecd-creator works:


[hostname{user}]# livecd-creator
No packages specified.

usage: livecd-creator [--help]
[--repo=<name1>,<url1> ...] [--repo=<name2>,<url2>]
--package=<p1> [--package=<p2> ...]
[--exclude-package=<e1>] --exclude-package=<e2> ...]
[--base-on=<path-to-iso-file>]
[--fslabel=<label>]

--help : Print usage and exit
--repo : Path to yum repository
--package : Include this package
--exclude-package : Exclude this package
--base-on : Add packages to an existing live CD iso9660 image
--fslabel : File system label (default: livecd-YYYYMMDD-HHMI)


I hope this helps you and others. Happy Fedora Live CD spinnings...

-dataplayer