Re: What could cause this situation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andre,

I got the same results with commands as you
recommended.  The point is that although I can see the
mysqld-max is running, rpm -qf suggests a package name
for what is running, I cannot see the package in my
system!  I think that I deleted the rpm, and somehow
the package information was removed from rpm data
base.  

What concerns me is how this will affect the process
of future upgrades from mysql rpm's.  If I understand
the issues correctly rpm manager not finding the
necessary information in its data base will not be
able to apply the upgrade correctly.  

How can I fix this?  Can I fix it by downloading the
rpm, and trying an update to the already installed
package, just to rebuild the database?




--- Andre Costa <acosta@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, 13 Dec 2003 14:24:48 -0800 (PST)
> Leila Lappin <damovand@xxxxxxxxx> wrote:
> 
> >  
> > Initially I posted a question about not being able
> to
> > find any MySQL package information through rpm
> system.
> >  I have done some investigation and have more
> specific
> > information now.  It seems as though the package
> > information was somehow removed from rpm data
> base. 
> > The following is what I've done the results I got.
>  I
> > can find the name of the rpm file that is
> associated
> > with the version of MySQL I'm running.  But that
> rpm
> > file is nowhere in my system!  Furthermore, I
> cannot
> > get any information about the rpm from rpm
> manager, as
> > if something just wiped out the rpm from my
> system! 
> > What could have happened and how can I go about
> > rebuilding the information?  Thank you in advance 
> >  
> >  
> > $ ps -awx | grep mys* 
> 
> Beware: this is wrong. The _shell_ will interpret
> '*' and try to expand
> mys* to filenames that follow this pattern -- and
> will probably fail.
> 
> Try this instead:
> 
> ps -axw | grep -i mysql
> 
> This should list all packages installed which have
> 'mysql' as a
> substring, regardless of case-folding (hint: 'man
> grep' is your friend)
> 
> [...]
> > $ rpm -qi MySQL-4.0.12-0.src.rpm 
> >               ^^^^^^^^^^^^^^^^^^^^^^^^ 
> > $ package MySQL-4.0.12-0.src.rpm is not installed 
> 
> When trying to query package info, don't use the
> _package file name_ to
> obtain the info. 'rpm -qi MySQL' should give you the
> info ou need.
> 
> HTH
> 
> Andre
> 
> -- 
> Andre Oliveira da Costa
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux