Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    51

    Default yum update error

    Hello,

    When i try to run the yum update i get:

    Code:
    root@server2 [~]# yum update
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: centos.mirror.transip.nl
     * base: centos.mirror.transip.nl
     * epel: ftp.nluug.nl
     * extras: centos.mirror.transip.nl
     * jpackage-generic: jpackage.netmindz.net
     * jpackage-generic-updates: jpackage.netmindz.net
     * updates: centos.mirror.transip.nl
    Excluding Packages in global exclude list
    Finished
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package ant.noarch 0:1.7.1-7.jpp5 set to be updated
    --> Processing Dependency: xerces-j2 for package: ant
    ---> Package antlr.noarch 0:2.7.6-6.jpp5 set to be updated
    ---> Package jpackage-utils.noarch 0:5.0.0-2.jpp5 set to be updated
    ---> Package memcached.i386 0:1.4.5-1.el5 set to be updated
    --> Processing Dependency: libevent-1.4.so.2 for package: memcached
    --> Running transaction check
    ---> Package memcached.i386 0:1.4.5-1.el5 set to be updated
    --> Processing Dependency: libevent-1.4.so.2 for package: memcached
    ---> Package xerces-j2.i386 0:2.7.1-7jpp.2.el5_4.2 set to be updated
    --> Processing Dependency: xml-commons-resolver >= 1.1 for package: xerces-j2
    --> Running transaction check
    ---> Package memcached.i386 0:1.4.5-1.el5 set to be updated
    --> Processing Dependency: libevent-1.4.so.2 for package: memcached
    ---> Package xml-commons-resolver.i386 0:1.1-1jpp.12 set to be updated
    --> Processing Dependency: /usr/bin/rebuild-security-providers for package: java                                                                             -1.4.2-gcj-compat
    --> Processing Dependency: /usr/bin/rebuild-security-providers for package: java                                                                             -1.4.2-gcj-compat
    --> Processing Dependency: /usr/bin/rebuild-security-providers for package: java                                                                             -1.4.2-gcj-compat
    --> Finished Dependency Resolution
    java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.i386 from installed has depsolving probl                                                                             ems
      --> Missing Dependency: /usr/bin/rebuild-security-providers is needed by packa                                                                             ge java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.i386 (installed)
    memcached-1.4.5-1.el5.i386 from epel has depsolving problems
      --> Missing Dependency: libevent-1.4.so.2 is needed by package memcached-1.4.5                                                                             -1.el5.i386 (epel)
    Error: Missing Dependency: /usr/bin/rebuild-security-providers is needed by pack                                                                             age java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.i386 (installed)
    Error: Missing Dependency: libevent-1.4.so.2 is needed by package memcached-1.4.                                                                             5-1.el5.i386 (epel)
     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
    The program package-cleanup is found in the yum-utils package.
    root@server2 [~]#

  2. #2
    Member
    Join Date
    Oct 2009
    Posts
    55

    Default

    This to me looks like your RPM database is damaged. I would suggest
    running:
    rm -f /var/lib/rpm/__db*
    This removes the "working copy" of the RPM database; RPM will rebuild
    it when yum is next run. (RPM does the backend work for packagement;
    yum is a frontend.) That may fix your problem, or it may be unrelated to that.

  3. #3
    Member
    Join Date
    Aug 2004
    Posts
    51

    Default

    No still the same error

  4. #4
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    You are running into dependency conflicts.

    You need to reinstall the prerequisite packages throwing the dependency errors and that will clear up the issue.

    (Starting point from what you posted "memcached" and "libevent")

  5. #5
    Member
    Join Date
    Aug 2004
    Posts
    51

    Default

    hello,

    and how can i do this?

  6. #6
    Member
    Join Date
    Oct 2008
    Posts
    38

    Default

    You might have to install the missing packages from source if yum wasn't able to resolve the dependencies.
    Free hosting - Free cPanel hosting
    Using cPanel in the most extreme conditions!

Similar Threads & Tags
Similar threads

  1. OpenSSL (Yum) update error as seen in nightly cron email
    By mtindor in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 02-02-2012, 11:44 PM
  2. Update System Software Error - No module named yum
    By zontrakulla in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 01-26-2010, 10:22 PM
  3. Replies: 5
    Last Post: 09-04-2009, 12:39 PM
  4. yum update issues
    By x2o in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-16-2006, 04:47 AM
  5. Yum update log
    By latpanel in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 04-12-2005, 09:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube