Package Details: yum 3.4.3-8

Git Clone URL: (read-only, click to copy)
Package Base: yum
Description: a popular channel based package manager for RPM distros.
Upstream URL:
Keywords: fedora python yum
Licenses: GPL
Submitter: None
Maintainer: prg
Last Packager: prg
Votes: 65
Popularity: 0.002998
First Submitted: 2009-01-08 18:02 (UTC)
Last Updated: 2022-02-25 15:33 (UTC)

Latest Comments

MarsSeed commented on 2022-02-25 17:03 (UTC) (edited on 2022-02-25 17:04 (UTC) by MarsSeed)

@prg don't worry, I'm not here to be trolling you or anyone else.

Also it wasn't me who wrongly flagged this package as out-of-date.

prg commented on 2022-02-25 15:16 (UTC)

@MarsSeed. Right. And this is version 3.4.3. The package is up to date. Please stop flagging it...

Just because a tool is old doesn't mean that it stops working. By that logic, everyone should uninstall openbox immediately, but oh wait - it's a package in [community]...

MarsSeed commented on 2022-02-25 11:38 (UTC) (edited on 2022-02-25 14:47 (UTC) by MarsSeed)

@prg sure, if you live in the past. :)

Latest yum v3.4.3 release date: June 28, 2011.

MarsSeed commented on 2022-02-15 19:18 (UTC)

Missing dependency: urlgrabber.

prg commented on 2021-07-05 17:23 (UTC) (edited on 2021-07-05 17:23 (UTC) by prg)

joaquinito2051 flagged yum out-of-date on 2021-06-28 for the following reason:

Yum obsoleted.

This should not be marked out of date. Yum is still functional and the best tool for certain scenarios. Please stop flagging pacakges out of date because you don't have a personal use for them. Yum 3.4.3 is the latest version of yum. Until a new version of yum is released, please stop flagging up-to-date and functional yum and other yum related packages out of date.

anatolik commented on 2020-02-02 05:51 (UTC)

Could you please add dependency to 'python2-rpm' package?

omgold commented on 2019-04-25 06:20 (UTC)

Since urlgrabber was updated to 4.0, yum fails with metalinks. See:

kuklinistvan commented on 2019-01-18 10:13 (UTC) (edited on 2019-01-18 10:15 (UTC) by kuklinistvan)

I suggest bundling this patch in the AUR repository to avoid the unreliable download.

Usage: clone the AUR package and the file above, run patch < aur.patch or git apply aur.patch in its directory, then makepkg as usual.

In short:

git clone
cd yum
git apply aur.patch
makepkg -sr

nishantvarma commented on 2018-02-15 15:04 (UTC) (edited on 2018-02-15 15:05 (UTC) by nishantvarma)

Is it working now? It seems a bit broken :( The yum and the patch source is not downloading ... Probably we need a better way to do this?

axil42 commented on 2017-08-19 12:32 (UTC)

Thanks for the heads up, I pushed a fix and bumped the pkgrel.

jamincollins commented on 2017-08-17 14:13 (UTC)

The following patch fixes the build: diff --git a/PKGBUILD b/PKGBUILD index b3335d2..2a497e0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -15,7 +15,7 @@ url="" groups=('system') depends=('python2' 'intltool' 'urlgrabber' 'rpm-org' 'python2-pysqlite' 'yum-metadata-parser' 'python2-iniparse' 'python2-pyliblzma') source=("${pkgver}.tar.gz" - "yum.patch::" + "yum.patch::" 'remove-init-dir-makefile.patch') md5sums=('7c8ea8beba5b4e7fe0c215e4ebaa26ed' '3ed35721daf75fd56590bd2d2b993ddc'

jamincollins commented on 2017-08-17 13:49 (UTC)

It's not so much removed as moved: Note: their server appears to be rather slow.

omgold commented on 2017-08-17 08:04 (UTC)

Seems the patch file has been removed from the server: curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading Aborting...

axil42 commented on 2015-08-29 14:34 (UTC)

Oops, fixed. Did not bump release.

max-k commented on 2015-08-28 12:20 (UTC)

Hi, You accidentally removed the f in patch URL : yum.patch::" Instead of : yum.patch:: Please update.

axil42 commented on 2015-08-27 21:27 (UTC)

I cleaned up the PKGBUILD a bit and updated the md5sum. Pushed a -6 release.

aLostEngineer commented on 2015-08-26 13:23 (UTC)

MD5 for yum-head.patch?h=f21 (second sum in md5 list) needs to be updated. Correct MD5 is 3ed35721daf75fd56590bd2d2b993ddc

rastersoft commented on 2015-08-24 20:08 (UTC)

I receive this error: yum-HEAD.patch?h=f21 ... FAILED

commented on 2015-03-07 19:43 (UTC)

Wrong location for this file: /yum-cron.service

axil42 commented on 2015-02-04 10:21 (UTC)

@dape how is this a yum packaging issue? The error you provided is from the rpm-org package.

dape commented on 2015-02-03 18:37 (UTC)

==> Making package: rpm-org (Tue Feb 3 20:30:15 EET 2015) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading rpm- % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:04:29 --:--:-- 0curl: (56) Recv failure: Connection reset by peer ==> ERROR: Failure while downloading rpm- Aborting... ==> ERROR: Makepkg was unable to build rpm-org.

robtaylor commented on 2014-10-31 10:41 (UTC)

Thanks Axilleas :)

axil42 commented on 2014-10-22 14:29 (UTC)

Thanks Rob, updated with your changes :)

robtaylor commented on 2014-10-22 13:45 (UTC)

I have some updates for yum: 1) Apply fedora's big patch It appears that yum development continues although there hasn't been an offical release for a very long time. To fix this, fedora maintains a big patch that brings their version roughly up to HEAD. We should use this for modern yum functionality, like --downloaddir 2) Support xz compression currently used in Rawhide. This was just a matter of adding a depend on python2-pyliblzma You can find the updated PKGBUILD with these changes at I hope you find these changes useful and update the package :) Thanks Rob

andreas_baumann commented on 2014-06-03 19:23 (UTC)

Just in case somebody else stumbles over this: I hit a nasty bug: yum install yum I got: required to run yum. The error leading to this problem was: No module named _rpm The reason was a leftover file in /usr/lib/python2.7/rpm/__init__.pyc. No clue how this one got there.. Anyway, after deleting that cached python file yum was working perfectly.. :-)

nicolasavru commented on 2013-09-16 04:41 (UTC)

Replacing line 1539 in /usr/lib/python2.7/site-packages/urlgrabber/ with if cur > (float(max_size)*1.10): worked for me.

ivenvd commented on 2013-07-01 11:43 (UTC)

I encounter with this bug with using yum: A regression?

pnorcks commented on 2013-06-05 23:59 (UTC)

There is a script in /usr/sbin that should be installed in /usr/bin. See . Or, since Arch does not officially support sysvinit anymore, perhaps the init script and the script in /usr/sbin can be replaced with a systemd service?

haagch commented on 2013-06-03 22:17 (UTC)

So I just installed this and still ran into this urlgrabber issue: I did manually edit to add the cast to int() and it worked for me. I did not look whether it is urlgrabber's task to return it as int or not, but it seems an easy enough patch.

AlD commented on 2013-01-15 13:06 (UTC)

Updated the PKGBUILD to incorporate the required changes mentioned in comments.

fmunozs commented on 2013-01-15 07:59 (UTC)

Disowned, I'm unable to test changes at the moment, please adopt!

zootboy commented on 2013-01-07 01:52 (UTC)

Just as a quick note, if you get the "/bin/install" errors, you have to symlink /usr/bin/install to bin like this: sudo ln -s /usr/bin/install /bin/install It seems there is a hard-coded /bin/install line somewhere.

hav3lock commented on 2012-11-13 09:05 (UTC)

python-pysqlite needs to be replaced with python2-pysqlite, I believe.

ArcRaven commented on 2012-11-12 14:50 (UTC)

I have updated the PKGBUILD. Please upload it or give me the permission to do so: Best regards, Michi

aya commented on 2012-10-21 15:00 (UTC)

910JQK: this package has nothing to do with the error. It is urlgrabber. Apply the patches from here It will work. Confirmed.

gdw commented on 2012-10-18 16:10 (UTC)

python-pysqlite has now been replaced with python2-pysqlite.

910JQK commented on 2012-10-04 09:00 (UTC)

>yum update Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/urlgrabber/", line 1522, in _progress_update if self._over_max_size(cur=self._amount_read-self._reget_length): File "/usr/lib/python2.7/site-packages/urlgrabber/", line 1539, in _over_max_size if cur > max_size + max_size*.10:TypeError: can't multiply sequence by non-int of type 'float'

pnorcks commented on 2012-05-23 02:14 (UTC)

yum0.patch isn't needed anymore, since the `install` binary from coreutils-8.17 is found in /usr/bin/.

fmunozs commented on 2011-11-28 19:15 (UTC)

hey lpjhjdh, thanks for your interest. I have not had any issues with yum, but I only use it to build Mer/MeeGo images, could you report the issue upstream and lets see what they say about it? thanks!

lpjhjdh commented on 2011-11-28 17:23 (UTC)

Actually you need a check for null in there too. size=thisdata.size if thisdata.size == None else int(thisdata.size)

lpjhjdh commented on 2011-11-17 17:05 (UTC)

Is anyone else getting the type error from yum's use of urlgrabber? TypeError: can't multiply sequence by non-int of type 'float' Seems passes a string into urlgrabber as the size parameter. Can anyone confirm the patch at fixes the problem? Thanks.

fmunozs commented on 2011-11-13 18:16 (UTC)

Updated to Yum 3.4.3

Huulivoide commented on 2011-08-06 18:30 (UTC)

the tarball dir is upp again You may want to change the metadata perser ro use it too on next update, as the url is cleaner ^^

fmunozs commented on 2011-08-03 20:02 (UTC)

Thanks for noticing it Huulivoide, I will be updating this soon!

Huulivoide commented on 2011-08-02 12:42 (UTC)

the doesent seem to have any tarballs anymore So you can use the fedoras source repo in the meanwhile

fmunozs commented on 2011-01-31 01:22 (UTC)

Adopted and updated to 3.2.29

luka commented on 2011-01-17 21:55 (UTC)

Like the previous package owner i lost interest in this package and have no time to maintain it. Sorry for the inconvenience...

fmunozs commented on 2011-01-08 23:17 (UTC)

I have fixed this package to use python2 here if the maintaner want can use my fixes.

jonnor commented on 2011-01-07 16:12 (UTC)

Sorry, /usr/lib/python should have been /lib/python

jonnor commented on 2011-01-07 15:36 (UTC)

This package outputs a lot of failures like: Compiling /tmp/yaourt-tmp-jon/aur-yum/pkg/usr/share/yum-cli/ ... *** File "", line 78 print msg ^ SyntaxError: invalid syntax This is due to python3 being the default python in recent Arch. For the same reason, "python" should be replaced with "python2" in dependencies and "python-iniparse" with "python2-iniparse". The python module rpmUtils included in this package is installed to /usr/lib/python, when it should be /usr/lib/python2.7

notizblock commented on 2010-11-23 21:07 (UTC)

please use python2-iniparse instead of python-iniparse:

luka commented on 2010-09-06 14:04 (UTC)

also use this PKGBUILD for urlgrabber (it contains debian patches) because there are some bugs in the original urlgrabber package grabber_fix.diff and progress_fix.diff are located in "debian/patches" here:

luka commented on 2010-09-06 13:52 (UTC)

package upgrade and change depends rpm -> rpm-org (but rpm-org must have ---enable-python)