YUM update error

General support questions including new installations

YUM update error

Postby scrummie02 » 2010/03/03 16:54:01

I'm trying to run yum update and I'm seeing the following error:
--> Finished Dependency Resolution
perl-IO-Compress-2.024-1.el5.rf.noarch from rpmforge has depsolving problems
--> Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed by package perl-IO-Compress-2.024-1.el5.rf.noarch (rpmforge)
Error: Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed by package perl-IO-Compress-2.024-1.el5.rf.noarch (rpmforge)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


has anyone been running into this? Thanks.
scrummie02
 
Posts: 2
Joined: 2010/03/03 16:51:06

YUM update error

Postby gerald_clark » 2010/03/03 17:03:59

You should have all foreign repos disabled unless you are specifically installing a package from them.
Disable rpmforge.

Please read:
http://www.centos.org/modules/newbb/vie ... p?forum=47
Pay special attention to "Installing Software" and yum priorities.

Welcome to CentOS.
gerald_clark
 
Posts: 10082
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: YUM update error

Postby pschaff » 2010/03/04 19:16:02

If you do want to update RPMforge packages, you need to look at your repo configs to see if packages are being excluded, either explicitly with exclude=, or by not being on includepkg= directives, or as a result of yum priorities.

It might help to show the entire yum output if not excessively long.
pschaff
Retired Moderator
 
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: YUM update error

Postby PatPeter » 2010/04/04 02:34:57

I have the exact same problem:

Code: Select all
yum upgrade
Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror, kernel-
              : module, priorities, protect-packages, protectbase, security,
              : tsflags, versionlock
Loading mirror speeds from cached hostfile
 * addons: mirror.ubiquityservers.com
 * base: centos.mbni.med.umich.edu
 * centosplus: mirror.sanctuaryhost.com
 * epel: ftp.osuosl.org
 * extras: mirror.sanctuaryhost.com
 * rpmforge: fr2.rpmfind.net
 * updates: centos.mirrors.tds.net
addons                                                   |  951 B     00:00     
addons/primary                                           |  203 B     00:00     
adobe-linux-i386                                         |  951 B     00:00     
adobe-linux-i386/primary                                 |  11 kB     00:00     
adobe-linux-i386                                                          17/17
base                                                     | 2.1 kB     00:00     
base/primary_db                                          | 2.0 MB     00:01     
c5-testing                                               | 1.9 kB     00:00     
c5-testing/primary_db                                    | 563 kB     00:01     
centosplus                                               | 1.9 kB     00:00     
centosplus/primary_db                                    | 117 kB     00:00     
dell-omsa-indep                                          | 1.9 kB     00:00     
dell-omsa-indep/primary                                  |  74 kB     00:00     
dell-omsa-indep                                                         526/526
dell-omsa-specific                                       | 1.9 kB     00:00     
dell-omsa-specific/primary                               |  74 kB     00:00     
dell-omsa-specific                                                      526/526
epel                                                     | 3.4 kB     00:00     
epel/primary_db                                          | 3.0 MB     00:01     
extras                                                   | 2.1 kB     00:00     
extras/primary_db                                        | 206 kB     00:00     
google                                                   |  951 B     00:00     
google/primary                                           | 3.2 kB     00:00     
google                                                                      5/5
google64                                                 |  951 B     00:00     
google64/primary                                         | 1.9 kB     00:00     
google64                                                                    4/4
rpmforge                                                 | 1.1 kB     00:00     
rpmforge/primary                                         | 3.6 MB     00:05     
rpmforge                                                            10074/10074
updates                                                  | 1.9 kB     00:00     
updates/primary_db                                       | 760 kB     00:00     
Reducing CentOS-5 Testing to included packages only
Finished
3825 packages excluded due to repository priority protections
0 packages excluded due to repository protections
Skipping security plugin, no data
Reading version lock configuration
Setting up Upgrade Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package perl-IO-Compress.noarch 0:2.024-1.el5.rf set to be updated
--> Processing Dependency: perl(Compress::Raw::Bzip2) = 2.024 for package: perl-IO-Compress
--> Processing Dependency: perl(Compress::Raw::Zlib) = 2.024 for package: perl-IO-Compress
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.005-5.el5 set to be updated
---> Package perl-IO-Compress.noarch 0:2.024-1.el5.rf set to be updated
--> Processing Dependency: perl(Compress::Raw::Zlib) = 2.024 for package: perl-IO-Compress
--> Finished Dependency Resolution
perl-IO-Compress-2.024-1.el5.rf.noarch from rpmforge has depsolving problems
  --> Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed by package perl-IO-Compress-2.024-1.el5.rf.noarch (rpmforge)
Error: Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed by package perl-IO-Compress-2.024-1.el5.rf.noarch (rpmforge)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest


Priorities:
Code: Select all
cat /etc/yum.repos.d/*.repo | sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }"  | sort -k3n
priority = 1 [addons]
priority = 1 [base]
priority = 1 [extras]
priority = 1 [updates]
priority = 2 [c5-testing]
priority = 2 [centosplus]
priority = 11 [epel]
priority = 11 [epel-debuginfo]
priority = 11 [epel-source]
priority = 12 [epel-testing]
priority = 12 [epel-testing-debuginfo]
priority = 12 [epel-testing-source]
priority = 13 [adobe-linux-i386]
priority = 14 [google]
priority = 14 [google64]
priority = 15 [rpmforge]
priority = 16 [rpmforge-testing]


I have yum priorities installed and it does not seem to be working.
PatPeter
 
Posts: 57
Joined: 2009/07/01 22:28:24

Re: YUM update error

Postby chuina » 2010/04/04 07:00:50

Quoting from the Readme First
2. Use a descriptive title for your thread

Firstly, post your own thread - do not hijack someone else's thread, even if you think your question is related. You may post a link to any related threads that you feel are appropriate.

Use a descriptive title for your thread. This is your one chance to advertise what it is you require help with and persuade people to actually read and potentially answer your question. Do not SHOUT and your question is not urgent (at least not to anyone else). Please do not use txt speak or exclamation marks (!!!!).
chuina
 
Posts: 355
Joined: 2009/12/11 10:25:56

Re: YUM update error

Postby PatPeter » 2010/04/08 05:33:45

chuina wrote:
Quoting from the Readme First
2. Use a descriptive title for your thread

Firstly, post your own thread - do not hijack someone else's thread, even if you think your question is related. You may post a link to any related threads that you feel are appropriate.

Use a descriptive title for your thread. This is your one chance to advertise what it is you require help with and persuade people to actually read and potentially answer your question. Do not SHOUT and your question is not urgent (at least not to anyone else). Please do not use txt speak or exclamation marks (!!!!).


Dude, it's the SAME EXACT ERROR, why would I make a new thread?
PatPeter
 
Posts: 57
Joined: 2009/07/01 22:28:24

Re: YUM update error

Postby chuina » 2010/04/08 06:45:54

PatPeter wrote:
Dude, it's the SAME EXACT ERROR, why would I make a new thread?

Because it is the forum rule.
You can open a thread without any charge , it's free. :-D
chuina
 
Posts: 355
Joined: 2009/12/11 10:25:56

Re: YUM update error

Postby pschaff » 2010/04/08 12:18:36

PatPeter wrote:
...
Dude, it's the SAME EXACT ERROR, why would I make a new thread?

At least part of your posted output shows the same messages, but we do not have sufficient information to know if the repo configs are identical as the OP never shared that information. In any case, it is best to start a new thread to get your problem the attention it deserves, rather than appending to a stale thread where it may not be seen by those not following the old thread, and it's the rule: "Firstly, post your own thread - do not hijack someone else's thread, even if you think your question is related." :-)

Since I'm replying already, I'd try disabling epel, as you have it at a higher priority than RPMforge, and it is known not to play nicely with other repos.
Code: Select all
yum --disablerepo=epel update
If that doesn't help, please start a new topic.
pschaff
Retired Moderator
 
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: YUM update error

Postby rbrogers » 2010/11/26 17:45:58

It looks like this is hanging because 2.0.24-1 is installed instead of 2.0.24? (I could be wrong)

What I did to get around this was downgrade perl-Compress-Raw-Bzip2 and then upgrade to the latest version to jump over the 2.0.24-1 release issue. The downgrade process may prompt to remove some dependant packages, if you're able to, go ahead, you can install them afterwards.

Code: Select all
# yum downgrade perl-Compress-Raw-Bzip2
Loaded plugins: fastestmirror
Setting up Downgrade Process
Loading mirror speeds from cached hostfile
 * addons: mirror.csclub.uwaterloo.ca
 * base: mirror.csclub.uwaterloo.ca
 * extras: mirror.csclub.uwaterloo.ca
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: mirror.csclub.uwaterloo.ca
Resolving Dependencies
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.i386 0:2.023-1.el5.rf set to be updated
---> Package perl-Compress-Raw-Bzip2.i386 0:2.024-1.el5.rf set to be erased
--> Processing Dependency: perl(Compress::Raw::Bzip2) = 2.024 for package: perl-IO-Compress
--> Running transaction check
---> Package perl-IO-Compress.noarch 0:2.024-1.el5.rf set to be erased
--> Processing Dependency: perl(Compress::Zlib) for package: perl-Archive-Tar
--> Processing Dependency: perl(Compress::Zlib) for package: perl-libwww-perl
--> Processing Dependency: perl(Compress::Zlib) for package: amavisd-new
--> Processing Dependency: perl(Compress::Zlib) >= 1.35 for package: amavisd-new
--> Running transaction check
---> Package amavisd-new.i386 0:2.6.4-4.el5.rf set to be erased
---> Package perl-Archive-Tar.noarch 1:1.39.1-1.el5_5.2 set to be erased
--> Processing Dependency: perl(Archive::Tar) >= 1.23 for package: spamassassin
--> Processing Dependency: perl(Archive::Tar) >= 1.23 for package: spamassassin
---> Package perl-libwww-perl.noarch 0:5.805-1.1.1 set to be erased
--> Running transaction check
---> Package spamassassin.i386 0:3.3.1-3.el5.rf set to be erased
--> Finished Dependency Resolution


Once this is done, upgrade to the latest release of perl-Compress-Raw

Code: Select all
# yum upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.csclub.uwaterloo.ca
 * base: mirror.csclub.uwaterloo.ca
 * extras: mirror.csclub.uwaterloo.ca
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: mirror.csclub.uwaterloo.ca
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.i386 0:2.031-1.el5.rf set to be updated
---> Package perl-Compress-Raw-Zlib.i386 0:2.030-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================================================================================================
 Package                                                                       Arch                                                       Version                                                               Repository                                                      Size
=====================================================================================================================================================================================================================================================================================
Updating:
 perl-Compress-Raw-Bzip2                                                       i386                                                       2.031-1.el5.rf                                                        rpmforge                                                       108 k
 perl-Compress-Raw-Zlib                                                        i386                                                       2.030-1.el5.rf                                                        rpmforge                                                       172 k

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

Total download size: 280 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): perl-Compress-Raw-Bzip2-2.031-1.el5.rf.i386.rpm                                                                                                                                                                                                        | 108 kB     00:00     
(2/2): perl-Compress-Raw-Zlib-2.030-1.el5.rf.i386.rpm                                                                                                                                                                                                         | 172 kB     00:00     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                                222 kB/s | 280 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : perl-Compress-Raw-Zlib                                                                                                                                                                                                                                        1/4
  Updating       : perl-Compress-Raw-Bzip2                                                                                                                                                                                                                                       2/4
  Cleanup        : perl-Compress-Raw-Zlib                                                                                                                                                                                                                                        3/4
  Cleanup        : perl-Compress-Raw-Bzip2                                                                                                                                                                                                                                       4/4

Updated:
  perl-Compress-Raw-Bzip2.i386 0:2.031-1.el5.rf                                                                                             perl-Compress-Raw-Zlib.i386 0:2.030-1.el5.rf                                                                                           

Complete!


Then reinstall the dependant packages you may have removed earlier.

Hope this helps!
rbrogers
 
Posts: 3
Joined: 2010/06/02 13:47:08

Re: YUM update error

Postby useopenid » 2011/01/26 02:42:32

I found it was caused by perl-IO-Compress being renamed to perl-IO-Compress-Base. I removed perl-IO-Compress and -Zlib and then reinstalled the latter and it pulled in the new dependencies.
useopenid
 
Posts: 2
Joined: 2009/04/08 23:44:49

Next

Return to CentOS 5 - General Support

Who is online

Users browsing this forum: No registered users and 3 guests