Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 06-05-2008, 05:30 PM
Aaron Gray
Tablet PC Guest
 
Posts: n/a
Fatal error on running Yum !

Went to run Yum and got the following :-

[root@xxxxxxxxxxx ~]# yum
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run
database recovery
error: cannot open Packages index using db3 - (-30977)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 80, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in
doConfigSetup
self.conf = config.readMainConfig(fn, root)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 589, in
readMainConfig
vars['releasever'] = _getsysver(earlyconf.installroot,
earlyconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 689, in
_getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
[root@xxxxxxxxxxxx ~]#

Anyone know whats gone wrong ?

and how to fix it if possible ?

Many thanks in advance,

Aaron

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 06-05-2008, 05:30 PM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 06-05-2008, 05:30 PM
Ivan Marsh
Tablet PC Guest
 
Posts: n/a
Re: Fatal error on running Yum !

On Fri, 06 Jun 2008 02:17:19 +0100, Aaron Gray wrote:

> Went to run Yum and got the following :-
>
> [root@xxxxxxxxxxx ~]# yum
> rpmdb: PANIC: fatal region error detected; run recovery error: db4
> error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run
> database recovery
> error: cannot open Packages index using db3 - (-30977) error: cannot
> open Packages database in /var/lib/rpm Traceback (most recent call
> last):
> File "/usr/bin/yum", line 29, in ?
> yummain.main(sys.argv[1:])
> File "/usr/share/yum-cli/yummain.py", line 80, in main
> base.getOptionsConfig(args)
> File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
> self.doConfigSetup(fn=opts.conffile, root=root)
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in
> doConfigSetup
> self.conf = config.readMainConfig(fn, root)
> File "/usr/lib/python2.4/site-packages/yum/config.py", line 589, in
> readMainConfig
> vars['releasever'] = _getsysver(earlyconf.installroot,
> earlyconf.distroverpkg)
> File "/usr/lib/python2.4/site-packages/yum/config.py", line 689, in
> _getsysver
> idx = ts.dbMatch('provides', distroverpkg)
> TypeError: rpmdb open failed
> [root@xxxxxxxxxxxx ~]#
>
> Anyone know whats gone wrong ?
>
> and how to fix it if possible ?
>
> Many thanks in advance,
>
> Aaron


Sounds like the database might be corrupted.
Have you tried: yum clean all
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 06-05-2008, 05:30 PM
Aaron Gray
Tablet PC Guest
 
Posts: n/a
Re: Fatal error on running Yum !

"Ivan Marsh" <ivanmarsh******.com> wrote in message
news:1212722173_463819@news.usenet.com...
> On Fri, 06 Jun 2008 02:17:19 +0100, Aaron Gray wrote:
>
>> Went to run Yum and got the following :-
>>
>> [root@xxxxxxxxxxx ~]# yum
>> rpmdb: PANIC: fatal region error detected; run recovery error: db4
>> error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run
>> database recovery
>> error: cannot open Packages index using db3 - (-30977) error: cannot
>> open Packages database in /var/lib/rpm Traceback (most recent call
>> last):
>> File "/usr/bin/yum", line 29, in ?
>> yummain.main(sys.argv[1:])
>> File "/usr/share/yum-cli/yummain.py", line 80, in main
>> base.getOptionsConfig(args)
>> File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
>> self.doConfigSetup(fn=opts.conffile, root=root)
>> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in
>> doConfigSetup
>> self.conf = config.readMainConfig(fn, root)
>> File "/usr/lib/python2.4/site-packages/yum/config.py", line 589, in
>> readMainConfig
>> vars['releasever'] = _getsysver(earlyconf.installroot,
>> earlyconf.distroverpkg)
>> File "/usr/lib/python2.4/site-packages/yum/config.py", line 689, in
>> _getsysver
>> idx = ts.dbMatch('provides', distroverpkg)
>> TypeError: rpmdb open failed
>> [root@xxxxxxxxxxxx ~]#
>>
>> Anyone know whats gone wrong ?
>>
>> and how to fix it if possible ?
>>
>> Many thanks in advance,
>>
>> Aaron

>
> Sounds like the database might be corrupted.
> Have you tried: yum clean all


Jut gives :-

#rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run
database recovery
error: cannot open Packages index using db3 - (-30977)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 80, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in
doConfigSetup
self.conf = config.readMainConfig(fn, root)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 589, in
readMainConfig
vars['releasever'] = _getsysver(earlyconf.installroot,
earlyconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 689, in
_getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed

Aaron

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 06-05-2008, 06:00 PM
Aaron Gray
Tablet PC Guest
 
Posts: n/a
Re: Fatal error on running Yum !

"Ivan Marsh" <ivanmarsh******.com> wrote in message
news:1212722173_463819@news.usenet.com...
> On Fri, 06 Jun 2008 02:17:19 +0100, Aaron Gray wrote:
>
>> Went to run Yum and got the following :-
>>
>> [root@xxxxxxxxxxx ~]# yum
>> rpmdb: PANIC: fatal region error detected; run recovery error: db4
>> error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run
>> database recovery
>> error: cannot open Packages index using db3 - (-30977) error: cannot
>> open Packages database in /var/lib/rpm Traceback (most recent call
>> last):
>> File "/usr/bin/yum", line 29, in ?
>> yummain.main(sys.argv[1:])
>> File "/usr/share/yum-cli/yummain.py", line 80, in main
>> base.getOptionsConfig(args)
>> File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
>> self.doConfigSetup(fn=opts.conffile, root=root)
>> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in
>> doConfigSetup
>> self.conf = config.readMainConfig(fn, root)
>> File "/usr/lib/python2.4/site-packages/yum/config.py", line 589, in
>> readMainConfig
>> vars['releasever'] = _getsysver(earlyconf.installroot,
>> earlyconf.distroverpkg)
>> File "/usr/lib/python2.4/site-packages/yum/config.py", line 689, in
>> _getsysver
>> idx = ts.dbMatch('provides', distroverpkg)
>> TypeError: rpmdb open failed
>> [root@xxxxxxxxxxxx ~]#
>>
>> Anyone know whats gone wrong ?
>>
>> and how to fix it if possible ?
>>
>> Many thanks in advance,
>>
>> Aaron

>
> Sounds like the database might be corrupted.
> Have you tried: yum clean all


i have also tried a rpm --rebuild which fails too

Aaron

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 06-05-2008, 07:20 PM
Aaron Gray
Tablet PC Guest
 
Posts: n/a
Re: Fatal error on running Yum !

A reboot did the trick, faith restored !:)

Aaron


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error for Windows XP Installation -- Syntax error in manifes notoftenonline Windows XP 10 08-31-2008 04:13 AM
Error: -1603 Fatal error during installation WhiplashInfo.se Windows Vista 1 03-27-2008 05:30 AM
Fatal Error George Internet Explorer 0 09-30-2007 02:30 PM
FATAL ERROR MESS "NET_SENDPACKET ERROR.WSAEINTR ANDREAS Windows XP 0 05-20-2007 05:20 PM
FATAL ERROR Richard Windows XP 6 04-22-2007 04:15 PM


All times are GMT -8. The time now is 01:39 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0