On Wed, 2 Oct 2002, Matthew Moen wrote:
> rpm -qa | gzip -9 > rpm-qalisting.gz
gaaak !!! Please -- no attachments in a list server -- Post
it up to a website, if you must, and list the URL here --
http://www.tuxedo.org/~esr/faqs/smart-questions.html#volume
-- but the statement that there is a problem, with no
indication of the flavor of the error message, encourages
meaningless speculation and voodoo sysadmin. From the posting
so far, I see NO indication that the subject line diagnosis
has ANY relation to reality. I have written on the topic a
couple of times:
http://www.rpm.org/hintskinks/repairdb/
http://www.rpm.org/hintskinks/requires/
but the problem statement is nowhere near a damaged RPM
database.
> I have
> been trying to install some rpm files and it tells me the rpm -ivh
> command will not work because the rpm is already installed. If I query
> the rpm or try to verify it it says it is not installed. The same goes
> for removing (-e) the rpm it says the rpm file is not installed.
Imprecise English resulting in an unclear and vague referant
("some rpm files", "the rpm it says the rpm" -- sources,
binaries, random street sweepings; who knows?), no mention of
distribution, no hint of release, third party proprietary
packages for RealPlayer and NVidia, no indication of reference
to the -v options, no mention of perusal of the man pages of
the documentation accompanying the package, and no mention of
research at http://www.rpm.org, the mailing list for this
topic,
http://www.tuxedo.org/~esr/faqs/smart-questions.html#uselists
or Google, and so forth.
Playing the guessing game is a Windows thing; being an enabler
just perpetuates long drawn out 'debugging' by waving a rubber
chicken at the underlying problem of a poor problem statement.
http://www.tuxedo.org/~esr/faqs/smart-questions.html#before
> Seriously does anyone have any advice here to get this thing ( the rpm
> database ) straightened out?
The problem is almost certainly operator error in not reading
the documentation with understanding, in that a bad form of
the query option or removal option, containing the version,
release, or fullname, but the initial poster has offered no
clue as to what is being typed, beyond a non-existent option:
> I did run the rpm command to rebuild the database (rpm -dbrebuild)
which is NOT the command nor ANY command valid for any version
of RPM. We could speculate forever, or the original poster
could do some homework and ask a 'smart question.'
-- Russ Herrold
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:32:48 EDT