fahd Posted September 2, 2006 Report Share Posted September 2, 2006 Hi guys! Using rpmdrake it is easy to install cooker packages. Just copy all cooker packages into cooker directory (/root/cooker), and tell rpmdrake where is the synthesis.hdlist.cz (list file), and everything would go nicely. How can I reach the same goal using the command line rpm? When I give the command: cd /root/cooker rpm -Fvh kdebase Nothing happens, since rpm does not know where the dependency list(synthesis.hdlist.cz) is located(/root/cooker/media_info/). Can anybody help me. Thanks a lot. Dubish Fahd (Mandriva fan) Budapest, Hungary. Quote Link to comment Share on other sites More sharing options...
dexter11 Posted September 2, 2006 Report Share Posted September 2, 2006 AFAIK you can't tell it to rpm cause rpm can't do such a thing. Only urpmi is using synthesis.hdlist.cz or hdlist.cz. If the plain rpm could do it then there would be no need for urpmi. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted September 3, 2006 Report Share Posted September 3, 2006 Yes, urpmi is a wrapper for rpm, which is able to get the repositories. rpm will only deal with local rpms that have already been downloaded. Quote Link to comment Share on other sites More sharing options...
scoonma Posted September 3, 2006 Report Share Posted September 3, 2006 Hi fahd, you *could* use that method and first download all *.rpm packages you want, then install them using rpm one by one "rpm -i <package>.rpm" or for updates "rpm -U <package>.rpm" but you're unlikely to do this for long. Using urpmi is *much* easieser, especially due to the implemented curl/wget call and for update purpose. If you don't like using the command line, rpmdrake is a good option, too. I'm using rpm only when there's no other suitable way for installing. So it's handy if you want to install singular, rarely used or propietary packages, which do not show up in any of the "normal" collections. Otherwise urpmi is much more comfortable. Cheers, scoonma Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.