Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
My project for tonight (all night I might add, been working on this for the better part of 5 hours) has ground to a halt. I wanted to install and play around with inkscape vector drawing program. First I downloaded the source RPM from the official site (mainly because I have never used a source RPM and wanted to try it). Couldn't get that to work (dependencies). I then found a FC3 RPM on Livna.org and downloaded that, for some reason, thinking I could get around the dependencies issue. Needless to say, that plan failed miserably. I am now working on a solution of using Yum to install the program (what I should have done in the first place), and just spent the last 20 minutes setting up new repo's (fedora-extras and livna). I tested them by running 'yum --enablerepo=livna-stable search inkscape' (I don't want livna running for normal updating) and it returned the file I already downloaded as being from the fedora extras repo.
My question is this, where would I place the file that I already downloaded in order to "trick" yum so that it thinks that it already downloaded the inkscape package, skips downloading it (this is a 40 minute download on my 56K), downloads the dependencies, and then, as the icing on the cake, install them all?
My yum.conf says that the cache is located at '/var/cache/yum/'. I assumed that the file would go somewhere in this vacinity, but cd'ing to the directory leaves me facing subdirectory hell (however well organized it may be), and left me a bit confused.
There is a problem with what you want to do. Yum doesn't just download the package, it downloads headers to go with it. The hearders are in binary, not ASCII. You could place the rpm itself in the /var/cache/yum/extras/packages/ but I think it may try and download it in any case. You might be able to let yum start downloading, and once it gets a few minutes into it, stop the process. Then if the header is in /var/cache/yum/extras/headers/, you could move the already doanloaded package into /var/cache/yum/extras/packages/ and do yum update (package name), and hopefully, it will see that it has the headers and package, and will just go about the install. Of course, you have to make sure yum has all the dependencies downloaded and installed.
If not, just run the update at night when you don't have other things going on!
The headers... I compleatly forgot about those. Thanks for the reply Jim, I will still give your idea about letting the download start and then cancel it a try. Couldn't hurt nothing.
No problem man. I busted out at work when I read your message - I only rember the Monty Python version of that (I think) which was "I fart in your general direction".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.