The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

yum update error

Discussion in 'General Discussion' started by zenid, May 7, 2010.

  1. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    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. serlex

    serlex Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    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. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    No :( still the same error :(
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    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. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    hello,

    and how can i do this?
     
  6. nxweb

    nxweb Active Member

    Joined:
    Oct 29, 2008
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    You might have to install the missing packages from source if yum wasn't able to resolve the dependencies.
     
Loading...

Share This Page