Bug 13965 - RPM DB_PAGE_NOTFOUND When a system is restored using mondorestore.
Summary: RPM DB_PAGE_NOTFOUND When a system is restored using mondorestore.
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: i586 Linux
Priority: High major
Target Milestone: Mageia 4
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-21 23:37 CEST by Al Do
Modified: 2015-10-27 06:56 CET (History)
4 users (show)

See Also:
Source RPM: mondo
CVE:
Status comment:


Attachments
Snapshot of software management (179.51 KB, image/png)
2014-08-21 23:59 CEST, Al Do
Details

Description Al Do 2014-08-21 23:37:54 CEST
Description of problem:

After making a CDRW Mondoarchive on a good running system and then do a mondorestore I get the follwoing error on the cloned system when I open MCC.

error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found

I am not sure if this a Mageia, rpm or mondoarchive/mondorestore issue. I did notice that the icons in the status column of rpmdrake do not appear. I am attaching a konsole text file.

konsole text:

[allen@localhost ~]$ su
Password: 
[root@localhost allen]# mcc
"/usr/sbin/drakmenustyle" is not executable [Menus] at /usr/libexec/drakconf line 831.
"/usr/sbin/drakbackup" is not executable [Backups] at /usr/libexec/drakconf line 831.
"/usr/sbin/tomoyo-gui" is not executable [Tomoyo Policy] at /usr/libexec/drakconf line 831.
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 296.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 545.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 545.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 545.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 545.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 545.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 545.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 545.
Impossible to set by_group view as default

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 adjusted size vertical min 47 natural 47 must not decrease below min 48 natural 48

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 1024x54 to 0,0 1012x55. adjust_size_allocation must keep allocation inside original bounds
getting lock on urpmi
using mirror ftp://mirror.nexcess.net/mageia/distrib/4/i586
examining synthesis file [/var/lib/urpmi/Live Core/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Live Nonfree/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Backports/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Backports/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted Backports/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/mondorescue-test/synthesis.hdlist.cz]
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
unlocking urpmi database

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 1022x54 to 0,0 1010x55. adjust_size_allocation must keep allocation inside original bounds

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 1021x54 to 0,0 1009x55. adjust_size_allocation must keep allocation inside original bounds

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 794x54 to 0,0 782x55. adjust_size_allocation must keep allocation inside original bounds

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 737x54 to 0,0 725x55. adjust_size_allocation must keep allocation inside original bounds

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 715x54 to 0,0 703x55. adjust_size_allocation must keep allocation inside original bounds

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 1400x54 to 0,0 1388x55. adjust_size_allocation must keep allocation inside original bounds

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 715x54 to 0,0 703x55. adjust_size_allocation must keep allocation inside original bounds                                                            
                                                                                                                             
(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 1400x54 to 0,0 1388x55. adjust_size_allocation must keep allocation inside original bounds

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 715x54 to 0,0 703x55. adjust_size_allocation must keep allocation inside original bounds

(drakrpm:4307): Gtk-WARNING **: GtkImage 0xb7bdca0 attempted to adjust its size allocation from -12,1 1400x54 to 0,0 1388x55. adjust_size_allocation must keep allocation inside original bounds
[root@localhost allen]# 





Version-Release number of selected component (if applicable):
Mageia 4 Rpmdrake 6.10.3


How reproducible:


Steps to Reproduce:

Steps are in the konsel text.

1.
2.
3.


Reproducible: 

Steps to Reproduce:
Al Do 2014-08-21 23:44:55 CEST

Priority: Normal => High
CC: (none) => al_tech
Component: Others => RPM Packages
Version: unspecified => 4
Product: Infrastructure => Mageia
Target Milestone: --- => Mageia 4
Severity: normal => major

Comment 1 Al Do 2014-08-21 23:59:59 CEST
Created attachment 5352 [details]
Snapshot of software management

This is to show no icons in status column and also no check marks in package column as their should be.
Comment 2 Al Do 2014-08-22 00:05:14 CEST
Comment on attachment 5352 [details]
Snapshot of software management

This is to show no icons in status column and also no check marks in package column. Their should be both icons and check marks.
Comment 3 Al Do 2014-08-22 00:08:12 CEST
One more thing I forgot to mention. I am not able to update or install programs.
Thierry Vignaud 2014-08-22 11:28:13 CEST

CC: (none) => bruno, thierry.vignaud
Assignee: sysadmin-bugs => bugsquad
Source RPM: Rpmdrake 6.10.3 => mondo

Comment 4 Thierry Vignaud 2014-08-22 11:28:38 CEST
Mondo should exclude /var/lib/rpm/_*
Comment 5 Al Do 2014-12-13 00:33:56 CET
My work around was to copy /var/lib/rpm to a usb. Then copy that to a restored system. This work around worked for me on more than one machine.
Comment 6 Al Do 2014-12-13 00:41:27 CET
My work around was to copy /var/lib/rpm to a usb. Then copy that to a restored system. This work around worked for me on more than one machine.


I did an addmedia. You need this version of mondo for this work around to work.

urpmi.addmedia mondorescue-test ftp://ftp.mondorescue.org/test/mageia/4/i386 with media_info/hdlist.cz
Comment 7 Samuel Verschelde 2015-09-21 13:19:17 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 8 Marja Van Waes 2015-10-27 06:56:42 CET
As announced over a month ago, Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer maintained, which means that it will not receive any further security or bug fix updates.

This issue may have been fixed in a later Mageia release, so, if you still see it and didn't already do so: please upgrade to Mageia 5 (or, if you read this much later than this is written: make sure you run a currently maintained Mageia version)

If you are able to reproduce it against a maintained version of Mageia, you are encouraged to 
1. reopen this bug report, by changing the "Status" from "RESOLVED - OLD" to "REOPENED"
2. click on "Version" and change it against that version of Mageia. If you know it's valid in several versions, select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.
3. give as much relevant information as possible. If you're not an experienced bug reporter and have some time: please read this page:
https://wiki.mageia.org/en/How_to_report_a_bug_properly

If you see a similar issue, but are _not_sure_ it is the same, with the same cause, then please file a new bug report and mention this one in it (please include the bug number, too). 


If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].
[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.