[SOLVED] software centre has completly died

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] software centre has completly died

Postby Voodoo » Sep 6th, '12, 12:43

as root

Code: Select all
root@localhost nas]# urpmi.addmedia --distrib --wget 'ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/$RELEASE/$ARCH'
adding medium "Core Release"
adding medium "Core Release Debug" (ignored by default)
adding medium "Core Updates"
adding medium "Core Updates Debug" (ignored by default)
adding medium "Core Updates Testing" (ignored by default)
adding medium "Core Updates Testing Debug" (ignored by default)
adding medium "Core Backports" (ignored by default)
adding medium "Core Backports Debug" (ignored by default)
adding medium "Core Backports Testing" (ignored by default)
adding medium "Core Backports Testing Debug" (ignored by default)
adding medium "Nonfree Release" (ignored by default)
adding medium "Nonfree Release Debug" (ignored by default)
adding medium "Nonfree Updates" (ignored by default)
adding medium "Nonfree Updates Debug" (ignored by default)
adding medium "Nonfree Updates Testing" (ignored by default)
adding medium "Nonfree Updates Testing Debug" (ignored by default)
adding medium "Nonfree Backports" (ignored by default)
adding medium "Nonfree Backports Debug" (ignored by default)
adding medium "Nonfree Backports Testing" (ignored by default)
adding medium "Nonfree Backports Testing Debug" (ignored by default)
adding medium "Tainted Release" (ignored by default)
adding medium "Tainted Release Debug" (ignored by default)
adding medium "Tainted Updates" (ignored by default)
adding medium "Tainted Updates Debug" (ignored by default)
adding medium "Tainted Updates Testing" (ignored by default)
adding medium "Tainted Updates Testing Debug" (ignored by default)
adding medium "Tainted Backports" (ignored by default)
adding medium "Tainted Backports Debug" (ignored by default)
adding medium "Tainted Backports Testing" (ignored by default)
adding medium "Tainted Backports Testing Debug" (ignored by default)
adding medium "Core 32bit Release"
adding medium "Core 32bit Release Debug" (ignored by default)
adding medium "Core 32bit Updates"
adding medium "Core 32bit Updates Debug" (ignored by default)
adding medium "Core 32bit Updates Testing" (ignored by default)
adding medium "Core 32bit Updates Testing Debug" (ignored by default)
adding medium "Core 32bit Backports" (ignored by default)
adding medium "Core 32bit Backports Debug" (ignored by default)
adding medium "Core 32bit Backports Testing" (ignored by default)
adding medium "Core 32bit Backports Testing Debug" (ignored by default)
    ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/2/x86_64/media/core/release/media_info/20120816-155755-synthesis.hdlist.cz
error: rpmdb: Thread/process 9892/139816958232320 failed: Thread died in Berkeley DB library
error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db4 -  (-30974)
error: cannot open Packages database in /var/lib/rpm
unable to open rpmdb


it was giving me that error at the bottom before i removed the media and tried readding it, how do i fix this without reinstall as it will suck, updating spits the same error
Last edited by Voodoo on Sep 6th, '12, 14:24, edited 1 time in total.
rip steve jobs
User avatar
Voodoo
 
Posts: 54
Joined: Jul 9th, '12, 15:14

Re: software centre has completly died

Postby Voodoo » Sep 6th, '12, 12:57

Code: Select all
rpm --rebuilddb
error: rpmdb: Thread/process 9892/139816958232320 failed: Thread died in Berkeley DB library
error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db4 -  (-30974)
rip steve jobs
User avatar
Voodoo
 
Posts: 54
Joined: Jul 9th, '12, 15:14

Re: software centre has completly died

Postby tom_ » Sep 6th, '12, 13:15

try this:

Code: Select all
rm -f /var/lib/rpm/__db*
rm -f /var/lib/rpm/.rpm.lock
rpm –rebuilddb
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: software centre has completly died

Postby jkerr82508 » Sep 6th, '12, 14:10

tom_ wrote:try this:

Code: Select all
rm -f /var/lib/rpm/__db*
rm -f /var/lib/rpm/.rpm.lock
rpm –rebuilddb


I think that the third command in that set should be
Code: Select all
rpm –-rebuilddb

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: software centre has completly died

Postby Voodoo » Sep 6th, '12, 14:24

rm -f /var/lib/rpm/__db* then rpm --rebuilddb did the trick, thanks
rip steve jobs
User avatar
Voodoo
 
Posts: 54
Joined: Jul 9th, '12, 15:14


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest