SCIENTIFIC-LINUX-USERS Archives

May 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Andreas Petzold <[log in to unmask]>
Reply To:
Andreas Petzold <[log in to unmask]>
Date:
Thu, 26 May 2011 16:22:51 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
On Thursday, May 26, 2011 16:03:31 Stefan Eriksson wrote:
> torsdagen den 26 maj 2011 14.38.32 skrev du:
> > 	Hi,
> > 
> > On Thursday, May 26, 2011 14:03:06 Stefan Eriksson wrote:
> > > Hi I've just now installed a minimal installation but still there is a
> > > file called /etc/my.cnf
> > > 
> > > ls -l  /etc/my.cnf
> > > -rw-r--r--. 1 root root 251 20 jan 23.36 /etc/my.cnf
> > > 
> > > I have never installed mysql-server on this system.
> > 
> > you can ask RPM which package this file belongs to:
> > 
> > rpm -qf /etc/my.cnf
> > 
> > If the file doesn't belong to an RPM, it gets a little tricky.
> > 
> > 	Cheers,
> > 	
> > 		Andreas
> 
> Thanks  seems like mysql-libs-5.1.52-1.el6_0.1.x86_64
> 
> rpm -qf /etc/my.cnf
> mysql-libs-5.1.52-1.el6_0.1.x86_64
> 
> I'm guessing this is installed per default.

there's no need to guess :-) . Simply run

repoquery --whatrequires mysql-libs

and it will tell you which installed RPMs require mysql-libs. If nothing comes 
up, then you either explicitly requested the RPM or it is in the default list 
of packages.

repoquery is provided by the yum-utils package. 

	Cheers,

		Andreas

ATOM RSS1 RSS2