Click to See Complete Forum and Search --> : how do you remove a rpm from redhat.


bp 1.8
11-01-2003, 01:36 AM
ok so i installed the wrong video card drivers. i somehow managed to get x working again and got back to the decktop where i promptly tried to remove the drivers. but it seems that although i read the documentation and google search for it, i cant seem to figure how how to uninstall the driver.

what the documentation for redhat says is to run "rpm -e (package name)" in a terminal.
this however, brings up the error that no such packahe is installed. i know for sure it is though, as the driver display application works, and it was not there before i installed the driver.
so, what do i do? can i overwrite the incorrect driver with a correct one? this seems like a bad idea to me but i have not much to lose at this point.
also where is the package manager to browse user-installed packages and uninstall them?
as u can tell i am new to linux....

oh, one last thing. i wanted to update x to the latest version, but the latest version in rpm form is only for rh9.0. sence i am on 8.0 can i ust run the 9.0 version?

tia...

bp 1.8
11-01-2003, 02:00 AM
ok i think i figured it out halfway. i got it to say its uninstalling, but it really doesnt finish or somthing. here is paste of the terminal.

root@localhost root]# rpm -e fglrx-glc22
detected uninstall of last package instance
restoring system environment...
restore of system environment completed

ok
rpm





as u can see it doesnt really finish or somthing. isnt is suppose to bring me back to the root@localhost? what am i doing wrong?
after this was done i rebooted and then tried installing the right driver and it informed me that a newer version was already installed. so i tried installing the WRONG driver again and it informed me that this version is already installed so current installation will not continue.
w t f.........

oakleys
11-01-2003, 02:05 AM
try using the --replacepkgs option when you reinstall the package.

bosox79
11-01-2003, 02:09 AM
Originally posted by bp 1.8
ok so i installed the wrong video card drivers. i somehow managed to get x working again and got back to the decktop where i promptly tried to remove the drivers. but it seems that although i read the documentation and google search for it, i cant seem to figure how how to uninstall the driver.

what the documentation for redhat says is to run "rpm -e (package name)" in a terminal.
this however, brings up the error that no such packahe is installed. i know for sure it is though, as the driver display application works, and it was not there before i installed the driver.
so, what do i do? can i overwrite the incorrect driver with a correct one? this seems like a bad idea to me but i have not much to lose at this point.
also where is the package manager to browse user-installed packages and uninstall them?
as u can tell i am new to linux....


oh, one last thing. i wanted to update x to the latest version, but the latest version in rpm form is only for rh9.0. sence i am on 8.0 can i ust run the 9.0 version?

tia...

to anwser your first question you can add and removw packages from withen x-windows using a tool called redhat-config-packages check out this link for info about the tool http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-graphical-rpm.html
1. I am a little confused if X is working 1. why do you want to remove the driver?
2. how do you know that the driver/module has not been removed or upgraded?

What video card do you have?

if you want to update to the latest version of xfree this should help you out http://www.redhat.com/support/resources/howto/XFree86-upgrade/XFree86-upgrade.html

bp 1.8
11-01-2003, 02:20 AM
ok, replacepkgs says it cannot be forced.

what originally happend was i downloaded the driver for my video card, a radeon 8500 from ati.com, but i acidently used the driver that goes with xwindow 4.3 when i have x 4.2 installed.
so this made x not come up anymore after i restarted. it gave an error about failing to start, and most of the text on the screen was garbage weird text that isnt english.
i had to configure x for basic video to get back to x where i could go back to ati and download the driver for x 4.3.
now i am at the point where i am trying to uninstall the video driver for x 4.3 and replace it with the video driver for x 4.2, however i cant seem to uninstall it.


i been screwing with this thing for like 2-3 hours now heh.
anyone feel like vnc'ing in here and fixing this thing for me?

bosox79
11-01-2003, 02:40 AM
Originally posted by bp 1.8
ok, replacepkgs says it cannot be forced.

what originally happend was i downloaded the driver for my video card, a radeon 8500 from ati.com, but i acidently used the driver that goes with xwindow 4.3 when i have x 4.2 installed.
so this made x not come up anymore after i restarted. it gave an error about failing to start, and most of the text on the screen was garbage weird text that isnt english.
i had to configure x for basic video to get back to x where i could go back to ati and download the driver for x 4.3.
now i am at the point where i am trying to uninstall the video driver for x 4.3 and replace it with the video driver for x 4.2, however i cant seem to uninstall it.


i been screwing with this thing for like 2-3 hours now heh.
anyone feel like vnc'ing in here and fixing this thing for me?

so you are trying to remove the older module?

what happens if you run rpm -q <packagename>
to see if the older package is really installed

replace <package name> with the name of the package you are trying to remove