Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th March 2006, 21:18
BFRD BFRD is offline
Junior Member
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default apt-get error on Fedora Core 4

When trying to update the apt database I get the following:

Quote:
[root@www network-scripts]# apt-get upgrade
rpmdb: Program version 4.3 doesn't match environment version
error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
E: could not open RPM database
How do I go about fixing this?

TIA
Reply With Quote
Sponsored Links
  #2  
Old 20th March 2006, 23:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

The command to update the apt database is
Code:
apt-get update
, not
Code:
apt-get upgrade
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 20th March 2006, 23:46
BFRD BFRD is offline
Junior Member
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, I copied the wrong thing (I tried that to see if it would help)

Quote:
[root@www ~]# apt-get update
Get:1 http://ayo.freshrpms.net fedora/linux/4/i386 release [1835B]
Get:2 http://ayo.freshrpms.net fedora/linux/1/i386 release [1807B]
Fetched 3642B in 0s (5669B/s)
Hit http://ayo.freshrpms.net fedora/linux/4/i386/core pkglist
Hit http://ayo.freshrpms.net fedora/linux/4/i386/core release
Get:1 http://ayo.freshrpms.net fedora/linux/4/i386/updates pkglist [1241kB]
Hit http://ayo.freshrpms.net fedora/linux/4/i386/updates release
Hit http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms pkglist
Hit http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms release
Get:2 http://ayo.freshrpms.net fedora/linux/4/i386/tupdates pkglist [91.6kB]
Hit http://ayo.freshrpms.net fedora/linux/4/i386/tupdates release
Hit http://ayo.freshrpms.net fedora/linux/1/i386/core pkglist
Hit http://ayo.freshrpms.net fedora/linux/1/i386/core release
Hit http://ayo.freshrpms.net fedora/linux/1/i386/updates pkglist
Hit http://ayo.freshrpms.net fedora/linux/1/i386/updates release
Hit http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms pkglist
Hit http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms release
Fetched 1333kB in 9s (145kB/s)
rpmdb: Program version 4.3 doesn't match environment version
error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environ ment version mismatch
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
E: could not open RPM database
Reply With Quote
  #4  
Old 21st March 2006, 00:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

There must be something wrong with your apt installation. I recommend you use yum then instead of apt.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora core 3 humph Installation/Configuration 1 3rd March 2006 10:36
Perfect Setup - Fedora Core 3 - saslauthd problem Median Installation/Configuration 28 29th January 2006 19:51
ISPCONFIG installation problem with Fedora Core 4 (64 bit) dchowdhu Installation/Configuration 5 25th January 2006 07:21
Cannot Enter to My Fedora Core 3 after finised install ISPConfig succesfully fandi2000x Installation/Configuration 4 24th January 2006 11:14
Few questions about Fedora core 4 perfect setup + mantasman HOWTO-Related Questions 3 9th January 2006 23:22


All times are GMT +2. The time now is 05:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.