Re: database mess up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-01-23 at 19:49 +0200, Panu Matilainen wrote:
> >>> http://www.rpm.org/wiki/Docs/RpmRecovery
> >> OK, but /usr/lib/rpm/rpmdb_sta is not part of rpm for fedora !
> >> Regards
> > ----
> > indeed - they seem to have removed the db4 utilities from rpmdb
> 
> Rpm in F10 no longer uses an internal copy of db4 so this isn't 
> practical to do anymore.
> 
> > even worse, I installed db4-utils package and ran...
> >
> > # cd /var/lib/rpm
> > # db_dump Packages
> > db_dump: Program version 4.7 doesn't match environment version 4.5
> > db_dump: DB_ENV->open: DB_VERSION_MISMATCH: Database environment version
> > mismatch
> >
> > which means that I can't use db4-utils to do anything with rpmdb on
> > Fedora 10
> 
> Use the db45_foo variants instead, eg db45_dump
----
good to know...do I gather that you have little faith for the...

db45_dump /var/lib/rpm/Packages.old \
| db45_load /var/lib/rpm/Packages 

mechanics to suggest that he essentially download every package and
re-add them to --justdb which seems like a rather Herculean task?

Craig

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux