LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem installing packages (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-packages-45494/)

linuxfond 02-15-2003 09:44 AM

Problem installing packages
 
I just got a PowerPack Mandrake 9.0
It is considerably better than a download version.
However I have a question - how to install a package?

When I try to install packages, say, I try to install Scribus, I open rpmdrake, type find "scribus" in names. The packages then displayed. I select them, click Install, and I get a warning: "Everything is already installed. Is it supposed to happen at all?"

I run slocate to find out if I have scribus on my system. Nothing is found, of course, because no scribus was previously installed.

How do I then install the Scribus or other packages, if I know that they ar not installed but rpmdrake tells they are?

Rgds,
dimitri

Crashed_Again 02-15-2003 09:55 AM

Try installing from a shell:

rpm -Uvh scribuspackage

Sometimes the gui rpm managers are buggy. Just to see whats going on you could try:

rpm -ivh scribuspackage

The -U flag stands for UPDATE and the -i flag is INSTALL. If you don't get an error from the -i flag then I would say your rpm gui manager is acting silly. Usually I just use the -U flag all the time.

wapcaplet 02-15-2003 09:55 AM

I've gotten this problem on occasion too (with Mandrake 9) - it hasn't happened often enough to worry much about, but it sounds like it's a problem on your system. (it's probably just a minor bug)

Maybe it has something to do with the RPM database being out of date or corrupted somehow? Try this from a terminal (as root):

rpm --rebuilddb

Then try installing something again and see if it gives you the same error.

Crashed_Again 02-15-2003 10:00 AM

If you want to correctly fix your rpm database check out this link. It does wonders for rpm related issues.

linuxfond 02-16-2003 04:03 AM

Dear Crached_Again,
Thank you. I wil try.
By the way, I have seen you page. Congratulations on setting up your own server! Actually, this is one of the main reasons I have Linux - sooner or later I want to set up a server.
Rgds.

linuxfond 02-21-2003 01:51 PM

Quote:

Originally posted by Crashed_Again
Try installing from a shell:

rpm -Uvh scribuspackage

Sometimes the gui rpm managers are buggy. Just to see whats going on you could try:

rpm -ivh scribuspackage

The -U flag stands for UPDATE and the -i flag is INSTALL. If you don't get an error from the -i flag then I would say your rpm gui manager is acting silly. Usually I just use the -U flag all the time.

Cool! Thank you very much. I got the needed packages.
Rgds, d.


All times are GMT -5. The time now is 10:47 PM.