FC10 command line install using RPM, can't find dependences
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
FC10 command line install using RPM, can't find dependences
Hi group,
I want to install a new system on a fresh disk, so I am using RPM on the command line. Using --root to install on the new target disk. I have the ISO mount and RPM can find the requested kernel* files, but he fails to find the dependences.
How can I tell RPM to look at the disk ISO to find the dependences??
RPM is not designed to resolve dependencies, this is why yum came to be. You can use yum from the command line. IF you want to pull things from an iso, you have to mount the iso, and then redirect the media repo to the mount point for the iso.
RPM is not designed to resolve dependencies, this is why yum came to be. You can use yum from the command line. IF you want to pull things from an iso, you have to mount the iso, and then redirect the media repo to the mount point for the iso.
I am using RPM because I can't figure out how to redirect YUM to another file system. With RPM I use the '--root' option. If you can tell me how to redirect YUM then I would use YUM, it is much easier to use.
I have the ISO mount on a loop back, is that is not a problem.
Why do you want to install a fresh system? And why are you using rpm off a command line? Why rpm in the first place?
I really need a lot more information about if you are all ready using linux or not. If yes, What are you using? If no, how are you trying?
I want to install a small Linux image for my server. My server runs on a Soekris 4801 which is a 266mhz cpu. Last time I installed on this SBC it took 5 hours and created a blotted system with too much stuff on it. So I am trying to bypass the standard install process. I have tried Ubuntu, Gentoo, Bintoo and Debian, not impressed. I stick with Fedora, I know it well enough.
I'm not a newbie. I have been around for a few years, worked on many systems, including Unix mainframes. The problem is getting the tools to do what I want them to do, not what the developers want! Like array indexing that start at zero and not one! That is a different topic.
I have a real problem with the standard Fedora install! I don't want Evolution, Thunderbird, Firefox or all that other stuff. I want a small system image and I will select the extras that I want. Just trying to develop that process. I tried the 'Command line' install with Ubuntu but did not like the product.
Ok, if you look in /etc/yum.repos.d there should be a file with media in the name. I am running C5.3 but here is mine:
Quote:
[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
You just change the baseurl to the mount point of the install ISO. You will also have to set enabled=1(turn on access to that repo) and change enabled=0 (turn off) all the other repos (in each file in the same directory).
so basically just add the dependencies to the rpm command, so it knows to install those also.
if the dependency list is really long you could paste or redirect them into a file and then use sed or vi to remove the unneccasary info so you have a clean list of rpm names. Then add the path to each in the file.
=== so the file would look something like this===
/path/to/dependency-1.rpm
/path/to/dependency-2.rpm
/path/to/dependency-3.rpm
...
*** notice the "double-quotes" around the `ticks` this is important because the list, at least as I diplayed it is multiple lines, so if you don't put the "double-quoutes" it wont work. Unless you make the list-of-rpms file all 1 line... that would be hard to read though...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.