Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2002
    Location
    St. Louis, MO
    Posts
    1,378

    rpm database is hosed need some input

    I discovered a system with a bad RPM database thats unrepairable, on top of the database being hosed Yum doesn't work either. When I contacted Cpanel support (system has Cpanel software on it) to get their input they claim the drive is bad. With yum shot and the RPM database shot as well you cannot install any software unless its from source. Yum errors out and RPMs will give you a bad DSA Key ID error.

    The drive isn't in the smartctl database and hdparm -tT shows normal readings and message log shows only driveseek errors which isn't really enough to show a bad drive, as Ive had servers with these errors for over two years and still going today.

    Logically that doesn't make sense, if your drive is bad you would see other failures I would assume but if the drive is going bad and only these two items are messed up, why is that and why does everything else function?

  2. #2
    Join Date
    Sep 2006
    Location
    Michigan
    Posts
    64

    This may help

    Cant post url links yet some restriction on this site for new members.. so you can parse this url:


    www shaftek org /blog/archives/000188.html
    MNX.io - 100% SSD Cloud Hosting - Linux, FreeBSD, & SmartOS.

  3. #3
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,290
    Quote Originally Posted by DigiCrime
    I discovered a system with a bad RPM database thats unrepairable, on top of the database being hosed Yum doesn't work either. When I contacted Cpanel support (system has Cpanel software on it) to get their input they claim the drive is bad. With yum shot and the RPM database shot as well you cannot install any software unless its from source. Yum errors out and RPMs will give you a bad DSA Key ID error.

    The drive isn't in the smartctl database and hdparm -tT shows normal readings and message log shows only driveseek errors which isn't really enough to show a bad drive, as Ive had servers with these errors for over two years and still going today.

    Logically that doesn't make sense, if your drive is bad you would see other failures I would assume but if the drive is going bad and only these two items are messed up, why is that and why does everything else function?

    have you tried

    rm -f /var/lib/rpm/__*
    rpm -v -v --rebuilddb

    ?

    there are several other things that can be done if that does not work.
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  4. #4
    Join Date
    Mar 2002
    Location
    St. Louis, MO
    Posts
    1,378
    Yup heres what it does

    Code:
    [email protected] [~]# rpm -v -v --rebuilddb
    D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.26919
    D: creating directory /var/lib/rpmrebuilddb.26919
    D: opening old database with dbapi 3
    D: unshared posix mutexes found(38), adding DB_PRIVATE, using fcntl lock
    D: opening  db environment /var/lib/rpm/Packages create:cdb:mpool:private
    D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
    D: locked   db index       /var/lib/rpm/Packages
    D: opening new database with dbapi 3
    D: unshared posix mutexes found(38), adding DB_PRIVATE, using fcntl lock
    D: opening  db environment /var/lib/rpmrebuilddb.26919/Packages create:mpool:private
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Packages create mode=0x42
    D: unshared posix mutexes found(38), adding DB_PRIVATE, using fcntl lock
    D: opening  db environment /var/lib/rpm/Packages create:mpool:private
    D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
    D: opening  db index       /var/lib/rpm/Pubkeys rdonly mode=0x0
    D:  read h#       1 Header sanity check: OK
    D: ========== DSA pubkey id 7049e44d025e513b
    D:  read h#       2 Header V3 DSA signature: OK, key ID 025e513b
    D:   +++ h#       1 Header V3 DSA signature: OK, key ID 025e513b
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Name create mode=0x42
    D: adding "rpm" to Name index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Basenames create mode=0x42
    D: adding 141 entries to Basenames index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Group create mode=0x42
    D: adding "System Environment/Base" to Group index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Requirename create mode=0x42
    D: adding 29 entries to Requirename index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Providename create mode=0x42
    D: adding 2 entries to Providename index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Conflictname create mode=0x42
    D: adding "patch" to Conflictname index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Dirnames create mode=0x42
    D: adding 45 entries to Dirnames index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Requireversion create mode=0x42
    D: adding 29 entries to Requireversion index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Provideversion create mode=0x42
    D: adding 2 entries to Provideversion index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Installtid create mode=0x42
    D: adding 1 entries to Installtid index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Sigmd5 create mode=0x42
    D: adding 1 entries to Sigmd5 index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Sha1header create mode=0x42
    D: adding "2db89b61c02519990b7caf8d1caba1fc1ff96452" to Sha1header index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Filemd5s create mode=0x42
    D: adding 141 entries to Filemd5s index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Pubkeys create mode=0x42
    D:  read h#       4 Header V3 DSA signature: OK, key ID 025e513b
    D:   +++ h#       2 Header V3 DSA signature: OK, key ID 025e513b
    D: adding "rpm-build" to Name index.
    D: adding 56 entries to Basenames index.
    D: adding "Development/Tools" to Group index.
    D: adding 29 entries to Requirename index.
    D: adding 2 entries to Providename index.
    D: adding 6 entries to Dirnames index.
    D: adding 29 entries to Requireversion index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "c8a8122b2ec04836167c030e6e6dabc4c5097f08" to Sha1header index.
    D: adding 56 entries to Filemd5s index.
    D:  read h#       8 Header sanity check: OK
    D:   +++ h#       3 Header sanity check: OK
    D: adding "portsentry" to Name index.
    D: adding 14 entries to Basenames index.
    D: adding "Applications/System" to Group index.
    D: adding 10 entries to Requirename index.
    D: adding "portsentry" to Providename index.
    D: adding 7 entries to Dirnames index.
    D: adding 10 entries to Requireversion index.
    D: adding "1.1-5" to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding 14 entries to Filemd5s index.
    D:  read h#      10 Header sanity check: OK
    D:   +++ h#       4 Header sanity check: OK
    D: adding "gpg-pubkey" to Name index.
    D: adding "Public Keys" to Group index.
    D: adding 2 entries to Providename index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Pubkeys index.
    D:  read h#      12 Header SHA1 digest: OK (6a96cb134a0774367da0b04a088ff61aa2ff7708)
    D:   +++ h#       5 Header SHA1 digest: OK (6a96cb134a0774367da0b04a088ff61aa2ff7708)
    D: adding "MySQL-embedded" to Name index.
    D: adding "libmysqld.a" to Basenames index.
    D: adding "Applications/Databases" to Group index.
    D: adding 3 entries to Requirename index.
    D: adding "MySQL-embedded" to Providename index.
    D: adding "/usr/lib/mysql/" to Dirnames index.
    D: adding 3 entries to Requireversion index.
    D: adding "4.1.21-0.glibc23" to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "6a96cb134a0774367da0b04a088ff61aa2ff7708" to Sha1header index.
    D: adding 1 entries to Filemd5s index.
    D:  read h#      14 Header sanity check: OK
    D:   +++ h#       6 Header sanity check: OK
    D: adding "gpg-pubkey" to Name index.
    D: adding "Public Keys" to Group index.
    D: adding 2 entries to Providename index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Pubkeys index.
    D:  read h#      16 Header V3 DSA signature: OK, key ID 025e513b
    D:   +++ h#       7 Header V3 DSA signature: OK, key ID 025e513b
    D: adding "rpm-libs" to Name index.
    D: adding 4 entries to Basenames index.
    D: adding "Development/Libraries" to Group index.
    D: adding 25 entries to Requirename index.
    D: adding 5 entries to Providename index.
    D: adding "/usr/lib/" to Dirnames index.
    D: adding 25 entries to Requireversion index.
    D: adding 5 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "9d2234068deddd06255cb0d21d09077c157ea153" to Sha1header index.
    D: adding 4 entries to Filemd5s index.
    D:  read h#      18 Header V3 DSA signature: OK, key ID 025e513b
    D:   +++ h#       8 Header V3 DSA signature: OK, key ID 025e513b
    D: adding "rpm-build" to Name index.
    D: adding 56 entries to Basenames index.
    D: adding "Development/Tools" to Group index.
    D: adding 29 entries to Requirename index.
    D: adding 2 entries to Providename index.
    D: adding 6 entries to Dirnames index.
    D: adding 29 entries to Requireversion index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "3095f3a2f7595fc768c799d693ce814d7dcc9a66" to Sha1header index.
    D: adding 56 entries to Filemd5s index.
    D:  read h#      20 Header SHA1 digest: OK (17875a9615f29ac013d2d0644a3bae572bac4d66)
    D:   +++ h#       9 Header SHA1 digest: OK (17875a9615f29ac013d2d0644a3bae572bac4d66)
    D: adding "exim" to Name index.
    D: adding 50 entries to Basenames index.
    D: adding "Daemons" to Group index.
    D: adding 47 entries to Requirename index.
    D: adding 6 entries to Providename index.
    D: adding 13 entries to Dirnames index.
    D: adding 47 entries to Requireversion index.
    D: adding 6 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "17875a9615f29ac013d2d0644a3bae572bac4d66" to Sha1header index.
    D: adding 50 entries to Filemd5s index.
    D:  read h#      22 Header sanity check: OK
    D:   +++ h#      10 Header sanity check: OK
    D: adding "gpg-pubkey" to Name index.
    D: adding "Public Keys" to Group index.
    D: adding 2 entries to Providename index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Pubkeys index.
    D:  read h#      24 Header SHA1 digest: OK (5e69de35533ab67b33a00066b873438f3dce173e)
    D:   +++ h#      11 Header SHA1 digest: OK (5e69de35533ab67b33a00066b873438f3dce173e)
    D: adding "pure-ftpd" to Name index.
    D: adding 46 entries to Basenames index.
    D: adding "System Environment/Daemons" to Group index.
    D: adding 16 entries to Requirename index.
    D: adding 4 entries to Providename index.
    D: adding 7 entries to Conflictname index.
    D: adding 7 entries to Dirnames index.
    D: adding 16 entries to Requireversion index.
    D: adding 4 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "5e69de35533ab67b33a00066b873438f3dce173e" to Sha1header index.
    D: adding 46 entries to Filemd5s index.
    D:  read h#       1 Header sanity check: OK
    D:   +++ h#      12 Header sanity check: OK
    D: adding "gpg-pubkey" to Name index.
    D: adding "Public Keys" to Group index.
    D: adding 2 entries to Providename index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Pubkeys index.
    D:  read h#       3 Header SHA1 digest: OK (ce902e4fa035ad4ac8bbbc8c87708bcef43f7969)
    D:   +++ h#      13 Header SHA1 digest: OK (ce902e4fa035ad4ac8bbbc8c87708bcef43f7969)
    D: adding "MySQL-shared" to Name index.
    D: adding 6 entries to Basenames index.
    D: adding "Applications/Databases" to Group index.
    D: adding 20 entries to Requirename index.
    D: adding 5 entries to Providename index.
    D: adding "/usr/lib/" to Dirnames index.
    D: adding 20 entries to Requireversion index.
    D: adding 5 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "ce902e4fa035ad4ac8bbbc8c87708bcef43f7969" to Sha1header index.
    D: adding 6 entries to Filemd5s index.
    D:  read h#       5 Header V3 DSA signature: OK, key ID 025e513b
    D:   +++ h#      14 Header V3 DSA signature: OK, key ID 025e513b
    D: adding "rpmdb-redhat" to Name index.
    D: adding 21 entries to Basenames index.
    D: adding "Development/System" to Group index.
    D: adding 4 entries to Requirename index.
    D: adding "rpmdb-redhat" to Providename index.
    D: adding 3 entries to Dirnames index.
    D: adding 4 entries to Requireversion index.
    D: adding "3.8-0.20060811" to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "88405bc855dc410fb9e06b2d0a93da21e4ac6a84" to Sha1header index.
    D: adding 21 entries to Filemd5s index.
    D:  read h#       7 Header SHA1 digest: OK (98eab62c7254246ee38263a3e32290e9cbbb1425)
    D:   +++ h#      15 Header SHA1 digest: OK (98eab62c7254246ee38263a3e32290e9cbbb1425)
    D: adding "bandmin" to Name index.
    D: adding 27 entries to Basenames index.
    D: adding "Networking/Utilities" to Group index.
    D: adding 19 entries to Requirename index.
    D: adding 3 entries to Providename index.
    D: adding 7 entries to Dirnames index.
    D: adding 19 entries to Requireversion index.
    D: adding 3 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "98eab62c7254246ee38263a3e32290e9cbbb1425" to Sha1header index.
    D: adding 27 entries to Filemd5s index.
    D:  read h#       9 Header V3 DSA signature: OK, key ID 025e513b
    D:   +++ h#      16 Header V3 DSA signature: OK, key ID 025e513b
    D: adding "rpm-python" to Name index.
    D: adding "rpmmodule.so" to Basenames index.
    D: adding "Development/Libraries" to Group index.
    D: adding 18 entries to Requirename index.
    D: adding 2 entries to Providename index.
    D: adding "/usr/lib/python2.2/site-packages/" to Dirnames index.
    D: adding 18 entries to Requireversion index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "3d57a3dd09da00d4e9e76d6112e86b54f39bb9ca" to Sha1header index.
    D: adding 1 entries to Filemd5s index.
    D:  read h#      11 Header V3 DSA signature: OK, key ID 025e513b
    D:   +++ h#      17 Header V3 DSA signature: OK, key ID 025e513b
    D: adding "rpm-python" to Name index.
    D: adding "rpmmodule.so" to Basenames index.
    D: adding "Development/Libraries" to Group index.
    D: adding 18 entries to Requirename index.
    D: adding 2 entries to Providename index.
    D: adding "/usr/lib/python2.2/site-packages/" to Dirnames index.
    D: adding 18 entries to Requireversion index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "643ce45ce88c49227c0673955ea91a1475a24925" to Sha1header index.
    D: adding 1 entries to Filemd5s index.
    D:  read h#      13 Header SHA1 digest: OK (8709cc6e91b90332159bf7f314c0d176b50ef02e)
    D:   +++ h#      18 Header SHA1 digest: OK (8709cc6e91b90332159bf7f314c0d176b50ef02e)
    D: adding "courier-authlib" to Name index.
    D: adding 71 entries to Basenames index.
    D: adding "System Environment/Daemons" to Group index.
    D: adding 28 entries to Requirename index.
    D: adding 9 entries to Providename index.
    D: adding 13 entries to Dirnames index.
    D: adding 28 entries to Requireversion index.
    D: adding 9 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "8709cc6e91b90332159bf7f314c0d176b50ef02e" to Sha1header index.
    D: adding 71 entries to Filemd5s index.
    D:  read h#      15 Header SHA1 digest: OK (3f184ddfa439a893d97852597b3fe5b9ebc9e206)
    D:   +++ h#      19 Header SHA1 digest: OK (3f184ddfa439a893d97852597b3fe5b9ebc9e206)
    D: adding "courier-imap" to Name index.
    D: adding 74 entries to Basenames index.
    D: adding "Applications/Mail" to Group index.
    D: adding 26 entries to Requirename index.
    D: adding 2 entries to Providename index.
    D: opening  db index       /var/lib/rpmrebuilddb.26919/Triggername create mode=0x42
    D: adding "courier-imap" to Triggername index.
    D: adding 16 entries to Dirnames index.
    D: adding 26 entries to Requireversion index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "3f184ddfa439a893d97852597b3fe5b9ebc9e206" to Sha1header index.
    D: adding 74 entries to Filemd5s index.
    D:  read h#      17 Header SHA1 digest: OK (5e69de35533ab67b33a00066b873438f3dce173e)
    D:   +++ h#      20 Header SHA1 digest: OK (5e69de35533ab67b33a00066b873438f3dce173e)
    D: adding "pure-ftpd" to Name index.
    D: adding 46 entries to Basenames index.
    D: adding "System Environment/Daemons" to Group index.
    D: adding 16 entries to Requirename index.
    D: adding 4 entries to Providename index.
    D: adding 7 entries to Conflictname index.
    D: adding 7 entries to Dirnames index.
    D: adding 16 entries to Requireversion index.
    D: adding 4 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "5e69de35533ab67b33a00066b873438f3dce173e" to Sha1header index.
    D: adding 46 entries to Filemd5s index.
    D:  read h#      19 Header SHA1 digest: OK (7fc121e1ea54b27d4fd6b0ba945cda17373d1ff7)
    D:   +++ h#      21 Header SHA1 digest: OK (7fc121e1ea54b27d4fd6b0ba945cda17373d1ff7)
    D: adding "courier-authlib-pipe" to Name index.
    D: adding 4 entries to Basenames index.
    D: adding "System Environment/Daemons" to Group index.
    D: adding 7 entries to Requirename index.
    D: adding 2 entries to Providename index.
    D: adding "/usr/lib/courier-authlib/" to Dirnames index.
    D: adding 7 entries to Requireversion index.
    D: adding 2 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "7fc121e1ea54b27d4fd6b0ba945cda17373d1ff7" to Sha1header index.
    D: adding 4 entries to Filemd5s index.
    D:  read h#      21 Header SHA1 digest: OK (1f875dd7fb5b2fb07f6c32fbfb9bbdf6380d713f)
    D:   +++ h#      22 Header SHA1 digest: OK (1f875dd7fb5b2fb07f6c32fbfb9bbdf6380d713f)
    D: adding "courier-authlib-devel" to Name index.
    D: adding 23 entries to Basenames index.
    D: adding "Development/Libraries" to Group index.
    D: adding 5 entries to Requirename index.
    D: adding "courier-authlib-devel" to Providename index.
    D: adding 5 entries to Dirnames index.
    D: adding 5 entries to Requireversion index.
    D: adding "0.57-6cp" to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "1f875dd7fb5b2fb07f6c32fbfb9bbdf6380d713f" to Sha1header index.
    D: adding 23 entries to Filemd5s index.
    D:  read h#      23 Header SHA1 digest: OK (5e69de35533ab67b33a00066b873438f3dce173e)
    D:   +++ h#      23 Header SHA1 digest: OK (5e69de35533ab67b33a00066b873438f3dce173e)
    D: adding "pure-ftpd" to Name index.
    D: adding 46 entries to Basenames index.
    D: adding "System Environment/Daemons" to Group index.
    D: adding 16 entries to Requirename index.
    D: adding 4 entries to Providename index.
    D: adding 7 entries to Conflictname index.
    D: adding 7 entries to Dirnames index.
    D: adding 16 entries to Requireversion index.
    D: adding 4 entries to Provideversion index.
    D: adding 1 entries to Installtid index.
    D: adding 1 entries to Sigmd5 index.
    D: adding "5e69de35533ab67b33a00066b873438f3dce173e" to Sha1header index.
    D: adding 46 entries to Filemd5s index.
    D: closed   db index       /var/lib/rpm/Packages
    D: closed   db environment /var/lib/rpm/Packages
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Pubkeys
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Filemd5s
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Sha1header
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Sigmd5
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Installtid
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Provideversion
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Requireversion
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Dirnames
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Triggername
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Conflictname
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Providename
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Requirename
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Group
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Basenames
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Name
    D: closed   db index       /var/lib/rpmrebuilddb.26919/Packages
    D: closed   db environment /var/lib/rpmrebuilddb.26919/Packages
    D: removing directory /var/lib/rpmrebuilddb.26919
    D: closed   db index       /var/lib/rpm/Pubkeys
    D: closed   db index       /var/lib/rpm/Packages
    D: closed   db environment /var/lib/rpm/Packages
    [email protected] [~]#
    Heres what yum looks like

    Code:
     yum check-update
    
    Unable to find pid
    Gathering header information file(s) from server(s)
    Server: CentOS-Null - Addons
    Server: CentOS-Null - Base
    Server: CentOS-Null - Extras
    Server: CentOS-Null - Updates
    Finding updated packages
    Downloading needed headers
    Traceback (most recent call last):
      File "/usr/bin/yum", line 30, in ?
        yummain.main(sys.argv[1:])
      File "/usr/share/yum/yummain.py", line 253, in main
        clientStuff.download_headers(HeaderInfo, nulist)
      File "/usr/share/yum/clientStuff.py", line 950, in download_headers
        rpmUtils.checkheader(LocalHeaderFile, n, a)
      File "/usr/share/yum/rpmUtils.py", line 20, in checkheader
        h = Header_Work(headerfile)
      File "/usr/share/yum/rpmUtils.py", line 249, in __init__
        fd = gzip.open(header, 'r')
      File "/usr/lib/python2.2/gzip.py", line 30, in open
        return GzipFile(filename, mode, compresslevel)
      File "/usr/lib/python2.2/gzip.py", line 43, in __init__
        fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
    TypeError: file() argument 1 must be (encoded string without NULL bytes), not str

  5. #5
    Join Date
    Mar 2002
    Location
    St. Louis, MO
    Posts
    1,378
    heres rpm -qa

    Code:
    rpm-build-4.2.3-30_nonptl
    gpg-pubkey-db42a60e-37ea5438
    gpg-pubkey-025e513b-40561173
    rpm-build-4.2.3-24_nonptl
    gpg-pubkey-443e1821-421f218f
    gpg-pubkey-025e513b-40561173
    rpmdb-redhat-3.8-0.20060811
    rpm-python-4.2.3-24_nonptl
    courier-authlib-0.57-6cp
    pure-ftpd-1.0.20-17.tls
    courier-authlib-devel-0.57-6cp
    rpm-4.2.3-24_nonptl
    portsentry-1.1-5
    MySQL-embedded-4.1.21-0.glibc23
    rpm-libs-4.2.3-24_nonptl
    exim-4.52-15_cpanel_maildir
    pure-ftpd-1.0.20-17.tls
    error: rpmdbNextIterator: skipping h#      13 Header SHA1 digest: BAD Expected(ce902e4fa035ad4ac8bbbc8c87708bcef43f7969) != (db45aa4a02ae950d558bd148294b48fde1c25d0b)
    bandmin-1.6.1-1_newinit
    rpm-python-4.2.3-30_nonptl
    courier-imap-4.0.4-3cp
    courier-authlib-pipe-0.57-6cp
    pure-ftpd-1.0.20-17.tls
    Code:
    rpm -Va
    Unsatisfied dependencies for rpm-build-4.2.3-30_nonptl: /bin/bash, /bin/sh, /usr/bin/perl, file, libbeecrypt.so.6, libbz2.so.1, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libelf.so.1, libpopt.so.0, libpthread.so.0, libpthread.so.0(GLIBC_2.0), librt.so.1, libz.so.1, patch >= 2.5, perl >= 0:5.006001, perl(File::Basename), perl(Getopt::Long), perl(strict), rpm = 4.2.3-30_nonptl
    .......T   /usr/lib/rpm/brp-compress
    .......T   /usr/lib/rpm/brp-python-bytecompile
    .......T   /usr/lib/rpm/brp-redhat
    .......T   /usr/lib/rpm/brp-sparc64-linux
    .......T   /usr/lib/rpm/brp-strip
    .......T   /usr/lib/rpm/brp-strip-comment-note
    .......T   /usr/lib/rpm/brp-strip-shared
    .......T   /usr/lib/rpm/brp-strip-static-archive
    .......T   /usr/lib/rpm/check-files
    .......T   /usr/lib/rpm/check-prereqs
    .......T   /usr/lib/rpm/config.site
    .......T   /usr/lib/rpm/cross-build
    S.5....T   /usr/lib/rpm/debugedit
    .......T   /usr/lib/rpm/find-debuginfo.sh
    .......T   /usr/lib/rpm/find-lang.sh
    .......T   /usr/lib/rpm/find-prov.pl
    .......T   /usr/lib/rpm/find-provides
    .......T   /usr/lib/rpm/find-provides.perl
    .......T   /usr/lib/rpm/find-req.pl
    .......T   /usr/lib/rpm/find-requires
    .......T   /usr/lib/rpm/find-requires.perl
    .......T   /usr/lib/rpm/get_magic.pl
    .......T   /usr/lib/rpm/getpo.sh
    .......T   /usr/lib/rpm/http.req
    ..5....T   /usr/lib/rpm/javadeps
    .......T   /usr/lib/rpm/magic
    .......T   /usr/lib/rpm/magic.mgc
    .......T   /usr/lib/rpm/magic.mime
    .......T   /usr/lib/rpm/magic.mime.mgc
    .......T   /usr/lib/rpm/magic.prov
    .......T   /usr/lib/rpm/magic.req
    .......T   /usr/lib/rpm/perl.prov
    .......T   /usr/lib/rpm/perl.req
    .......T   /usr/lib/rpm/perldeps.pl
    ..5....T   /usr/lib/rpm/rpmb
    ..5....T   /usr/lib/rpm/rpmdeps
    .......T   /usr/lib/rpm/trpm
    .......T   /usr/lib/rpm/u_pkg.sh
    .......T   /usr/lib/rpm/vpkg-provides.sh
    .......T   /usr/lib/rpm/vpkg-provides2.sh
    .......T d /usr/share/man/man8/rpmbuild.8.gz
    .......T d /usr/share/man/man8/rpmdeps.8.gz
    Unsatisfied dependencies for rpm-build-4.2.3-24_nonptl: /bin/bash, /bin/sh, /usr/bin/perl, file, libbeecrypt.so.6, libbz2.so.1, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libelf.so.1, libpopt.so.0, libpthread.so.0, libpthread.so.0(GLIBC_2.0), librt.so.1, libz.so.1, patch >= 2.5, perl >= 0:5.006001, perl(File::Basename), perl(Getopt::Long), perl(strict)
    ..5.....   /usr/lib/rpm/magic.mgc
    Unsatisfied dependencies for rpmdb-redhat-3.8-0.20060811: /bin/sh, /bin/sh
    ..5.....   /usr/lib/rpmdb/i386-redhat-linux/redhat/Basenames
    ..5.....   /usr/lib/rpmdb/i386-redhat-linux/redhat/Filemd5s
    ..5.....   /usr/lib/rpmdb/i386-redhat-linux/redhat/Packages
    missing    /usr/lib/rpmdb/i386-redhat-linux/redhat/__db.001
    missing    /usr/lib/rpmdb/i386-redhat-linux/redhat/__db.002
    missing    /usr/lib/rpmdb/i386-redhat-linux/redhat/__db.003
    Unsatisfied dependencies for rpm-python-4.2.3-24_nonptl: /sbin/ldconfig, /sbin/ldconfig, elfutils >= 0.55, libbz2.so.1, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libelf.so.1, libpopt.so.0, libpthread.so.0, librt.so.1, libz.so.1, python >= 2.2
    Unsatisfied dependencies for courier-authlib-0.57-6cp: /bin/sh, /bin/sh, /bin/sh, /sbin/chkconfig, /sbin/chkconfig, /usr/bin/expect, /usr/bin/perl, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libcrypt.so.1, libcrypt.so.1(GLIBC_2.0), libdl.so.2, liblber.so.2, libldap.so.2, libltdl.so.3, libm.so.6, libpam.so.0, libpq.so.3, libresolv.so.2, perl(Getopt::Long), perl(IO::File)
    Unsatisfied dependencies for pure-ftpd-1.0.20-17.tls: /bin/bash, /bin/sh, /usr/bin/perl, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libcrypt.so.1, libcrypt.so.1(GLIBC_2.0), libcrypto.so.4, libssl.so.4, perl(strict)
    S.5....T c /etc/pure-ftpd.conf
    Unsatisfied dependencies for courier-authlib-devel-0.57-6cp: libc.so.6, libc.so.6(GLIBC_2.0)
    Unsatisfied dependencies for pure-ftpd-1.0.20-17.tls: /bin/bash, /bin/sh, /usr/bin/perl, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libcrypt.so.1, libcrypt.so.1(GLIBC_2.0), libcrypto.so.4, libssl.so.4, perl(strict)
    S.5....T c /etc/pure-ftpd.conf
    Unsatisfied dependencies for rpm-4.2.3-24_nonptl: /bin/bash, /bin/sh, /bin/sh, /bin/sh, /bin/sh, beecrypt >= 3.0.1, fileutils, libbeecrypt.so.6, libbz2.so.1, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libelf.so.1, libpopt.so.0, libpthread.so.0, libpthread.so.0(GLIBC_2.0), librt.so.1, libz.so.1, popt = 1.8.2, shadow-utils
    Unsatisfied dependencies for portsentry-1.1-5: /bin/sh, /bin/sh, /bin/sh, ld-linux.so.2, libc.so.6, /bin/bash, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1)
    S.5....T c /etc/portsentry/portsentry.ignore
    Unsatisfied dependencies for MySQL-embedded-4.1.21-0.glibc23: MySQL-devel
    Unsatisfied dependencies for rpm-libs-4.2.3-24_nonptl: libbeecrypt.so.6, libbz2.so.1, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.2.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2), libelf.so.1, libelf.so.1(ELFUTILS_1.0), libpopt.so.0, libpthread.so.0, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libpthread.so.0(GLIBC_2.2), libpthread.so.0(GLIBC_2.3.2), librt.so.1, libz.so.1
    Unsatisfied dependencies for exim-4.52-15_cpanel_maildir: /bin/chown, /bin/cp, /bin/sh, /bin/sh, /etc/init.d, /usr/bin/perl, /usr/sbin/useradd, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.2), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libcrypt.so.1, libcrypt.so.1(GLIBC_2.0), libcrypto.so.4, libdb-4.1.so, libdl.so.2, libdl.so.2(GLIBC_2.0), libdl.so.2(GLIBC_2.1), libm.so.6, libm.so.6(GLIBC_2.0), libnsl.so.1, libpam.so.0, libpthread.so.0, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.2), libresolv.so.2, libresolv.so.2(GLIBC_2.2), libssl.so.4, libutil.so.1, openssl, perl, perl(Getopt::Std), perl(IO::File), perl(POSIX), perl(Sys::Hostname), perl(integer), perl(strict), perl(vars), rsync
    S.5....T c /etc/aliases
    ..5..... c /etc/localaliases
    SM5...GT c /etc/localdomains
    ..5....T c /etc/secondarymx
    ..5..... c /etc/spammers
    missing    /usr/lib/libperl.so
    ......G.   /usr/sbin/sendmail
    Unsatisfied dependencies for MySQL-shared-4.1.21-0.glibc23: /bin/sh, /bin/sh, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.2), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libcrypt.so.1, libm.so.6, libnsl.so.1, libpthread.so.0, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libpthread.so.0(GLIBC_2.2), libpthread.so.0(GLIBC_2.3.2), libz.so.1
    Unsatisfied dependencies for bandmin-1.6.1-1_newinit: /bin/sh, /bin/sh, /usr/bin/perl, perl >= 0:5.002, perl >= 0:5.004, perl(Carp), perl(Exporter), perl(POSIX), perl(Socket), perl(bandmin.conf), perl(bmversion.pl), perl(services.conf), perl(strict), perl(vars)
    Unsatisfied dependencies for rpm-python-4.2.3-30_nonptl: /sbin/ldconfig, /sbin/ldconfig, elfutils >= 0.55, libbz2.so.1, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libelf.so.1, libpopt.so.0, libpthread.so.0, librt.so.1, libz.so.1, python >= 2.2, rpm = 4.2.3-30_nonptl
    ..5....T   /usr/lib/python2.2/site-packages/rpmmodule.so
    Unsatisfied dependencies for courier-imap-4.0.4-3cp: /bin/sh, /bin/sh, /bin/sh, /bin/sh, /sbin/chkconfig, /usr/bin/perl, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3), libcom_err.so.2, libcrypto.so.4, libgdbm.so.2, libk5crypto.so.3, libkrb5.so.3, libssl.so.4, perl(Getopt::Long), perl(IO::File), sed, sh-utils, textutils
    Unsatisfied dependencies for courier-authlib-pipe-0.57-6cp: libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3)
    Unsatisfied dependencies for pure-ftpd-1.0.20-17.tls: /bin/bash, /bin/sh, /usr/bin/perl, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libcrypt.so.1, libcrypt.so.1(GLIBC_2.0), libcrypto.so.4, libssl.so.4, perl(strict)
    S.5....T c /etc/pure-ftpd.conf
    Last edited by DigiCrime; 09-30-2006 at 01:21 AM.

  6. #6
    Join Date
    Mar 2002
    Location
    St. Louis, MO
    Posts
    1,378
    still searching

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •