[users] perl-DBD-mysql is missing a "Provides"

Dries Verachtert dries at ulyssis.org
Thu May 15 11:34:00 CEST 2008

On Thursday 15 May 2008 04:53:42 am Dave Miller wrote:
> Ralph Angenendt wrote on 2/20/08 11:08 AM:
> > for perl-DBD-mysql-4.006-1.el5.rf to act as an replacement for
> > perl-DBD-MySQL-3.0007-1.fc6 in el5, it needs to provide
> > perl-DBD-MySQL=4.006-1.el5.rf additionally to perl-DBD-mysql =
> > 4.006-1.el5.rf, as mysql-server requires the MySQL variant.
> >
> > And: Even with priorities turned on, it is shown alongside the CentOS5
> > variant because of the lowercase package name and can (no, not really)
> > be installed even if the perl-DBD-MySQL already is on the system.
> This one just bit me...  tried to install mysql-server and discovered I
> couldn't because I already had perl-DBD-mysql on the box.  Doesn't look
> like it's been fixed yet.

If i understand this correctly, then there's only one perl module 
called 'DBD-mysql', distributed at http://search.cpan.org/dist/DBD-mysql/
  and it's called perl-DBD-MySQL in rhel/centos and it's called perl-DBD-mysql 
in rpmforge.. I've added the following:

Obsoletes: perl-DBD-MySQL <= %{version}-%{release}
Provides: perl-DBD-MySQL = %{version}-%{release}

I hope this fixes the problem.

kind regards,

More information about the users mailing list