Fedora Linux Support Community & Resources Center
  #1  
Old 13th June 2017, 09:47 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,074
linuxchrome
Exclamation PSA: RPM database issues after update to libdb-5.3.28-21 on Fedora 24 and Fedora 25

Quote:
By adamw on June 9, 2017

Hi there, folks!

This is an important PSA for Fedora 24, 25 and 26 (pre-release) version users: if you recently updated and got some kind of error or crash and now you’re getting RPM database errors, you need to do the old reliable RPM database fix dance:

Code:
# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb
and all should be well again. We do apologize for this.

Longer version: there’s a rather subtle and tricky bug in libdb (the database that RPM uses) which has been causing problems with upgrades from Fedora 24/25 to Fedora 26. The developers have made a few attempts to fix this, and testing this week had indicated that the most recent attempt – libdb-5.3.28-21 – was working well. We believed the fix needed to be applied both on the ‘from’ and the ‘to’ end of any affected transaction, so we went ahead and sent the -21 update out to Fedora 24, 25 and 26.

Unfortunately it now seems like -21 may still have bugs that were not found in the testing; in the last few hours several people have reported that they hit some kind of crash during an update involving libdb -21, and subsequently there was a problem with their RPM database.

While we investigate and figure out what to do about fixing this properly, in the short term, if you’re affected, just doing the old “rebuild the RPM database” trick seems to resolve the problem:

Code:
# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb
It’s unfortunate that we have to break that one out of cold storage (I hadn’t had to do it for so long I’d almost forgotten it…), but it should at least get you back up and working for now.

We do apologize sincerely for this mess, and we’ll try and do all we can to fix it up ASAP.
Source
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
  #2  
Old 13th June 2017, 10:49 AM
User808 Offline
Registered User
 
Join Date: Aug 2016
Location: Iraq
Posts: 728
linuxfedorafirefox
Re: PSA: RPM database issues after update to libdb-5.3.28-21 on Fedora 24 and Fedora

What you mean: updating system or upgrading from Fedora version to one higher ?

What type of error ? error message appearing in terminal during update/(or upgrade) or other form of error ? Please explain !
__________________
Fedora 26 X64 bit Cinnamon edition on Lenovo ThinkPad e550 with Intel core i7 5500 CPU @ 2.40 GH X 2, RAM = 8 GB, HHD = 1 TB, Hybrid VGA (Intel Corporation HD Graphic 5500 + Radeon R7 M265 2GB)
  #3  
Old 13th June 2017, 11:45 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,074
linuxchrome
Re: PSA: RPM database issues after update to libdb-5.3.28-21 on Fedora 24 and Fedora

it affects any package update where you may have encountered an error but also a distribution upgrade as well
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
  #4  
Old 13th June 2017, 12:06 PM
User808 Offline
Registered User
 
Join Date: Aug 2016
Location: Iraq
Posts: 728
linuxfedorafirefox
Re: PSA: RPM database issues after update to libdb-5.3.28-21 on Fedora 24 and Fedora

Quote:
Originally Posted by antikythera View Post
it affects any package update where you may have encountered an error but also a distribution upgrade as well
1) how I know an error occurred or not ?

2) since how long this database issue dated ?

3) does error in my bluetooth (blueberry), that you discussed yesterday, could be related to this issue ?

4) in this weak I faced error with portable program: ICQ messenger Linux package downloaded from their site: they installed but not working (just launched but I can not log in).

5) regarding code:

# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb

a) how long it may need ? Long time, like over night ?

b) is their a risk from use it if I has no error ?

c) regarding "__db*" are you sure from this: 2 underscore like this __ I mean _ then _ so become __

d) does this could need Internet connection ?
__________________
Fedora 26 X64 bit Cinnamon edition on Lenovo ThinkPad e550 with Intel core i7 5500 CPU @ 2.40 GH X 2, RAM = 8 GB, HHD = 1 TB, Hybrid VGA (Intel Corporation HD Graphic 5500 + Radeon R7 M265 2GB)
  #5  
Old 13th June 2017, 12:47 PM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,074
linuxfedorafirefox
Re: PSA: RPM database issues after update to libdb-5.3.28-21 on Fedora 24 and Fedora

how will you know? you'd get an error message like this

as for the bluetooth issue, no it will not have caused that

refer to the bugzilla links in the first post for the exact date it was first noticed.

the command completes in seconds and the format is correct. the line is a double underscore.

risk? marginal. any rpm rebuild shouldn't break anything but if you haven't had any rpm errors you shouldn't run it just in case. the command can be run offline. I'd also do the following so that next time you run anything that uses dnf it also gets fresh package and metadata from the servers.

Code:
dnf clean all
keep calm and carry on...
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
  #6  
Old 13th June 2017, 01:03 PM
User808 Offline
Registered User
 
Join Date: Aug 2016
Location: Iraq
Posts: 728
linuxfedorafirefox
Re: PSA: RPM database issues after update to libdb-5.3.28-21 on Fedora 24 and Fedora

Quote:
Originally Posted by antikythera View Post
how will you know? you'd get an error message like this
1) You mean error message in response to "sudo dnf update --refresh -v" ?

2) Why update not upgrade ? I mean "sudo dnf upgrade --refresh -v"

3) What -v mean ?
__________________
Fedora 26 X64 bit Cinnamon edition on Lenovo ThinkPad e550 with Intel core i7 5500 CPU @ 2.40 GH X 2, RAM = 8 GB, HHD = 1 TB, Hybrid VGA (Intel Corporation HD Graphic 5500 + Radeon R7 M265 2GB)
  #7  
Old 13th June 2017, 01:39 PM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,074
linuxfedorafirefox
Re: PSA: RPM database issues after update to libdb-5.3.28-21 on Fedora 24 and Fedora

the -v switch is a universal switch used by many command line applications to direct them to display verbose (full) output.

any more questions please open another thread.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Update Issues with NSS on Fedora 19 mswal2846 Installation, Upgrades and Live Media 2 8th October 2013 01:05 PM
[SOLVED] Can't update from fedora 10 - yum issues ciaranw EOL (End Of Life) Versions 4 18th September 2011 10:50 AM
[SOLVED] Install libdb-utils fedora 15 x0000000009 Using Fedora 0 17th August 2011 07:02 PM
Update issues with Fedora 12 64-bit tron_thomas Using Fedora 4 15th March 2010 03:14 AM
Problems Installing dsniff, requires libdb.so.3 -- Fedora 7 Chum Using Fedora 3 22nd June 2007 03:27 PM


Current GMT-time: 18:27 (Tuesday, 17-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat