RE: [newbie] RPM TRouble...please help!
No offense taken. I don't work in the GUI. I am usually accessing the box through SSH or something similar. Since I can't log in as root through the term or ssh, I su to root :) Kat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Fran Parker Sent: Wednesday, May 10, 2000 6:52 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] RPM TRouble...please help! May be a silly question, but are you logged in as su or root when you try to install the rpm? In the gui, it tells you you have to be root (although logging in as su in the terminal window works just as well from KDE). I hope I didn't offend by asking. Bambi James McLaughlin wrote: > I have a system running Mandrake 7.0. Whenever I run rpm -Uvh foo.rpm (or > ivh)it runs through the > ## > > and brings me back to a prompt. Then I querry the rpm that I just > installed..and it says "package not installed" > The current RPM I am trying to work with is the gcc.rpm that came on Disk2 > of my distro. Does anyone know what would cause mandrake to run through the > motions...but not really install the package. Is there a command that will > tell the rpm database to refresh itself and in turn Mandrake will recognize > that the compiler is installed. If not...I really don't want to go through > all of the ^&*( to download the tarball and compile the compiler > myself...ugghh..what a pain :( > > A friend of mine throught it was something to do with my bash file within > root... > > Please help...I cant get any SQL or HTDIG working without a gcc g++ compiler > installed :( > > THanks > > Kat
Re: [newbie] RPM TRouble...please help!
May be a silly question, but are you logged in as su or root when you try to install the rpm? In the gui, it tells you you have to be root (although logging in as su in the terminal window works just as well from KDE). I hope I didn't offend by asking. Bambi James McLaughlin wrote: > I have a system running Mandrake 7.0. Whenever I run rpm -Uvh foo.rpm (or > ivh)it runs through the > ## > > and brings me back to a prompt. Then I querry the rpm that I just > installed..and it says "package not installed" > The current RPM I am trying to work with is the gcc.rpm that came on Disk2 > of my distro. Does anyone know what would cause mandrake to run through the > motions...but not really install the package. Is there a command that will > tell the rpm database to refresh itself and in turn Mandrake will recognize > that the compiler is installed. If not...I really don't want to go through > all of the ^&*( to download the tarball and compile the compiler > myself...ugghh..what a pain :( > > A friend of mine throught it was something to do with my bash file within > root... > > Please help...I cant get any SQL or HTDIG working without a gcc g++ compiler > installed :( > > THanks > > Kat
Re: [newbie] RPM TRouble...please help!
I suppose that it is because you don't give to rpm the right name of package : Once a package file [foo.rpm] is installed, it is recorded in the rpm database as beeing the package "foo". So you have two choices : Query the installed package : rpm -ql foo or query the uninstalled package file (and add a parameter that tells rpm to look in the file, and not in the rpm database) : rpm -qpl foo.rpm I suppose that this is the mistake you are doing. For (a LOT) more info about rpm, get the "maximum rpm" book downloadable at http://www.rpm.org. This doc is REALLY usefull, and the explainations are simple. It's worth the time to read it. HTH Flupke On Wed, 10 May 2000, James McLaughlin wrote: > I have a system running Mandrake 7.0. Whenever I run rpm -Uvh foo.rpm (or > ivh)it runs through the > ## > > and brings me back to a prompt. Then I querry the rpm that I just > installed..and it says "package not installed" > The current RPM I am trying to work with is the gcc.rpm that came on Disk2 > of my distro. Does anyone know what would cause mandrake to run through the > motions...but not really install the package. Is there a command that will > tell the rpm database to refresh itself and in turn Mandrake will recognize > that the compiler is installed. If not...I really don't want to go through > all of the ^&*( to download the tarball and compile the compiler > myself...ugghh..what a pain :( > > A friend of mine throught it was something to do with my bash file within > root... > > > Please help...I cant get any SQL or HTDIG working without a gcc g++ compiler > installed :( > > THanks > > Kat > >
Fwd: [newbie] RPM TRouble...please help!
-- Forwarded Message -- Subject: [newbie] RPM TRouble...please help! Date: Wed, 10 May 2000 12:30:47 -0600 From: "James McLaughlin" <[EMAIL PROTECTED]> I have a system running Mandrake 7.0. Whenever I run rpm -Uvh foo.rpm (or ivh)it runs through the ## I don't know if this is any help but you are trying to upgrade I gather from the -Uvh. If you are trying to install from fresh it is -ivh. Is there not a test option on the graphical installer. I'm not sure as I always use the command prompt.. Typing:rpm --help will give further options THanks Kat --- -- Andrew Blackburn England -- The fun is in what you cannot do --
[newbie] RPM TRouble...please help!
I have a system running Mandrake 7.0. Whenever I run rpm -Uvh foo.rpm (or ivh)it runs through the ## and brings me back to a prompt. Then I querry the rpm that I just installed..and it says "package not installed" The current RPM I am trying to work with is the gcc.rpm that came on Disk2 of my distro. Does anyone know what would cause mandrake to run through the motions...but not really install the package. Is there a command that will tell the rpm database to refresh itself and in turn Mandrake will recognize that the compiler is installed. If not...I really don't want to go through all of the ^&*( to download the tarball and compile the compiler myself...ugghh..what a pain :( A friend of mine throught it was something to do with my bash file within root... Please help...I cant get any SQL or HTDIG working without a gcc g++ compiler installed :( THanks Kat