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.

my whole list of rpm gone?

Discussion in 'General Discussion' started by topgunmike, Jul 16, 2008.

  1. topgunmike

    topgunmike Active Member

    Joined:
    Jun 8, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.O. La.
    can someone tell me how to reinstall or fix my rpm package list, it is suddenly blank, i've tried everything i could in my whm, and all the ssh commands listed on the subject in the community, and did a manual update via cpanel stable tree.
    i just can't seem to get the list back, can someone please advise me.
    thanx in advance:)
     
  2. shashank

    shashank Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    159
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello,

    Does rpm -qa and yum list or up2date -l work on your server? Your post does not give out much information but your rpmdb or yum may be corrupt here.
     
  3. topgunmike

    topgunmike Active Member

    Joined:
    Jun 8, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.O. La.
    i'm not to fimiliar at all with the ssh yet, and know few commands, i posted an IMAGE of what i see when i click on Install an RPM,
    the above command you specified brought this result;

    /etc/logrotate.d/yum
    /etc/yum
    /etc/yum.conf
    /etc/yum.repos.d
    /etc/yum/pluginconf.d
    /usr/bin/yum
    /usr/lib/python2.5/site-packages/rpmUtils
    /usr/lib/python2.5/site-packages/rpmUtils/__init__.py
    /usr/lib/python2.5/site-packages/rpmUtils/__init__.pyc
    /usr/lib/python2.5/site-packages/rpmUtils/__init__.pyo
    /usr/lib/python2.5/site-packages/rpmUtils/arch.py
    /usr/lib/python2.5/site-packages/rpmUtils/arch.pyc
    /usr/lib/python2.5/site-packages/rpmUtils/arch.pyo
    /usr/lib/python2.5/site-packages/rpmUtils/miscutils.py
    /usr/lib/python2.5/site-packages/rpmUtils/miscutils.pyc
    /usr/lib/python2.5/site-packages/rpmUtils/miscutils.pyo
    /usr/lib/python2.5/site-packages/rpmUtils/oldUtils.py
    /usr/lib/python2.5/site-packages/rpmUtils/oldUtils.pyc
    /usr/lib/python2.5/site-packages/rpmUtils/oldUtils.pyo
    /usr/lib/python2.5/site-packages/rpmUtils/transaction.py
    /usr/lib/python2.5/site-packages/rpmUtils/transaction.pyc
    /usr/lib/python2.5/site-packages/rpmUtils/transaction.pyo
    /usr/lib/python2.5/site-packages/rpmUtils/updates.py
    /usr/lib/python2.5/site-packages/rpmUtils/updates.pyc
    /usr/lib/python2.5/site-packages/rpmUtils/updates.pyo
    /usr/lib/python2.5/site-packages/yum
    /usr/lib/python2.5/site-packages/yum/Errors.py
    /usr/lib/python2.5/site-packages/yum/Errors.pyc
    /usr/lib/python2.5/site-packages/yum/Errors.pyo
    /usr/lib/python2.5/site-packages/yum/__init__.py
    /usr/lib/python2.5/site-packages/yum/__init__.pyc
    /usr/lib/python2.5/site-packages/yum/__init__.pyo
    /usr/lib/python2.5/site-packages/yum/callbacks.py
    /usr/lib/python2.5/site-packages/yum/callbacks.pyc
    /usr/lib/python2.5/site-packages/yum/callbacks.pyo
    /usr/lib/python2.5/site-packages/yum/comps.py
    /usr/lib/python2.5/site-packages/yum/comps.pyc
    /usr/lib/python2.5/site-packages/yum/comps.pyo
    /usr/lib/python2.5/site-packages/yum/config.py
    /usr/lib/python2.5/site-packages/yum/config.pyc
    /usr/lib/python2.5/site-packages/yum/config.pyo
    /usr/lib/python2.5/site-packages/yum/constants.py
    /usr/lib/python2.5/site-packages/yum/constants.pyc
    /usr/lib/python2.5/site-packages/yum/constants.pyo
    /usr/lib/python2.5/site-packages/yum/depsolve.py
    /usr/lib/python2.5/site-packages/yum/depsolve.pyc
    /usr/lib/python2.5/site-packages/yum/depsolve.pyo
    /usr/lib/python2.5/site-packages/yum/failover.py
    /usr/lib/python2.5/site-packages/yum/failover.pyc
    /usr/lib/python2.5/site-packages/yum/failover.pyo
    /usr/lib/python2.5/site-packages/yum/logginglevels.py
    /usr/lib/python2.5/site-packages/yum/logginglevels.pyc
    /usr/lib/python2.5/site-packages/yum/logginglevels.pyo
    /usr/lib/python2.5/site-packages/yum/mdparser.py
    /usr/lib/python2.5/site-packages/yum/mdparser.pyc
    /usr/lib/python2.5/site-packages/yum/mdparser.pyo
    /usr/lib/python2.5/site-packages/yum/misc.py
    /usr/lib/python2.5/site-packages/yum/misc.pyc
    /usr/lib/python2.5/site-packages/yum/misc.pyo
    /usr/lib/python2.5/site-packages/yum/packageSack.py
    /usr/lib/python2.5/site-packages/yum/packageSack.pyc
    /usr/lib/python2.5/site-packages/yum/packageSack.pyo
    /usr/lib/python2.5/site-packages/yum/packages.py
    /usr/lib/python2.5/site-packages/yum/packages.pyc
    /usr/lib/python2.5/site-packages/yum/packages.pyo
    /usr/lib/python2.5/site-packages/yum/parser.py
    /usr/lib/python2.5/site-packages/yum/parser.pyc
    /usr/lib/python2.5/site-packages/yum/parser.pyo
    /usr/lib/python2.5/site-packages/yum/pgpmsg.py
    /usr/lib/python2.5/site-packages/yum/pgpmsg.pyc
    /usr/lib/python2.5/site-packages/yum/pgpmsg.pyo
    /usr/lib/python2.5/site-packages/yum/plugins.py
    /usr/lib/python2.5/site-packages/yum/plugins.pyc
    /usr/lib/python2.5/site-packages/yum/plugins.pyo
    /usr/lib/python2.5/site-packages/yum/repoMDObject.py
    /usr/lib/python2.5/site-packages/yum/repoMDObject.pyc
    /usr/lib/python2.5/site-packages/yum/repoMDObject.pyo
    /usr/lib/python2.5/site-packages/yum/repos.py
    /usr/lib/python2.5/site-packages/yum/repos.pyc
    /usr/lib/python2.5/site-packages/yum/repos.pyo
    /usr/lib/python2.5/site-packages/yum/rpmsack.py
    /usr/lib/python2.5/site-packages/yum/rpmsack.pyc
    /usr/lib/python2.5/site-packages/yum/rpmsack.pyo
    /usr/lib/python2.5/site-packages/yum/rpmtrans.py
    /usr/lib/python2.5/site-packages/yum/rpmtrans.pyc
    /usr/lib/python2.5/site-packages/yum/rpmtrans.pyo
    /usr/lib/python2.5/site-packages/yum/sqlitesack.py
    /usr/lib/python2.5/site-packages/yum/sqlitesack.pyc
    /usr/lib/python2.5/site-packages/yum/sqlitesack.pyo
    /usr/lib/python2.5/site-packages/yum/sqlutils.py
    /usr/lib/python2.5/site-packages/yum/sqlutils.pyc
    /usr/lib/python2.5/site-packages/yum/sqlutils.pyo
    /usr/lib/python2.5/site-packages/yum/transactioninfo.py
    /usr/lib/python2.5/site-packages/yum/transactioninfo.pyc
    /usr/lib/python2.5/site-packages/yum/transactioninfo.pyo
    /usr/lib/python2.5/site-packages/yum/update_md.py
    /usr/lib/python2.5/site-packages/yum/update_md.pyc
    /usr/lib/python2.5/site-packages/yum/update_md.pyo
    /usr/lib/python2.5/site-packages/yum/yumRepo.py
    /usr/lib/python2.5/site-packages/yum/yumRepo.pyc
    /usr/lib/python2.5/site-packages/yum/yumRepo.pyo
    /usr/lib/yum-plugins
    /usr/share/doc/yum-3.2.8
    /usr/share/doc/yum-3.2.8/AUTHORS
    /usr/share/doc/yum-3.2.8/COPYING
    /usr/share/doc/yum-3.2.8/ChangeLog
    /usr/share/doc/yum-3.2.8/INSTALL
    /usr/share/doc/yum-3.2.8/README
    /usr/share/doc/yum-3.2.8/TODO
    /usr/share/man/man5/yum.conf.5.gz
    /usr/share/man/man8/yum-shell.8.gz
    /usr/share/man/man8/yum.8.gz
    /usr/share/yum-cli
    /usr/share/yum-cli/callback.py
    /usr/share/yum-cli/callback.pyc
    /usr/share/yum-cli/callback.pyo
    /usr/share/yum-cli/cli.py
    /usr/share/yum-cli/cli.pyc
    /usr/share/yum-cli/cli.pyo
    /usr/share/yum-cli/i18n.py
    /usr/share/yum-cli/i18n.pyc
    /usr/share/yum-cli/i18n.pyo
    /usr/share/yum-cli/output.py
    /usr/share/yum-cli/output.pyc
    /usr/share/yum-cli/output.pyo
    /usr/share/yum-cli/progress_meter.py
    /usr/share/yum-cli/progress_meter.pyc
    /usr/share/yum-cli/progress_meter.pyo
    /usr/share/yum-cli/shell.py
    /usr/share/yum-cli/shell.pyc
    /usr/share/yum-cli/shell.pyo
    /usr/share/yum-cli/translate.py
    /usr/share/yum-cli/translate.pyc
    /usr/share/yum-cli/translate.pyo
    /usr/share/yum-cli/utils.py
    /usr/share/yum-cli/utils.pyc
    /usr/share/yum-cli/utils.pyo
    /usr/share/yum-cli/yumcommands.py
    /usr/share/yum-cli/yumcommands.pyc
    /usr/share/yum-cli/yumcommands.pyo
    /usr/share/yum-cli/yummain.py
    /usr/share/yum-cli/yummain.pyc
    /usr/share/yum-cli/yummain.pyo
    /usr/share/yum-cli/yumupd.py
    /usr/share/yum-cli/yumupd.pyc
    /usr/share/yum-cli/yumupd.pyo
    /var/cache/yum
    /var/lib/yum

    [​IMG]
     
  4. edasx

    edasx Registered

    Joined:
    Jul 17, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    i am currently experiencing the same issue with brand new rhel5/cpanel server from theplanet. I think it's related with this:

    Code:
    root@miranda [~/incoming/]# yum install
    Loading "rhnplugin" plugin
    Loading "security" plugin
    rhel-i386-server-5        100% |=========================| 1.2 kB    00:00
    primary.xml.gz            100% |=========================| 1.5 MB    00:00
    Error: failed to retrieve repodata/primary.xml.gz from rhel-i386-server-5
    error was [Errno -1] Metadata file does not match checksum
    
    now looking for solution on this forum.

    from what i tried: i tried to clean up cache, remove the cache dir, but that did not help. other suggested method is to remove a package called fastmirror (or something like that), but that's not possible, since yum fails. other solution (for different OS!!!) is here http://lists.freshrpms.net/pipermail/freshrpms-list/2005-May/013041.html - but did not yet find the correct urls for redhat 5.2 yet...
     
Loading...

Share This Page