<---- template headericclude ----->
Can no longer update
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Location
    UK, Bucks.
    Posts
    354
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can no longer update

    I didn't update for 3 months or so, as I hadn't used Fedora in a while. After it finished the long update and rebooted I get the following error:

    Code:
    [root@Jon-Laptop Jon]# yum update
    Loaded plugins: refresh-packagekit
    rpmdb: Thread/process 3198/3087034048 failed: Thread died in Berkeley DB library
    error: db4 error(-30975) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
    error: cannot open Packages index using db3 -  (-30975)
    error: cannot open Packages database in /var/lib/rpm
    Traceback (most recent call last):
      File "/usr/bin/yum", line 29, in <module>
        yummain.user_main(sys.argv[1:], exit_code=True)
      File "/usr/share/yum-cli/yummain.py", line 229, in user_main
        errcode = main(args)
      File "/usr/share/yum-cli/yummain.py", line 84, in main
        base.getOptionsConfig(args)
      File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
        enabled_plugins=self.optparser._splitArg(opts.enableplugins))
      File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 192, in _getConfig
        self._conf = config.readMainConfig(startupconf)
      File "/usr/lib/python2.5/site-packages/yum/config.py", line 774, in readMainConfig
        yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
      File "/usr/lib/python2.5/site-packages/yum/config.py", line 844, in _getsysver
        idx = ts.dbMatch('provides', distroverpkg)
    TypeError: rpmdb open failed
    [root@Jon-Laptop Jon]#
    I would appreciate some help with this. Thank-you in advance.
    Thinkpad T400 - Smolt Profile || Thinkpad T61 - Smolt Profile || Thinkpad T41p - Smolt Profile.

  2. #2
    Join Date
    Aug 2006
    Location
    /dev/realm/{Abba,Carpenters,...stage}
    Posts
    3,285
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try
    Code:
    su
    rm -f /var/lib/rpm/__db.*
    rpm --rebuilddb
    # Wait for it to finish. Might take a while. 
    yum clean all
    yum update
    For safer browsing, use OpenDNS nameservers 208.67.222.222 and 208.67.220.220

    SELinux User Guide

    AutoPager

  3. #3
    Join Date
    Sep 2006
    Location
    UK, Bucks.
    Posts
    354
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks very much, that solved the problem.
    Thinkpad T400 - Smolt Profile || Thinkpad T61 - Smolt Profile || Thinkpad T41p - Smolt Profile.

  4. #4
    Join Date
    Apr 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up same problem with rpmdb

    Thanks!
    I had the same problem with rpmdb. Deleting and rebuilding it fixed things very nicely
    Chris

Similar Threads

  1. F9 cannot no longer get update list
    By MJM in forum Using Fedora
    Replies: 3
    Last Post: 11th December 2008, 04:31 AM
  2. After update mouse no longer works.
    By Dastekcom in forum Hardware
    Replies: 0
    Last Post: 15th January 2008, 11:51 PM
  3. No longer able to update FC5!
    By rgaelzer in forum Using Fedora
    Replies: 9
    Last Post: 30th November 2006, 11:18 PM
  4. Xine no longer working after update
    By warewolf in forum Using Fedora
    Replies: 0
    Last Post: 6th September 2006, 05:50 AM
  5. rpm no longer works after update from FC3 to FC4
    By tommyd3mdi in forum EOL (End Of Life) Versions
    Replies: 1
    Last Post: 25th June 2005, 11:06 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]