Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Apr 2004
    Posts
    621

    Default rpm/up2date broken after upgrade to STABLE 83

    We have upgraded servers (RHEL3) to the latest STABLE (83). While up2date processed the update we got error:

    groupdel: group rpm does not exist
    There was a fatal RPM install error. The message was:
    There was a rpm unpack error installing the package: procps-2.0.17-13.7


    After this we have found that RPM is broken. We have tried to execute:
    find /var/lib/rpm -exec chattr -i {} \;
    rm -f /var/lib/rpm/_db*;
    rm -f /var/lib/rpm/__db*;
    rpm --rebuilddb

    But it not helped.

    up2date broken with:

    Traceback (most recent call last):
    File "/usr/sbin/up2date", line 1174, in ?
    sys.exit(main() or 0)
    File "/usr/sbin/up2date", line 668, in main
    up2dateAuth.updateLoginInfo()
    File "up2dateAuth.py", line 151, in updateLoginInfo
    File "up2dateAuth.py", line 105, in login
    File "up2dateAuth.py", line 49, in maybeUpdateVersion
    File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 228, in getVersion
    release, version = getOSVersionAndRelease()
    File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 221, in getOSVersionAndRelease
    raise up2dateErrors.RpmError(
    up2date_client.up2dateErrors.RpmError: RPM error. The message was:
    Could not determine what version of Red Hat Linux you are running.
    If you get this error, try running

    rpm --rebuilddb


    Anyone having these issues? Advices how to fix them?..
    Reliable web-hosting, good resellers plans, web-design.
    ISProHosting.com

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    groupdel: group rpm does not exist
    Did you check the group file for this and re-add it if it is missing?

    Btw, when you rebuild the rpm database you must make sure that no process has it open by killing off anything that comes when running:

    lsof | grep /var/lib/rpm

    Kill all processes -9 that this shows (or reboot the server if they hang in MUTEX/FUTEX),

    Then delete the temporary __db* files,

    Then run:

    rpm --rebuilddb -v -v
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Yum & up2date Broken Glibc Error Need Help (PAID)
    By mixcat in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 03-01-2010, 10:32 PM
  2. RPM List and up2date
    By clinch in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-09-2007, 07:51 AM
  3. up2date and rpm error
    By rix in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-21-2003, 01:26 PM
  4. kernel update - use up2date or RPM?
    By jimjoe in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 08-05-2003, 10:25 PM
  5. Install an RPM function broken
    By nuclear in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-28-2003, 03:16 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube