RPM is reading database incorrectly

Douglas Furlong douglas.furlong at firebox.com
Tue Mar 23 16:15:41 UTC 2004


I think it is more that the name of the original file is unimportant,
the package information is stored else where. I don't think that is
quite the same as saying the packaging information is unimportant, only
a small niggle but I think relivant.

The file name is arbitrary.

Doug
On Tue, 2004-03-23 at 14:51, Polashek, Matthew wrote:
> Excellent!  Thanks!  So the reason that the entire name of the RPM packaged
> file is not contained in the RPM database is that the packaging information
> is unimportant right?
> 
> Matthew Polashek
> Associate Editor, Silver Burdett Ginn - Music
> Scott Foresman/Pearson Education
> 299 Jefferson Road
> Parsippany, NJ 07054-0480
> office: 973.739.8709
> fax: 973.739.8098
> Matthew.Polashek at scottforesman.com
> 
> 
> > ----------
> > From: 	Matthew Saltzman
> > Reply To: 	For users of Fedora Core releases
> > Sent: 	Tuesday, March 23, 2004 9:46 AM
> > To: 	For users of Fedora Core releases
> > Subject: 	Re: RPM is reading database incorrectly
> > 
> > On Tue, 23 Mar 2004, Polashek, Matthew wrote:
> > 
> > > Anyone know why this happens?
> > >
> > > [root at 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 at 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 at 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 at redhat.com
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> > 
> > 
> > 
> > 
> ****************************************************************************
> This email may contain confidential material.
> If you were not an intended recipient, 
> please notify the sender and delete all copies.
> We may monitor email to and from our network.
> 
> ****************************************************************************
> 
> 





More information about the fedora-list mailing list