[OM Cooker] rpm --rebuild problem

Chris Tanner christann404 at gmail.com
Tue Mar 28 13:53:29 EDT 2017


Hi.

That didn't work. I gave in and re-installed the operating system.

Regards,

Chris

On 2017-03-28 09:53 AM, Alexander Stefanov-Khryukin wrote:
> tar cvzf rpmdb-backup.tar.gz /var/lib/rpm
> rm /var/lib/rpm/__db.00*
> rpm --rebuilddb -vvv
> rpm -qa
>
>
> 2017-03-28 16:25 GMT+03:00 Chris Tanner <christann404 at gmail.com 
> <mailto:christann404 at gmail.com>>:
>
>     Thanks Ben,
>
>     None of this works at the moment:
>
>
>     [root at localhost christanner]# db52_recover -h /var/lib/rpm -ev
>     BDB2526 Finding last valid log LSN: file: 272 offset 7112188
>     BDB1518 Recovery complete at Tue Mar 28 06:19:16 2017
>     BDB1519 Maximum transaction ID 0 recovery checkpoint [272][7113358]
>     [root at localhost christanner]# rpm -vvv --rebuilddb
>     D: pool fd:     created size 392 limit -1 flags 0
>     D: pool ds:     created size 232 limit -1 flags 0
>     D: pool syck:   created size 40 limit -1 flags 0
>     D: pool ht:     created size 72 limit -1 flags 0
>     D: pool mire:   created size 136 limit -1 flags 0
>     D: pool lua:    created size 64 limit -1 flags 0
>     D: pool ts:     created size 1200 limit -1 flags 0
>     D: pool db:     created size 328 limit -1 flags 0
>     D: pool dbi:    created size 472 limit -1 flags 0
>     D: rpmdb: cpus 8 physmem 15918Mb
>     D: opening  db environment /var/lib/rpm/Packages
>     thread:lock:log:mpool:txn
>     D: opening  db index       /var/lib/rpm/Packages
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Name
>     create:thread:auto_commit mode=0x2
>     D: pool h:      created size 360 limit -1 flags 0
>     D: opening  db index       /var/lib/rpm/Version
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Release
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Arch
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Os
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Basenames
>     create:thread:auto_commit mode=0x2
>     D: pool bf:     created size 56 limit -1 flags 0
>     D: opening  db index       /var/lib/rpm/Group
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Providename
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Requirename
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Conflictname
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Obsoletename
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Triggername
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Dirnames
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Installtid
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Sigmd5
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Sha1header
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Filedigests
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Pubkeys
>     create:thread:auto_commit mode=0x2
>     D: pool ctx:    created size 112 limit -1 flags 0
>     D: opening  db index       /var/lib/rpm/Packagecolor
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Nvra
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Sourcepkgid
>     create:thread:auto_commit mode=0x2
>     D: opening  db index       /var/lib/rpm/Filepaths
>     create:thread:auto_commit mode=0x2
>     rpmdb: BDB2055 Lock table is out of available lock entries
>     error: db3associate:db3.c:1674: db->associate(12): Cannot allocate
>     memory
>     D: rpmdb: max. primary key 9728
>     D: opening  db index       /var/lib/rpm/Seqno
>     create:thread:auto_commit mode=0x2
>     D: closed   db seqno /var/lib/rpm/Seqno
>     D: closed   db index /var/lib/rpm/Seqno
>     D: closed   db index /var/lib/rpm/Filepaths
>     D: closed   db index /var/lib/rpm/Sourcepkgid
>     D: closed   db index /var/lib/rpm/Nvra
>     D: closed   db index /var/lib/rpm/Packagecolor
>     D: closed   db index /var/lib/rpm/Pubkeys
>     D: closed   db index /var/lib/rpm/Filedigests
>     D: closed   db index /var/lib/rpm/Sha1header
>     D: closed   db index       /var/lib/rpm/Sigmd5
>     D: closed   db index       /var/lib/rpm/Installtid
>     D: closed   db index       /var/lib/rpm/Dirnames
>     D: closed   db index       /var/lib/rpm/Triggername
>     D: closed   db index       /var/lib/rpm/Obsoletename
>     D: closed   db index       /var/lib/rpm/Conflictname
>     D: closed   db index       /var/lib/rpm/Requirename
>     D: closed   db index       /var/lib/rpm/Providename
>     D: closed   db index       /var/lib/rpm/Group
>     D: closed   db index       /var/lib/rpm/Basenames
>     D: closed   db index       /var/lib/rpm/Os
>     D: closed   db index       /var/lib/rpm/Arch
>     D: closed   db index       /var/lib/rpm/Release
>     D: closed   db index       /var/lib/rpm/Version
>     D: closed   db index       /var/lib/rpm/Name
>     D: closed   db index       /var/lib/rpm/Packages
>     D: closed   db environment /var/lib/rpm/Packages
>     D: pool tsi:    created size 48 limit -1 flags 0
>     D: pool tsi:    reused 1, alloc'd 1, free'd 1 items.
>     D: pool ts:     reused 0, alloc'd 1, free'd 1 items.
>     D: pool ds:     reused 83, alloc'd 2, free'd 2 items.
>     D: pool db:     reused 0, alloc'd 1, free'd 1 items.
>     D: pool dbi:    reused 0, alloc'd 24, free'd 24 items.
>     D: pool h:      reused 93807, alloc'd 1, free'd 1 items.
>     D: pool lua:    reused 0, alloc'd 1, free'd 1 items.
>     D: pool mire:   reused 0, alloc'd 1, free'd 1 items.
>     D: pool bf:     reused 20016, alloc'd 1, free'd 1 items.
>     D: pool ht:     reused 0, alloc'd 25, free'd 25 items.
>     D: pool ctx:    reused 459, alloc'd 1, free'd 1 items.
>     D: pool syck:   reused 0, alloc'd 1, free'd 1 items.
>     D: pool fd:     reused 58, alloc'd 2, free'd 2 items.
>     D: exit code: 0
>
>     If I try to run urpmi. I get all sorts of strange errors. I think
>     that my rpm database is in a mess.
>
>     Regards,
>
>     Chris
>
>
>     On 2017-03-27 08:37 PM, Ben Bullard wrote:
>
>
>         To clarify the packages I've put in skip.list won't download.
>         Don't know why but they won't. Running:
>
>         # db52_recover -h /var/lib/rpm -ev
>
>         # rpm -vvv --rebuilddb
>
>         will not affect them it's something preventing them from
>         downloading or that's what it looks like here.
>
>         Ben Bullard
>         ben79
>         --------------------
>         OpenMandriva-QA Team
>         On 03/27/2017 06:51 PM, Ben Bullard wrote:
>
>
>             Try putting this isn '/etc/urpmi/skip.list':
>
>             |/^x11-driver/ /^x11-server/ libinput lib64input10 |
>             Ben Bullard
>             ben79
>             --------------------
>             OpenMandriva-QA Team
>             On 03/27/2017 05:32 PM, Chris Tanner wrote:
>
>                 Yes
>
>
>                 On 2017-03-27 06:18 PM, Alexander Stefanov-Khryukin wrote:
>
>                     testing repo user?
>
>                     2017-03-28 1:09 GMT+03:00 Chris Tanner
>                     <christann404 at gmail.com
>                     <mailto:christann404 at gmail.com>
>                     <mailto:christann404 at gmail.com
>                     <mailto:christann404 at gmail.com>>>:
>
>                         Hello,
>
>                         I was having problems running urpmi
>                     --auto-update, so I ran rpm
>                         --rebuilddb and got:
>
>                         rpm --rebuilddb
>                         rpmdb: BDB2055 Lock table is out of available
>                     lock entries
>                         error: db3associate:db3.c:1674:
>                     db->associate(12): Cannot allocate
>                         memory
>
>                         What should I do now?
>
>                         Regards,
>
>                         Chris
>
>                         _______________________________________________
>                         OM-Cooker mailing list
>                     OM-Cooker at ml.openmandriva.org
>                     <mailto:OM-Cooker at ml.openmandriva.org>
>                     <mailto:OM-Cooker at ml.openmandriva.org
>                     <mailto:OM-Cooker at ml.openmandriva.org>>
>                     http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>                     <http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org>
>                     <http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>                     <http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org>>
>
>
>
>
>                     _______________________________________________
>                     OM-Cooker mailing list
>                     OM-Cooker at ml.openmandriva.org
>                     <mailto:OM-Cooker at ml.openmandriva.org>
>                     http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>                     <http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org>
>
>
>
>
>                 _______________________________________________
>                 OM-Cooker mailing list
>                 OM-Cooker at ml.openmandriva.org
>                 <mailto:OM-Cooker at ml.openmandriva.org>
>                 http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>                 <http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org>
>
>
>
>
>
>             _______________________________________________
>             OM-Cooker mailing list
>             OM-Cooker at ml.openmandriva.org
>             <mailto:OM-Cooker at ml.openmandriva.org>
>             http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>             <http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org>
>
>
>
>
>         _______________________________________________
>         OM-Cooker mailing list
>         OM-Cooker at ml.openmandriva.org
>         <mailto:OM-Cooker at ml.openmandriva.org>
>         http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>         <http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org>
>
>
>
>     _______________________________________________
>     OM-Cooker mailing list
>     OM-Cooker at ml.openmandriva.org <mailto:OM-Cooker at ml.openmandriva.org>
>     http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>     <http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org>
>
>
>
>
> _______________________________________________
> OM-Cooker mailing list
> OM-Cooker at ml.openmandriva.org
> http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org




More information about the OM-Cooker mailing list