Package Details: yum 3.4.3-6

Git Clone URL: https://aur.archlinux.org/yum.git (read-only)
Package Base: yum
Description: a popular channel based package manager for RPM distros.
Upstream URL: http://yum.baseurl.org/
Keywords: fedora python yum
Licenses: GPL
Groups: system
Submitter: None
Maintainer: axil42
Last Packager: axil42
Votes: 57
Popularity: 2.021967
First Submitted: 2009-01-08 18:02
Last Updated: 2015-08-29 14:33

Latest Comments

axil42 commented on 2015-08-29 14:34

Oops, fixed. Did not bump release.

max-k commented on 2015-08-28 12:20

Hi,

You accidentally removed the f in patch URL :

yum.patch::http://pkgs.fedoraproject.org/cgit/yum.git/plain/yum-HEAD.patch?h=21"

Instead of :

yum.patch::http://pkgs.fedoraproject.org/cgit/yum.git/plain/yum-HEAD.patch?h=f21

Please update.

axil42 commented on 2015-08-27 21:27

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

aLostEngineer commented on 2015-08-26 13:23

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

I receive this error:

yum-HEAD.patch?h=f21 ... FAILED

eomarjee commented on 2015-03-07 19:43

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

axil42 commented on 2015-02-04 10:21

@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

==> Making package: rpm-org 4.12.0.1-1 (Tue Feb 3 20:30:15 EET 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading rpm-4.12.0.1.tar.bz2...
% 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-4.12.0.1.tar.bz2
Aborting...
==> ERROR: Makepkg was unable to build rpm-org.

robtaylor commented on 2014-10-31 10:41

Thanks Axilleas :)

axil42 commented on 2014-10-22 14:29

Thanks Rob, updated with your changes :)

robtaylor commented on 2014-10-22 13:45

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 http://ix.io/eSv
I hope you find these changes useful and update the package :)

Thanks
Rob

andreas_baumann commented on 2014-06-03 19:23

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

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

nicolasavru commented on 2013-09-16 04:41

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

worked for me.

ivenvd commented on 2013-07-01 11:43

I encounter with this bug with using yum: https://bugs.archlinux.org/task/26712

A regression?

pnorcks commented on 2013-06-05 23:59

There is a script in /usr/sbin that should be installed in /usr/bin. See https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/ .

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

So I just installed this and still ran into this urlgrabber issue: https://bugs.archlinux.org/task/26712

I did manually edit yumRepo.py 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

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

fmunozs commented on 2013-01-15 07:59

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

zootboy commented on 2013-01-07 01:52

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

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

ArcRaven commented on 2012-11-12 14:50

I have updated the PKGBUILD. Please upload it or give me the permission to do so:
https://michael-eckert.net/yum-3.4.3-2.src.tar.gz

Best regards,

Michi

aya commented on 2012-10-21 15:00

910JQK: this package has nothing to do with the error. It is urlgrabber.
Apply the patches from here
http://patch-tracker.debian.org/package/urlgrabber/3.9.1-4
It will work. Confirmed.

gdw commented on 2012-10-18 16:10

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

910JQK commented on 2012-10-04 09:00

>yum update
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", 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/grabber.py", line 1539, in _over_max_size if cur > max_size + max_size*.10:TypeError: can't multiply sequence by non-int of type 'float'

910JQK commented on 2012-10-04 08:12

yum --help
Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
have given up

chungy commented on 2012-09-06 17:36

I'm getting an issue when I'm trying to install a CentOS 5 chroot with the install DVD mounted at /media/CentOS; does anyone know the solution?

# yum --disablerepo=\* --enablerepo=c5-media --installroot=/lxc/centos5 install -y rpm-build yum
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1072, in _retrieve
size = self.size + self._reget_length
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
file:///media/CentOS/repodata/repomd.xml: [Errno 14] PYCURL ERROR 23 - ""
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c5-media. Please verify its path and try again

pnorcks commented on 2012-05-23 02:14

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

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

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

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 yumRepo.py passes a string into urlgrabber as the size parameter.
Can anyone confirm the patch at http://pastebin.com/Dq68dVDD fixes the problem?
Thanks.

fmunozs commented on 2011-11-13 18:16

Updated to Yum 3.4.3

Huulivoide commented on 2011-08-06 18:30

the ym.baseurl.com 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

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

Huulivoide commented on 2011-08-02 12:42

the yum.baseurl.org doesent seem to have any tarballs anymore
So you can use the fedoras source repo in the meanwhile
http://pkgs.fedoraproject.org/repo/pkgs/yum/yum-3.4.3.tar.gz/7c8ea8beba5b4e7fe0c215e4ebaa26ed/yum-3.4.3.tar.gz

fmunozs commented on 2011-01-31 01:22

Adopted and updated to 3.2.29

luka commented on 2011-01-17 21:55

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

I have fixed this package to use python2 here http://beford.net/linux/meego/mic2/yum.tar.gz if the maintaner want can use my fixes.

jonnor commented on 2011-01-07 16:12

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

jonnor commented on 2011-01-07 15:36

This package outputs a lot of failures like:

Compiling /tmp/yaourt-tmp-jon/aur-yum/pkg/usr/share/yum-cli/callback.py ...
*** File "callback.py", 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

please use python2-iniparse instead of python-iniparse:
https://aur.archlinux.org/packages.php?ID=43858

luka commented on 2010-09-06 14:04

also use this PKGBUILD for urlgrabber (it contains debian patches) because there are some bugs in the original urlgrabber package

http://aur.pastebin.com/KjVDbdax

http://www.archlinux.org/packages/community/any/urlgrabber/

grabber_fix.diff and progress_fix.diff are located in "debian/patches" here:

http://ftp.debian.org/debian/pool/main/u/urlgrabber/urlgrabber_3.9.1-4.debian.tar.gz

luka commented on 2010-09-06 13:58

also use this PKGBUILD for urlgrabber (it contains debian patches) because there are some bugs in the original urlgrabber package

http://aur.pastebin.com/KjVDbdax

http://www.archlinux.org/packages/community/any/urlgrabber/

luka commented on 2010-09-06 13:52

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

http://aur.pastebin.com/gGricHgp

http://aur.archlinux.org/packages.php?ID=30317

luka commented on 2010-09-06 13:52

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

http://aur.pastebin.com/gGricHgp

luka commented on 2010-09-06 13:51

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

http://aur.pastebin.com/gGricHgp