Re: RPM is reading database incorrectly

From: Matthew Saltzman (mjs_at_ces.clemson.edu)
Date: 03/23/04

  • Next message: Polashek, Matthew: "RE: RPM is reading database incorrectly"
    Date: Tue, 23 Mar 2004 09:46:52 -0500 (EST)
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Tue, 23 Mar 2004, Polashek, Matthew wrote:

    > Anyone know why this happens?
    >
    > [root@localhost RPMs]# rpm -e xmms-alsa-1.2.8-3.2.fr.i386.rpm
    > error: package xmms-alsa-1.2.8-3.2.fr.i386.rpm is not installed
    > [root@localhost RPMs]# rpm -i xmms-alsa-1.2.8-3.2.fr.i386.rpm
    > warning: xmms-alsa-1.2.8-3.2.fr.i386.rpm: V3 DSA signature: NOKEY, key
    > ID e42d547b
    > package xmms-alsa-1.2.8-3.2.fr is already installed
    > [root@localhost RPMs]#
    >
    > When I run rpm -q xmms-alsa, the output indicates that xmms-alsa-1.2.8 is
    > installed. Why does this happen and how do I fix it? I can't seem to find
    > this particular problem anywhere in the ether.

    The answer is contained in the question.

    "rpm -q xmms-alsa" finds the RPM in the database, but
    "rpm -e xmms-alsa-1.2.8-3.2.fr.i386.rpm" does not. Do you see the
    difference?

    Hint: What happens if you try "rpm -e xmms-alsa"?

    Now, "rpm -i xmms-alsa-1.2.8-3.2.fr.i386.rpm" needs the name of the RPM
    *file* because the RPM isn't in the database before you install it, but
    "rpm -q xmms-alsa" and "rpm -e xmms-alsa" need the name of the RPM
    itself, because they are looking in the database for RPMs that are already
    there.

    -- 
    		Matthew Saltzman
    Clemson University Math Sciences
    mjs AT clemson DOT edu
    http://www.math.clemson.edu/~mjs
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Polashek, Matthew: "RE: RPM is reading database incorrectly"

    Relevant Pages

    • How to build a VAX/VMS emulator on Fedora Core 3 Linux
      ... make install the libpcap for ethernet support on VAX emulator ... Is the OpenVMS media ready to be mounted? ... * Do you want to install the MSGHLP database? ... Message from user AUDIT$SERVER on NEWBB ...
      (alt.os.linux.redhat)
    • Re: Need technique to programatically update back end structure / relationships
      ... Yes, that should work, Bob. ... Install the new one. ... > have the user rename the current production database (after taking a ... > final step of the installation process, I would ask the user to execute ...
      (microsoft.public.access.tablesdbdesign)
    • Re: Error: Cannot find a valid Windows XP Embedded database installed
      ... Both the database and tools are Eval or Retail? ... Microsoft Windows XP Embedded Test Team ... Well, in fact it has a network connection, and it's working without any ... if I install everything in the same computer (tools and ...
      (microsoft.public.windowsxp.embedded)
    • Re: DBD::Informix -- Error Installing On Mac OSX
      ... the environment correctly, as long as the module reasonably clearly ... working Informix environment than to test for things that might not be ... use either the sysmaster database or the informix user to install ...
      (comp.databases.informix)
    • Re: User Rights Assignment - not available - Resolved
      ... Then copy the security file from the \windows\repair ... If none of that works I would try an upgrade/repair install ... shows user rights and use the Resource Kit command line tool NTrights to ... This operation may find that this database is corrupt ...
      (microsoft.public.windowsxp.security_admin)