LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   I can't install (https://www.linuxquestions.org/questions/linux-software-2/i-cant-install-106758/)

Renaxgade 10-21-2003 11:36 AM

I can't install
 
When I try to install .rpm packages, it asks me password for root. Type it in, then it says preparing system for installation or something like that, but the point is after that it dissapears, without installing on my system. I am using Mandrake 9.1, and it's any package i try to install. Thanks.

salparadise 10-21-2003 11:48 AM

open a console and type
rpm -q rpmdrake

if it comes back as "package rpmdrake not installed"

then install it from the cd

at a console as root type

urpmi rpmdrake

(i'm not 100% sure if this is what you need but worth a look anyway)

Renaxgade 10-21-2003 03:11 PM

I can't find RPMDrake on the disk, but I have found it online, but it also is an RPM. Do you have AIM so I can perhaps talk to you? Thanks.

abhay 10-21-2003 03:19 PM

it is there on your first disk.
/Mandrake/RPMS/rpmdrake-2.1-13mdk.i586.rpm
copy it at a convenient place and in a konsole/gnome-terminal window do this
$ su
Password: <put your root password here>
# rpm -ivh rpmdrake-2.1-13mdk.i586.rpm

Renaxgade 10-21-2003 03:25 PM

This is what I get when I try to do it, and also when I try to update off thecd using Package Management, I get errors Packages not Found Installation cannot continue until they are installed:
gtkhtml
kdelibskrb5-libs
kdebase
kdegraphics
openssl


--Error when trying to do rpm -ivh rpmdrake-2.1-13mdk.i586.rpm--
perl-MDK-Common >= 1.0.4-13mdk is needed by rpmdrake-2.1-13mdk
urpmi >= 4.2-25mdk is needed by rpmdrake-2.1-13mdk
perl-URPM >= 0.60 is needed by rpmdrake-2.1-13mdk
drakxtools >= 9.1-0.12mdk is needed by rpmdrake-2.1-13mdk
grpmi >= 9.0 is needed by rpmdrake-2.1-13mdk
rpmtools >= 4.5 is needed by rpmdrake-2.1-13mdk
perl-GTK2 > 0.0.cvs.2003.02.12.1-2mdk is needed by rpmdrake-2.1-13mdk
perl-base >= 2:5.8.0 is needed by rpmdrake-2.1-13mdk

abhay 10-21-2003 03:32 PM

why don't u first install urpmi? you will have a bit of pain in installing it cos of dependencies (prel-MDK-Common-devel, rpm-devel...) but once you have got it, urpmi will take care of those dependencies. at least you won't have to fetch all those packages your self.

Renaxgade 10-21-2003 03:34 PM

Because the only urpmi I can find is .rpm, and plus Im so newb I do not know how to install .src if i found one. :cry:

salparadise 10-22-2003 01:01 AM

if you find a source rpm then you do the following

open a terminal
cd to folder where rpm is
su to root
type

rpmbuild --rebuild name.of.pckg.src.rpm

then
when it's finished, you open a file browser, navigate to /usr/src/RPM/RPMS/i586 and click on the rpm to install it

if you get what appears to be a circular dependency, meaning, one file says "not till the other file is installed" and the other file says "not till the first file is installed" then you can install more than one rom at the same time

rpm -ivh name.of.first.rpm name.of.second.rpm

note
no commas seperating the names


All times are GMT -5. The time now is 08:24 PM.