PDA

View Full Version : yum updates fail because PayloadIsXz is needed


fridmeister
28th July 2009, 02:12 AM
I've recently installed a clean copy of fedora 11 on my laptop. Once I got the network working, I tried to use Software Update from System Administration. It found 627 updates, but when trying to apply all, it came back with an erro in several modules.

ERROR with rpm_check_debug vs depsolve:
rpmlib(PayloadIsXz) is needed by glibc-common-2.10.90-7.1.i686

I was able to apply some updates individually through the interface and started with rpm & yum. yum worked but rpm still had problems. I tried from the command line next and it seems to center on two packages - glibc and glibc-common.:

[david@fedorahost ~]$ su -c 'yum update glibc*'
Password:
Loaded plugins: refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.10.90-7.1 set to be updated
---> Package glibc-common.i686 0:2.10.90-7.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository Size
================================================== ==============================
Updating:
glibc i686 2.10.90-7.1 rawhide 2.8 M
glibc-common i686 2.10.90-7.1 rawhide 6.0 M

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

Total size: 8.8 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
rpmlib(PayloadIsXz) is needed by glibc-common-2.10.90-7.1.i686
rpmlib(PayloadIsXz) is needed by glibc-2.10.90-7.1.i686
Complete!
(1, [u'Please report this error in http://yum.baseurl.org/report'])

Is this a known issue? Or is there a way to apply the updates for these or the 'Development Tools' group as a whole?

Thanks,

fridmeister

marko
28th July 2009, 02:38 AM
Fridmeister:
Try actually becoming root and then running your yum commands:

$> su -
<root password>
# yum update glibc*

sometimes doing su -c "command"
can do some odd things when the command is a complex thing like yum update.

scottro
28th July 2009, 04:20 AM
I'm thinking of making a sticky on this if it happens too often.

yum -y update rpm will fix it as well. Actually, marko, if you haven't tested that glibc will fix the error, I would recommend doing the yum update rpm rather than glibc, only because I've tested that as a fix and it works.

I think I only ran into it in rawhide--it has to do with some changes in RPM.
Hrrm--or was it F11?

At any rate, the changes are known, but I haven't seen any mention of the error--when I googled it, all I came up with (at the time, a few days ago) was that it was changing payload.

glennzo
28th July 2009, 09:43 AM
Just to confirm, I ran into a very similar PayloadIsXz problem with my Fedora 12 install. yum update rpm fixed it up nicely.

fridmeister
28th July 2009, 12:21 PM
I just tried to a yum clean all flollowed by yum update rpm. Most things updated great with the exception of the glibc libraries.

ERROR with rpm_check_debug vs depsolve:
rpmlib(PayloadIsXz) is needed by glibc-2.10.90-7.1.i686
rpmlib(PayloadIsXz) is needed by glibc-common-2.10.90-7.1.i686
Complete!


From what I can tell, this seems to have something to do with compression used within rpm. it seems that any packages needing the new libraries refuse to update.... so I still have 610 pending updates. Hitting a few randomly, I find some that do not require these libraries...

fridmeister
28th July 2009, 12:28 PM
the other annoyance I've found is that when trying to use the software update interface, it hangs on waiting for authentication where the prompt for the root password would normally go, but no prompt appears.

fridmeister
28th July 2009, 12:42 PM
I did notice something odd about glibc & glibc-common when I'm running a yum update, these appear bold in the list of packages after the depends runs.... I also see that sqlite is bold. Does anyone know the meaning of a few lines in bold? <I'll be off reading the man pages after I grab a cup of coffee> ;)

thanks all

glennzo
28th July 2009, 01:00 PM
I did notice something odd about glibc & glibc-common when I'm running a yum update, these appear bold in the list of packages after the depends runs.... I also see that sqlite is bold. Does anyone know the meaning of a few lines in bold? <I'll be off reading the man pages after I grab a cup of coffee> ;)

thanks all
I believe that the bold text indicates that the files have already been downloaded.

SrbIT
26th September 2009, 05:30 AM
I run comand : yum install kernel-devel. on interface fail:

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
rpmlib(PayloadIsXz) is needed by kernel-devel-2.6.31-40.fc12.i686
Complete!

you can help me !!!
THank !

leigh123linux
26th September 2009, 10:21 AM
Try



su
yum install xz xz-lzma-compat xz-libs

asux
26th September 2009, 10:37 AM
I've recently installed a clean copy of fedora 11 on my laptop. Once I got the network working, I tried to use Software Update from System Administration. It found 627 updates, but when trying to apply all, it came back with an erro in several modules.

ERROR with rpm_check_debug vs depsolve:
rpmlib(PayloadIsXz) is needed by glibc-common-2.10.90-7.1.i686

I was able to apply some updates individually through the interface and started with rpm & yum. yum worked but rpm still had problems. I tried from the command line next and it seems to center on two packages - glibc and glibc-common.:

[david@fedorahost ~]$ su -c 'yum update glibc*'
Password:
Loaded plugins: refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.10.90-7.1 set to be updated
---> Package glibc-common.i686 0:2.10.90-7.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository Size
================================================== ==============================
Updating:
glibc i686 2.10.90-7.1 rawhide 2.8 M
glibc-common i686 2.10.90-7.1 rawhide 6.0 M

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

Total size: 8.8 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
rpmlib(PayloadIsXz) is needed by glibc-common-2.10.90-7.1.i686
rpmlib(PayloadIsXz) is needed by glibc-2.10.90-7.1.i686
Complete!
(1, [u'Please report this error in http://yum.baseurl.org/report'])

Is this a known issue? Or is there a way to apply the updates for these or the 'Development Tools' group as a whole?

Thanks,

fridmeister
i had same problem .
software souce u have to untick every thing els if u are going to update or grade rawhide

SrbIT
27th September 2009, 01:29 AM
Thank you !!!

I configure fedora 12. OKay but now i find fail :

Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 617, in get_packages
pkgs = self.yumbase.pkgSack
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 702, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 538, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 277, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 164, in populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 222, in _check_db_version
return repo._check_db_version(mdtype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1220, in _check_db_version
repoXML = self.repoXML
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1384, in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1376, in _getRepoXML
self._loadRepoXML(text=self)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1366, in _loadRepoXML
return self._groupLoadRepoXML(text, ["primary"])
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1349, in _groupLoadRepoXML
if self._commonLoadRepoXML(text):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1195, in _commonLoadRepoXML
result = self._getFileRepoXML(local, text)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 976, in _getFileRepoXML
cache=self.http_caching == 'all')
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 754, in _getFile
result = self.mediafunc(local = local, checkfunc = checkfunc, relative = relative, text = text, copy_local = copy_local, url = url, mediaid = self.mediaid, name = self.name, discnum = discnum, range = (start, end))
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2863, in MediaGrabber
manager = MediaManager()
File "/usr/share/PackageKit/helpers/yum/yumMediaManager.py", line 101, in __init__
raise NotImplemented
TypeError: exceptions must be classes or instances, not NotImplementedType


i want document of you.

glennzo
29th September 2009, 04:52 PM
If a fresh Fedora 11 install, do a full update first, then enable rawhide and update
su -c 'yum --disablerepo=* --enablerepo=rawhide update'
You should then have no trouble. Did this just this morning. I was experiencing the same issues prior to this. A little reading set me straight.

milamgh
20th October 2009, 03:49 AM
yum update rpm isn't working for me. It gives the same rpmlib(PayloadIsXz) is needed error message.

I haven't updated in a while, could this be part of the problem?

milamgh
20th October 2009, 06:04 AM
tried a full update, just using rawhide repo and from command line...
still no dice. Same error message:

rpmlib(PayloadIsXz) is needed by libthai-0.1.12-2.fc12.i686

Plus similar on many other packages.... suggestons?

Demz
20th October 2009, 06:49 AM
did you try leigh123linux's suggestion? http://forums.fedoraforum.org/showpost.php?p=1269348&postcount=10

milamgh
21st October 2009, 09:35 PM
did you try leigh123linux's suggestion? http://forums.fedoraforum.org/showpost.php?p=1269348&postcount=10

I did. Same failure. Unable to update with same error message.

Demz
21st October 2009, 11:09 PM
only otherr suggestion would be to try an download the BETA an install that... but you may have to disable networkmanager an enable the old network

tytower
8th November 2009, 09:26 AM
[tytower@localhost ~]$ su
Password:
[root@localhost tytower]# yum -y update rpm
Loaded plugins: presto, refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: rpm = 4.7.0-1.fc11 for package: rpm-build-4.7.0-1.fc11.i586
--> Processing Dependency: rpm = 4.7.0-1.fc11 for package: rpm-python-4.7.0-1.fc11.i586
--> Processing Dependency: rpm = 4.7.0-1.fc11 for package: rpm-libs-4.7.0-1.fc11.i586
--> Processing Dependency: rpm = 4.7.0-1.fc11 for package: rpm-devel-4.7.0-1.fc11.i586
---> Package rpm.i686 0:4.7.1-6.fc12 set to be updated
--> Processing Dependency: liblzma.so.0 for package: rpm-4.7.1-6.fc12.i686
--> Running transaction check
---> Package rpm-build.i686 0:4.7.1-6.fc12 set to be updated
--> Processing Dependency: xz for package: rpm-build-4.7.1-6.fc12.i686
---> Package rpm-devel.i686 0:4.7.1-6.fc12 set to be updated
--> Processing Dependency: xz-devel >= 4.999.8 for package: rpm-devel-4.7.1-6.fc12.i686
---> Package rpm-libs.i686 0:4.7.1-6.fc12 set to be updated
--> Processing Dependency: libc.so.6(GLIBC_2.11) for package: rpm-libs-4.7.1-6.fc12.i686
---> Package rpm-python.i686 0:4.7.1-6.fc12 set to be updated
---> Package xz-libs.i686 0:4.999.9-0.1.beta.20091007git.fc12 set to be updated
--> Running transaction check
--> Processing Dependency: glibc = 2.10.1-5 for package: glibc-devel-2.10.1-5.i586
--> Processing Dependency: glibc = 2.10.1-5 for package: glibc-common-2.10.1-5.i586
--> Processing Dependency: glibc = 2.10.1-5 for package: glibc-headers-2.10.1-5.i586
---> Package glibc.i686 0:2.11-2 set to be updated
---> Package xz.i686 0:4.999.9-0.1.beta.20091007git.fc12 set to be updated
---> Package xz-devel.i686 0:4.999.9-0.1.beta.20091007git.fc12 set to be updated
--> Running transaction check
---> Package glibc-common.i686 0:2.11-2 set to be updated
---> Package glibc-devel.i686 0:2.11-2 set to be updated
---> Package glibc-headers.i686 0:2.11-2 set to be updated
--> Processing Conflict: glibc-2.11-2.i686 conflicts prelink < 0.4.2
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package prelink.i686 0:0.4.2-4.fc12 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository Size
================================================== ==============================
Updating:
prelink i686 0.4.2-4.fc12 rawhide 987 k
rpm i686 4.7.1-6.fc12 rawhide 826 k
Installing for dependencies:
xz i686 4.999.9-0.1.beta.20091007git.fc12 rawhide 120 k
xz-devel i686 4.999.9-0.1.beta.20091007git.fc12 rawhide 39 k
xz-libs i686 4.999.9-0.1.beta.20091007git.fc12 rawhide 94 k
Updating for dependencies:
glibc i686 2.11-2 rawhide 4.3 M
glibc-common i686 2.11-2 rawhide 14 M
glibc-devel i686 2.11-2 rawhide 951 k
glibc-headers i686 2.11-2 rawhide 588 k
rpm-build i686 4.7.1-6.fc12 rawhide 112 k
rpm-devel i686 4.7.1-6.fc12 rawhide 79 k
rpm-libs i686 4.7.1-6.fc12 rawhide 302 k
rpm-python i686 4.7.1-6.fc12 rawhide 45 k

Transaction Summary
================================================== ==============================
Install 3 Package(s)
Upgrade 10 Package(s)

Total size: 22 M
Downloading Packages:
Running rpm_check_debug
ERROR You need to update rpm to handle:
rpmlib(PayloadIsXz) is needed by rpm-libs-4.7.1-6.fc12.i686
rpmlib(PayloadIsXz) is needed by xz-devel-4.999.9-0.1.beta.20091007git.fc12.i686
rpmlib(PayloadIsXz) is needed by glibc-common-2.11-2.i686
rpmlib(PayloadIsXz) is needed by rpm-4.7.1-6.fc12.i686
rpmlib(PayloadIsXz) is needed by glibc-headers-2.11-2.i686
rpmlib(PayloadIsXz) is needed by prelink-0.4.2-4.fc12.i686
rpmlib(PayloadIsXz) is needed by rpm-build-4.7.1-6.fc12.i686
rpmlib(PayloadIsXz) is needed by rpm-devel-4.7.1-6.fc12.i686
rpmlib(PayloadIsXz) is needed by xz-4.999.9-0.1.beta.20091007git.fc12.i686
rpmlib(PayloadIsXz) is needed by glibc-devel-2.11-2.i686
rpmlib(PayloadIsXz) is needed by glibc-2.11-2.i686
rpmlib(PayloadIsXz) is needed by xz-libs-4.999.9-0.1.beta.20091007git.fc12.i686
rpmlib(PayloadIsXz) is needed by rpm-python-4.7.1-6.fc12.i686
Complete!
(1, [u'RPM needs to be updated'])
[root@localhost tytower]#

tytower
8th November 2009, 09:30 AM
[tytower@localhost ~]$ su
Password:
[root@localhost tytower]# yum install xz xz-lzma-compat xz-libs
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xz.i686 0:4.999.9-0.1.beta.20091007git.fc12 set to be updated
---> Package xz-libs.i686 0:4.999.9-0.1.beta.20091007git.fc12 set to be updated
---> Package xz-lzma-compat.i686 0:4.999.9-0.1.beta.20091007git.fc12 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository
Size
================================================== ==============================
Installing:
xz i686 4.999.9-0.1.beta.20091007git.fc12 rawhide 120 k
xz-libs i686 4.999.9-0.1.beta.20091007git.fc12 rawhide 94 k
xz-lzma-compat i686 4.999.9-0.1.beta.20091007git.fc12 rawhide 32 k

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

Total size: 246 k
Total download size: 32 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 32 k
xz-lzma-compat-4.999.9-0.1.beta.20091007git.fc12.i686.rp | 32 kB 00:00
Running rpm_check_debug
ERROR You need to update rpm to handle:
rpmlib(PayloadIsXz) is needed by xz-lzma-compat-4.999.9-0.1.beta.20091007git.fc12.i686
rpmlib(PayloadIsXz) is needed by xz-4.999.9-0.1.beta.20091007git.fc12.i686
rpmlib(PayloadIsXz) is needed by xz-libs-4.999.9-0.1.beta.20091007git.fc12.i686
Complete!
(1, [u'RPM needs to be updated'])
[root@localhost tytower]#

Demz
8th November 2009, 10:05 AM
another payloadzx error..i saw the same error in F11 on the test list

tytower
8th November 2009, 07:06 PM
If a fresh Fedora 11 install, do a full update first, then enable rawhide and update
su -c 'yum --disablerepo=* --enablerepo=rawhide update'
You should then have no trouble. Did this just this morning. I was experiencing the same issues prior to this. A little reading set me straight.

I'm sure you are trying to help and I amongst a lot of others are verygrateful for that.

However , and there is allways a "but" isn't there , could you take a little time to think things through before you post commands . I used this one above and waited patientlyfor 10 minutes while it downloaded 25 Meg of file lists that were probably up to date anyway , thinking geez I hope it does not go on too much longer I only have 500 Meg a month anyway and here is 5% of it already.

When i got to the end I got this message and completely wasted my tiime and download allocation.


Transaction Summary
================================================== ==============================
Install 155 Package(s)
Upgrade 1284 Package(s)

Total size: 939 M
Total download size: 916 M
Is this ok [y/N]: n
Exiting on user Command
Complete!
[tytower@localhost ~]$


So to update I would have to pay about $175 and sit patiently for about a day and a half.

Now I don't mind that if you send me over a pretty woman to take the time away with.

AdamW
9th November 2009, 12:30 AM
I'm not sure what you're expecting. If you want to upgrade your distribution, you somehow need to acquire a large amount of data. We can't really change that...what is it you'd like us to help with?

Dies
9th November 2009, 12:42 AM
I'm sure you are trying to help and I amongst a lot of others are verygrateful for that.

However , and there is allways a "but" isn't there , could you take a little time to think things through before you post commands . I used this one above and waited patientlyfor 10 minutes while it downloaded 25 Meg of file lists that were probably up to date anyway , thinking geez I hope it does not go on too much longer I only have 500 Meg a month anyway and here is 5% of it already.

When i got to the end I got this message and completely wasted my tiime and download allocation.


I can't imagine having a cap, especially one that low, but if I did I certainly wouldn't be running Fedora. :rolleyes:

typerlc
9th November 2009, 12:44 AM
[root@localhost tytower]# yum install xz xz-lzma-compat xz-libs


you may need to install the intermediate rpm that introduced that payload type first. You can probably find on koji, perhaps AdamW can give you a pointer.

AdamW
9th November 2009, 12:47 AM
I thought there was an f11 update...

scottro
9th November 2009, 02:11 AM
@tytower, as you're relatively new here, and folks don't yet know you, I would recommend prefacing every question with mention of that 500 MB limit.

Here in the US at least, it's not too common--unusually enough, some politicians actually acted in favor of their constituents, at least in the NY area, doing something to prevent various ISPs with near monopolies from doing it.

So, I suspect most of us aren't expecting that and will give solutions that assume unlimited, probably broadband, bandwidth. Ergo, my suggestion of the first sentence. :)

tytower
9th November 2009, 04:01 AM
As a matter of fact I was trying to get mpeg and mp3 ability by getting the "good" package . I had the fusion repository enabled and it looks like I was getting the fedora 12 packages . As I have Fedora11 that was a mistake so I was trying whatever I could to get " rpmlib(PayloadIsXz)". All the advice was adding heaps to my MB limit and I wasn't getting anywhere . I went to the bug site and there was nothing on a search. So I decided to take all the fusion sites off and try again. This time mplayer got them itself. Brilliant !

We have a monopoly "Telstra" over here in Australia(Government owned and controlled though they hide the fact) and I'm in the bush.

Been skinning us clean since I was first able to notice , no chance of that stopping .

Thanks for the comments though fellows !

AdamW
9th November 2009, 04:15 AM
ah, I got lost somewhere along the chain there and thought you actually _wanted_ to upgrade to F12. :)

ahferriz
13th November 2009, 03:11 AM
Hi, this is what I did to fix the "rpmlib(PayloadIsXz) is needed by" problem:

1. Download xz packages for your platform:
(eg http://fr2.rpmfind.net/linux/RPM/fedora/updates/11/i386/XByName.htm)

xz-4.999.9-0.1.beta.20091007git.fc11
xz-devel-4.999.9-0.1.beta.20091007git.fc11
xz-libs-4.999.9-0.1.beta.20091007git.fc11
xz-lzma-compat-4.999.9-0.1.beta.20091007git.fc11

2. Download rpm packages for your platform:
(eg http://fr2.rpmfind.net/linux/RPM/fedora/updates/11/i386/RByName.html)

rpm-4.7.1-3.fc11
rpm-build-4.7.1-3.fc11
rpm-devel-4.7.1-3.fc11
rpm-libs-4.7.1-3.fc11
rpm-python-4.7.1-3.fc11

3. Install packages in this order:

rpm -Uvh xz-devel-4.999.9-0.1.beta.20091007git.fc11
rpm -Uvh xz-libs-4.999.9-0.1.beta.20091007git.fc11
rpm -Uvh xz-4.999.9-0.1.beta.20091007git.fc11
rpm -Uvh xz-lzma-compat-4.999.9-0.1.beta.20091007git.fc11

rpm -Uvh --nodeps rpm-4.7.1-3.fc11
rpm -Uvh rpm-build-4.7.1-3.fc11
rpm -Uvh rpm-devel-4.7.1-3.fc11
rpm -Uvh rpm-libs-4.7.1-3.fc11
rpm -Uvh rpm-python-4.7.1-3.fc11

That’s it, you can now use yum again, I hope it helps someone.

Demz
13th November 2009, 04:52 AM
you can get them direct from koji http://koji.fedoraproject.org/koji/index

Salaqi Instagram Photos - Kotka Travel Photos - Singrauli