On Thu, 27 Jan 2005 10:14:49 -0800 Randall R Schulz <rschulz@sonic.net> wrote:
Mikus,
On Thursday 27 January 2005 07:17, Mikus Grinbergs wrote:
Running SuSE 9.2. Wanted to use the features of the ATI proprietary video driver. Installed fglrx_6_8_0-8.8.25-1.i386.rpm
But the ATI driver did not access the AGP on my A7N8X-E board. Tried various things, including reinstall/recompile of the driver. In the process, I've managed to bring 'rpm' into a confused state:
If I do 'rpm -q fglrx' it responds "package fglrx is not installed".
So most likely the package named "fglrx" is not installed.
Thank you for your advice below - then it makes sense how 'rpm -q fglrx' responds. But I'm almost SURE that the very first time I installed this package, and did 'rpm -q fglrx', the response was the full 29-character (or so) package name.
If I do 'rpm -e fglrx_6_8_0-8.8.25-1.i386.rpm' it responds "package fglrx_6_8_0-8.8.25-1.i386.rpm is not installed".
Erasing a package requires the package name, not the RPM file name.
You're right. A thingy gets installed using the name of the "PACKAGE_FILE", but to get it de-installed one must supply the "PACKAGE_NAME". I guess that's just part of learning Linux syntax.
Furthermore, the packge name is "fglrx_6_8_0", not "fglrx". The package version suffix is "-8.8.25-1". Try:
% rpm -e fglrx_6_8_0
Thank you. I guess I have a lot to learn about Linux syntax.
If I do 'rpm -Uv fglrx_6_8_0-8.8.25-1.i386.rpm' it responds "package fglrx_6_8_0-8.8.25-1.i386.rpm' is already installed".
RPM is telling you cannot "upgrade" to the same version already installed.
My point here was *not* to perform the upgrade, but to illustrate what to me seemed OPPOSITE responses ("not installed" vs. "already installed") when I used the same (but now I see improper) string as the name of the thingy to be deleted or to be installed.
Running 'rpm --rebuilddb' does not help. How do I "reset" the 'rpm' database to allow me to erase this package, and install it anew ?
Probably there is nothing wrong with your RPM database, just with the way you're invoking the various RPM commands.
Well, I must have read 'man rpm' more than twenty times. It tells me how to "Display trigger suffix" (whatever the h___ that means!), but does not warn me about what is part of the package name vs. what is part of the version name. Did somebody say that learning Linux is easy ? Thanks for pointing things out to me, mikus