Sender: |
|
Date: |
Thu, 26 May 2011 16:22:51 +0200 |
Reply-To: |
|
Content-Transfer-Encoding: |
7bit |
Subject: |
|
From: |
|
Content-Type: |
text/plain; charset="iso-8859-1" |
In-Reply-To: |
|
Organization: |
KIT SCC |
MIME-Version: |
1.0 |
Parts/Attachments: |
|
|
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
|
|
|