| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 43646 | 2004-03-22 06:01:00 | -Linux RPM's- | wangas_dog (5429) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 224350 | 2004-03-22 06:01:00 | I have got a second PC running on Linux (Mandrake 9.2) and when I have recently tried to download and install an RPM. They get half way through the install and ask for 'Installation Disk 2'. I have tried putting in my Mandrake installation disks but it spits them out and asks me again. Any ideas what 'Installation Disk 2' is or what i have to do to get the RPM to work?? | wangas_dog (5429) | ||
| 224351 | 2004-03-22 06:21:00 | 1'st of all, what rpm is it, and have you tried installing via a terminal. e.g open up a terminal and run su - (yes with the dash, this enables yuo to run more programs) and then cd to the directry ehere the rpm is, then run "rpm -ivh ****rpmnamehere***.rpm" if it has dependinces it does not have, it will say can not find dependency blah blah and you will have to download those via a search on rpmfind.net . Hope that helps. |
ilikelinux (1418) | ||
| 224352 | 2004-03-22 06:37:00 | > e.g open up a terminal and run su - (yes with the > dash, this enables yuo to run more programs) I thought it simply used the root users $PATH? The apps are still available, you just have to use the /usr/bin/longappname way.... The GUI installer (Mandrake does have one doesnt it??) should still work fine, and tell you the dependancies? It might help if you post the rpm name and where you got it from :-) Chill. |
Chilling_Silence (9) | ||
| 224353 | 2004-03-22 06:58:00 | yeh, but i found the mandrake rpm installer slow and laggy, and didnt really tell you much. | ilikelinux (1418) | ||
| 224354 | 2004-03-23 01:29:00 | This GUI RPM installer is why I decided that I don't want mandrake 9 . 0 . I assume 9 . 2 uses the same thing . That installer is too damn clever . When it "lost" its list of known sources, I found it almost impossible to make it work again . This is what has happend to David . It is asking for that "Installation Disk 2" to get some file(s) which are needed . David: the simplest way is to try a manual installation . . . in a terminal do su - (enter the root password) rpm -ivh blah-1 . 3 . -2-mdk . rpm It will complain about the failed dependencies . The names will probably start with "lib" . . . so look in the second installation disk for files with similar names . I forget whther Mandrake use the Redhat layout of CDs . . . so look . ;-) On a RedHat CD you find the rpms in mnt/cdrom/RedHat/RPMS . There may be more than one dependency file needed . The long term fix is what was supplied with RH9 . . . and might be available in the Mandrake too . Make a directory var/packages and copy all the rpm files in the RPMS directories on the CDs . Then install the rpmdb* . rpm package . . . this is a database system which maintains a dependency list . Have a look at the /etc/rpm/ directory . . . one of the files there needs to have the "/var/packages" line inserted (with a few argunments) . It lets you do rpm -aid -ivvh blah . . . . . rpm and it sorts out the dependencies . Just like the clever GUI thing . :D This is the best way, because the names reported by the installer are not neccessarily the names of the rpm files which hold the files . :-( . I've got a script (from Linux Journal) which searches all the rpm files for individual files . . . but it's very slow . |
Graham L (2) | ||
| 1 | |||||