Bug 679966

Summary: mysql-libs 5.1.55-1 now require perl installation
Product: [Fedora] Fedora Reporter: Massimiliano <massi.ergosum>
Component: mysqlAssignee: Tom Lane <tgl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 13CC: bnocera, hhorak, otte, tgl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-26 13:27:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Massimiliano 2011-02-23 23:52:30 UTC
Today I run a yum update. The mysql-libs package shows an update to 5.1.55-1.fc13 version. It requires the installation of perl:

# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.switch.ch
 * rpmfusion-free: mirror.switch.ch
 * rpmfusion-free-updates: mirror.switch.ch
 * rpmfusion-nonfree: mirror.switch.ch
 * rpmfusion-nonfree-updates: mirror.switch.ch
 * updates: mirror.switch.ch
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-libs.i686 0:5.1.55-1.fc13 set to be updated
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.10.1-121.fc13.i686
--> Processing Dependency: perl(threads::shared) >= 1.21 for package: 4:perl-5.10.1-121.fc13.i686
---> Package perl.i686 4:5.10.1-121.fc13 set to be updated
---> Package perl-Module-Pluggable.i686 1:3.90-121.fc13 set to be updated
---> Package perl-Pod-Escapes.i686 1:1.04-121.fc13 set to be updated
---> Package perl-Pod-Simple.i686 1:3.07-121.fc13 set to be updated
---> Package perl-libs.i686 4:5.10.1-121.fc13 set to be updated
--> Running transaction check
---> Package perl-threads-shared.i686 0:1.29-121.fc13 set to be installed
--> Finished Dependency Resolution

Why perl is needed?

Comment 1 Tom Lane 2011-02-24 00:34:20 UTC
Hmm ... it's not supposed to be, I don't think.  This may be a side effect of the recent changes in RPM's dependency extraction logic.

Comment 2 Tom Lane 2011-02-26 01:42:19 UTC
Hm, were you using the standard Fedora repository?  The copy of mysql-libs-5.1.55-1.fc13.i686.rpm that I pulled from http://download.fedora.redhat.com/pub/fedora/linux/updates/13/i386/ does not appear to contain any perl requires symbols.

I suspect that you would get a result like the above if the f13 SRPM were built using the most recent RPM version (which has got changes in the dependency-finding features).  However, the Fedora project should not be producing any such packages.  I'm not really excited about changing back branches to work with toolchain versions other than the one they're intended for, either.

Comment 3 Massimiliano 2011-02-26 13:22:03 UTC
After your comment I suspect that it can be an issue related to repos or cached data. So:

# yum clean all

# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: fedora.mirror.garr.it
 * rpmfusion-free: mirror.switch.ch
 * rpmfusion-free-updates: mirror.switch.ch
 * rpmfusion-nonfree: mirror.switch.ch
 * rpmfusion-nonfree-updates: mirror.switch.ch
 * updates: mirror.switch.ch
repo id                                        repo name                                                         status
fedora                                         Fedora 13 - i386                                                  16,814
rpmfusion-free                                 RPM Fusion for Fedora 13 - Free                                   400
rpmfusion-free-updates                         RPM Fusion for Fedora 13 - Free - Updates                         953
rpmfusion-nonfree                              RPM Fusion for Fedora 13 - Nonfree                                134
rpmfusion-nonfree-updates                      RPM Fusion for Fedora 13 - Nonfree - Updates                      346
updates                                        Fedora 13 - i386 - Updates                                        7,321
repolist: 25,968

# yum -v repolist 'fedora*'
Not loading "blacklist" plugin, as it is disabled
Loading "fastestmirror" plugin
Loading "refresh-packagekit" plugin
Not loading "whiteout" plugin, as it is disabled
Config time: 0.092
Yum Version: 3.2.28
Loading mirror speeds from cached hostfile
 * fedora: mirror.leaseweb.com
 * rpmfusion-free: lnx.apollo-hw.ro
 * rpmfusion-free-updates: lnx.apollo-hw.ro
 * rpmfusion-nonfree: lnx.apollo-hw.ro
 * rpmfusion-nonfree-updates: lnx.apollo-hw.ro
 * updates: ftp.uni-koeln.de
Setting up Package Sacks
pkgsack time: 0.266
Repo-id      : fedora
Repo-name    : Fedora 13 - i386
Repo-status  : enabled
Repo-revision: 1274231622
Repo-tags    : binary-i386
Repo-distro-tags: [cpe:/o:fedoraproject:fedora:13]: rawhide
Repo-updated : Wed May 19 03:47:53 2010
Repo-pkgs    : 16,814
Repo-size    : 18 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=fedora-13&arch=i386
  Updated    : Wed May 19 03:47:53 2010
Repo-expire  : 604,800 second(s) (last: Sat Feb 26 13:48:53 2011)

Repo-id      : updates
Repo-name    : Fedora 13 - i386 - Updates
Repo-status  : enabled
Repo-revision: 1298680776
Repo-tags    : binary-i386
Repo-updated : Sat Feb 26 04:30:31 2011
Repo-pkgs    : 7,321
Repo-size    : 10 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=updates-released-f13&arch=i386
  Updated    : Sat Feb 26 04:30:31 2011
Repo-expire  : 21,600 second(s) (last: Sat Feb 26 13:49:54 2011)

repolist: 24,135

# rpm -qa | grep ^rpm
rpm-4.8.1-2.fc13.i686
rpmfusion-nonfree-release-13-3.noarch
rpm-libs-4.8.1-2.fc13.i686
rpmfusion-free-release-13-3.noarch
rpm-python-4.8.1-2.fc13.i686

# yum update 'mysql*'
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.nl.as6453.net
 * rpmfusion-free: rpmfusion.famillecollet.com
 * rpmfusion-free-updates: rpmfusion.famillecollet.com
 * rpmfusion-nonfree: rpmfusion.famillecollet.com
 * rpmfusion-nonfree-updates: rpmfusion.famillecollet.com
 * updates: mirror.nl.as6453.net
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-libs.i686 0:5.1.55-1.fc13 set to be updated
--> Finished Dependency Resolution

Now mysql-libs seems not to require other dependencies.
Thanks