Bug 574955 - yum-3.2.27 released with fixes and updates please build
Summary: yum-3.2.27 released with fixes and updates please build
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-18 22:49 UTC by David
Modified: 2014-01-21 23:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-14 23:58:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David 2010-03-18 22:49:09 UTC
Description of problem:

yum-3.2.27 released with fixes and updates please build

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 David 2010-03-18 22:54:15 UTC
It also builds perfectly, as well as works...

Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/yum-3.2.27-1.fc11.i386
Generating signature: 1005
Wrote: /root/rpmbuild/SRPMS/yum-3.2.27-1.fc11.src.rpm
Generating signature: 1005
Wrote: /root/rpmbuild/RPMS/noarch/yum-3.2.27-1.fc11.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gQlQm6
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd yum-3.2.27
+ rm -rf /root/rpmbuild/BUILDROOT/yum-3.2.27-1.fc11.i386
+ exit 0
[root@three SPECS]#

Comment 2 seth vidal 2010-03-19 19:32:26 UTC
my biggest concern here is the set of changed things being a big movement for f11-stable.

You've built one - test it for a while longer - if it still seems okay -I'll get it in.

Comment 3 David 2010-03-19 21:33:51 UTC
It does require updated python-urlgrabber, for some reason everything stopped on F11 and not F12, but it also builds (all using F12 srpm) and installs and works.

In koji you build both packages, but just so you are aware.

Wrote: /root/rpmbuild/SRPMS/python-urlgrabber-3.9.1-4.fc11.src.rpm
Generating signature: 1005
Wrote: /root/rpmbuild/RPMS/noarch/python-urlgrabber-3.9.1-4.fc11.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cwdPOZ

Transaction Test Succeeded
Running Transaction
  Updating       : python-urlgrabber-3.9.1-4.fc11.noarch                    1/4 
  Updating       : yum-3.2.27-1.fc11.noarch                                 2/4 
  Cleanup        : python-urlgrabber-3.0.0-15.fc11.noarch                   3/4 
  Cleanup        : yum-3.2.24-2.fc11.noarch                                 4/4 

Updated:
  python-urlgrabber.noarch 0:3.9.1-4.fc11       yum.noarch 0:3.2.27-1.fc11      

Complete!

I been running this since yesterday, and heavily using yum, its all running well as faster than the old yum.

[root@three ~]# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything

[root@three ~]# yum update
Loaded plugins: refresh-packagekit
fedora/metalink                                          | 4.0 kB     00:00     
fedora                                                   | 3.8 kB     00:00     
fedora/primary_db                                        | 8.4 MB     00:07     
idb                                                      | 1.2 kB     00:00     
idb/primary                                              |  14 kB     00:00     
idb                                                                       36/36
rpmfusion-free                                           | 3.3 kB     00:00     
rpmfusion-free/primary_db                                | 276 kB     00:03     
rpmfusion-free-updates                                   | 3.8 kB     00:00     
rpmfusion-free-updates/primary_db                        | 446 kB     00:02     
rpmfusion-nonfree                                        | 3.3 kB     00:00     
rpmfusion-nonfree/primary_db                             |  77 kB     00:00     
rpmfusion-nonfree-updates                                | 3.8 kB     00:00     
rpmfusion-nonfree-updates/primary_db                     | 185 kB     00:01     
updates/metalink                                         | 4.7 kB     00:00     
updates                                                  | 4.4 kB     00:00     
updates/primary_db                                       | 5.4 MB     00:06     
updates-testing/metalink                                 |  27 kB     00:00     
updates-testing                                          | 4.4 kB     00:00     
updates-testing/primary_db                               | 587 kB     00:00     
Setting up Update Process
No Packages marked for Update

[root@three ~]# yum install python-devel
Loaded plugins: refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.i586 0:2.6-12.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch         Version                Repository       Size
================================================================================
Installing:
 python-devel         i586         2.6-12.fc11            updates         1.0 M

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 1.0 M
Installed size: 2.7 M
Is this ok [y/N]: y
Downloading Packages:
python-devel-2.6-12.fc11.i586.rpm                        | 1.0 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : python-devel-2.6-12.fc11.i586                            1/1 

Installed:
  python-devel.i586 0:2.6-12.fc11                                               

Complete!

[root@three ~]# yum reinstall python-devel
Setting up Reinstall Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.i586 0:2.6-12.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch         Version                Repository       Size
================================================================================
Reinstalling:
 python-devel         i586         2.6-12.fc11            updates         1.0 M

Transaction Summary
================================================================================
Remove        0 Package(s)
Reinstall     1 Package(s)
Downgrade     0 Package(s)

Total download size: 1.0 M
Installed size: 2.7 M
Is this ok [y/N]: y
Downloading Packages:
python-devel-2.6-12.fc11.i586.rpm                        | 1.0 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : python-devel-2.6-12.fc11.i586                            1/1 

Installed:
  python-devel.i586 0:2.6-12.fc11                                               

Complete!
[root@three ~]# yum remove python-devel
Loaded plugins: refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.i586 0:2.6-12.fc11 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch         Version               Repository        Size
================================================================================
Removing:
 python-devel         i586         2.6-12.fc11           @updates         2.7 M

Transaction Summary
================================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : python-devel-2.6-12.fc11.i586                            1/1 

Removed:
  python-devel.i586 0:2.6-12.fc11                                               

Complete!
[root@three ~]# ^C
[root@three ~]# yum list yum
Loaded plugins: refresh-packagekit
Installed Packages
yum.noarch               3.2.27-1.fc11                @/yum-3.2.27-1.fc11.noarch
[root@three ~]# yum list python-urlgrabber
Loaded plugins: refresh-packagekit
Installed Packages
python-urlgrabber.noarch  3.9.1-4.fc11   @/python-urlgrabber-3.9.1-4.fc11.noarch
[root@three ~]# 

I have probably used it 20 to 30 times without a hitch, and it seems to me to be about 20% faster than the older version.

Comment 4 David 2010-03-21 23:33:58 UTC
Just a follow up. I put the packages into our repo and installed on 8 machines. Everyone is working well, tried yum update, yum downgrade, yum install and yum remove all working well and much faster than before.

Comment 5 seth vidal 2010-03-22 13:31:42 UTC
pushing back both urlgrabber and yum (and yum-utils) on top of f11 fills me with a fair bit of dread, I must say.

There's a lot that could go wrong - not the least of which is koji and fedora packager clients that use urlgrabber.

And smolt :(

Comment 6 David 2010-03-22 21:23:54 UTC
Seth,

yum-3.2.27-0 (mybuild) builds and runs perfectly if you set in the spec file:

Requires: python-urlgrabber >= 3.0.0-15

This way yum runs with the latest and current urlgrabber in F11

I found maybe 20% yum speed increase with yum alone, but updating urlgrabber gave another 20%

Do you want my spec file?  Its simply your F12 one, with the urlgrabber version set to 3.0.0-15

I built it this way.

Comment 7 Peter Hjalmarsson 2010-03-23 09:37:23 UTC
This version breaks searching in PackageKit-0.6.2-1 in Fedora 13... 

Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 391, in _do_search
    for (pkg, inst) in res:
ValueError: too many values to unpack

Comment 8 David 2010-03-23 10:49:17 UTC
Interesting as in F11 searching in packagekit works, must be packagekit related.

Comment 9 David 2010-03-23 10:55:22 UTC
Actually your right! Sorry that machine had a old yum. Every machine running this version I get:

line 363 in /usr/share/PackageKit/helpers/yum/yumBackend.py

too many variables to unpack

Comment 10 David 2010-03-23 10:59:17 UTC
It's not packagekit related as on F11 running 0.49-1

I tried building a yum-3.2.26 and it behaves, so it's something in 3.2.27

Comment 11 seth vidal 2010-03-23 13:00:48 UTC
Peter,
 I need you to open a new bug on this one please, immediately.

Apparently we're handing back something unexpected but I don't know what.

Comment 12 Peter Hjalmarsson 2010-03-23 13:29:40 UTC
(In reply to comment #11)
> Peter,
>  I need you to open a new bug on this one please, immediately.
> 

filed as bug #576169

Comment 13 David 2010-03-23 21:39:04 UTC
Seth,

yum-3.2.27-2 works perfectly on F11 also with the patch.

Comment 14 David 2010-04-01 04:50:23 UTC
Hi Seth,

Any update on yum-3.2.27-2 for F11?  I last mentioned I built using the old current version of Requires: python-urlgrabber >= 3.0.0-15 in the spec

I have it on 8 machines and its been flawless.  I built using your -2 package as this fixed the PackageKit bug.

I really like the speed of this yum and if you play around with rpm it tells you the db been altered outside of yum.

I can drop you my sprm if you want?

Comment 15 James Antill 2010-04-01 14:06:17 UTC
The problem is that it's so close to the end of life for F11, and that the update contains so many changes. Also while there are no known problems with using the latest yum and the F11 urlgrabber, it's not been tested anywhere near as much.

Personally I have yum-3.2.27-3.fc14.noarch installed on my last F11 machine here (with python-urlgrabber-3.9.0, and python-pycurl from F11), and it seems to work fine. But there's still a big difference between that and giving it out to over 100,000 users.

Comment 16 seth vidal 2010-04-01 14:13:08 UTC
David,
 there are two pieces that give me pause:

1. the ver of yum would need a couple of things patched out to deal with the more interesting uses of yum/urlgrabber that were enabled in f12 and beyond - specifically the ssl options.

2. if we backport urlgrabber have to check/fix/etc a bunch of other tools that use it (smolt and koji client come to mind)

I'm happy to put a repo of yum-3.2.27 for F11 up somewhere - including urlgrabber - but I'm not so thrilled with dropping it on users who, otherwise, don't need it.

Comment 17 Bug Zapper 2010-04-28 11:58:17 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.