Bug 754641

Summary: Upgrade path breakage on perl-Module-CoreList with F15->16
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: perlAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 16CC: cweyl, djuran, iarnell, kasal, kdekorte, lkundrak, mmaslano, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-5.14.2-191.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 00:59:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mamoru TASAKA 2011-11-17 08:12:44 UTC
Description of problem:
Build                                     Tag                   Built by
----------------------------------------  --------------------  ----------------
perl-5.12.4-162.fc15                      dist-f15-updates      ppisar
[mtasaka@localhost hacks]$ koji latest-pkg f16-build perl
Build                                     Tag                   Built by
----------------------------------------  --------------------  ----------------
perl-5.14.2-190.fc16                      f16-updates           ppisar

perl-5.12.4-162.fc15 builds perl-Module-CoreList-2.50-162.fc15
perl-5.14.2-190.fc16 builds perl-Module-CoreList-2.49-190.fc16, which is
lower than F-15 ones.
There was a bug report on Japanese 2ch BBS that this issue prevented perl
from being upgraded with F-15->F-16:
http://hibari.2ch.net/test/read.cgi/linux/1312563024/897

Comment 1 Mamoru TASAKA 2011-11-17 08:17:39 UTC
Note:

perl-5.14.2-190.fc16
http://koji.fedoraproject.org/koji/buildinfo?buildID=272123

perl-5.12.4-162.fc15
http://koji.fedoraproject.org/koji/buildinfo?buildID=267089

Comment 2 Petr Pisar 2011-11-18 09:24:57 UTC
Thanks for spotting it. This is upstream issue:

$ grep '\$VERSION\s*=' perl-5.{12.4,14.2}/lib/Module/CoreList.pm 
perl-5.12.4/lib/Module/CoreList.pm:$VERSION = '2.50';
perl-5.14.2/lib/Module/CoreList.pm:$VERSION = '2.49_02';

I will fix it by bumping epoch number for this particular sub-package.

Comment 3 Petr Pisar 2011-11-18 10:35:51 UTC
F17--16 affected.

Comment 4 Fedora Update System 2011-11-18 10:52:41 UTC
perl-5.14.2-191.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/perl-5.14.2-191.fc16

Comment 5 Fedora Update System 2011-11-19 06:05:05 UTC
Package perl-5.14.2-191.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-5.14.2-191.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16131/perl-5.14.2-191.fc16
then log in and leave karma (feedback).

Comment 6 Kevin DeKorte 2011-12-05 14:32:31 UTC
I'm not sure that perl properly removed perl-Module-CoreList

When I try remove perl-Module-CoreList it wants to take stuff with it.

sudo yum remove perl-Module-CoreList
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package perl-Module-CoreList.noarch 0:2.50-163.fc15 will be erased
--> Processing Dependency: perl(Module::CoreList) for package: perl-Padre-0.86-5.fc16.noarch
--> Processing Dependency: perl(Module::CoreList) for package: perl-Module-Install-1.01-2.fc16.noarch
--> Running transaction check
---> Package perl-Module-Install.noarch 0:1.01-2.fc16 will be erased
---> Package perl-Padre.noarch 0:0.86-5.fc16 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                  Arch       Version              Repository       Size
================================================================================
Removing:
 perl-Module-CoreList     noarch     2.50-163.fc15        @updates/15     1.1 M
Removing for dependencies:
 perl-Module-Install      noarch     1.01-2.fc16          @anaconda-0     377 k
 perl-Padre               noarch     0.86-5.fc16          @anaconda-0     4.1 M

Transaction Summary
================================================================================
Remove        3 Packages

Installed size: 5.6 M
Is this ok [y/N]: n



sudo yum info perl-Module-CoreList perl
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
Name        : perl
Arch        : x86_64
Epoch       : 4
Version     : 5.14.2
Release     : 190.fc16
Size        : 34 M
Repo        : installed
From repo   : anaconda-0
Summary     : Practical Extraction and Report Language
URL         : http://www.perl.org/
License     : (GPL+ or Artistic) and (GPLv2+ or Artistic) and Copyright Only and
            : MIT and Public Domain and UCD
Description : Perl is a high-level programming language with roots in C, sed,
            : awk and shell scripting.  Perl is good at handling processes and
            : files, and is especially good at handling text.  Perl's hallmarks
            : are practicality and efficiency. While it is used to do a lot of
            : different things, Perl's most common applications are system
            : administration utilities and web programming.  A large proportion
            : of the CGI scripts on the web are written in Perl.  You need the
            : perl package installed on your system so that your system can
            : handle Perl scripts.
            : 
            : Install this package if you want to program in Perl or enable your
            : system to handle Perl scripts.

Name        : perl-Module-CoreList
Arch        : noarch
Version     : 2.50
Release     : 163.fc15
Size        : 1.1 M
Repo        : installed
From repo   : updates
Summary     : Perl core modules indexed by perl versions
URL         : http://www.perl.org/
License     : GPL+ or Artistic
Description : Module::CoreList contains the hash of hashes
            : %Module::CoreList::version, this is keyed on perl version as
            : indicated in $].  The second level hash is module => version
            : pairs.

Comment 7 Kevin DeKorte 2011-12-05 16:17:57 UTC
My problem could be fixed by choosing yum downgrade perl-Module-Corelist

So it appears the Module-Corelist package needs a version bump.


sudo yum downgrade perl-Module-CoreList
[sudo] password for kdekorte: 
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Downgrade Process
Resolving Dependencies
--> Running transaction check
---> Package perl-Module-CoreList.noarch 0:2.49-190.fc16 will be a downgrade
---> Package perl-Module-CoreList.noarch 0:2.50-163.fc15 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch        Version               Repository    Size
================================================================================
Downgrading:
 perl-Module-CoreList      noarch      2.49-190.fc16         updates       78 k

Transaction Summary
================================================================================
Downgrade     1 Package

Total download size: 78 k
Is this ok [y/N]: y
Downloading Packages:
perl-Module-CoreList-2.49-190.fc16.noarch.rpm            |  78 kB     00:00     
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : perl-Module-CoreList-2.49-190.fc16.noarch                    1/2 
  Cleanup    : perl-Module-CoreList-2.50-163.fc15.noarch                    2/2 

Removed:
  perl-Module-CoreList.noarch 0:2.50-163.fc15                                   

Installed:
  perl-Module-CoreList.noarch 0:2.49-190.fc16                                   

Complete!
[kdekorte@quad ~]$ sudo yum upgrade
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Upgrade Process
No Packages marked for Update

Comment 8 Petr Pisar 2011-12-05 17:49:38 UTC
Kevin, you do not still have the updated perl-Module-CoreList available, thus you cannot see the change I've made.

If you enabled updates-testing repository for F16, you could see:

# repoquery --qf '%{SOURCERPM}/%{NEVRA}' perl-Module-CoreList
perl-5.14.2-191.fc16.src.rpm/perl-Module-CoreList-1:2.49-191.fc16.noarch

Please note the epoch number (the `1' before colon).

The package is still stuck in updates-testing repository:

$ koji list-tag-history --build=perl-5.14.2-191.fc16
Fri Nov 18 11:50:55 2011: perl-5.14.2-191.fc16 tagged into f16-updates-candidate by ppisar
Fri Nov 18 11:52:50 2011: perl-5.14.2-191.fc16 tagged into f16-updates-testing-pending by bodhi
Fri Nov 18 19:07:47 2011: perl-5.14.2-191.fc16 untagged from f16-updates-candidate by bodhi
Fri Nov 18 19:07:47 2011: perl-5.14.2-191.fc16 tagged into f16-updates-testing by bodhi [still active]
Fri Nov 18 19:14:27 2011: perl-5.14.2-191.fc16 untagged from f16-updates-testing-pending by bodhi
Mon Dec  5 10:56:16 2011: perl-5.14.2-191.fc16 tagged into f16-updates-pending by bodhi [still active]

I've asked the release engineers this morning to push this package into stable updates repository. So after the package becomes there or your enable the updates-testing repository, you should see updated package with higher EVRA string.

Comment 9 Fedora Update System 2011-12-06 00:59:02 UTC
perl-5.14.2-191.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.