Re: rpm all wacked?

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

 



that should NEVER work, you ALWAYS need to rebuild the rpm database after
removing those files.

i think this was a problem introduced as early as redhat 8, if i'm not
mistaken  (could be 9, i jumped from 7.3 to 9 on my server, which is the
only place i've seen it happen)


Vladimir G. Ivanovic said:
> Whenever I have RPM problems of any sort (hang, errors) I immediately
> delete the __db.00{1,2.3} files (usually) in /var/lib/rpm:
>
>    rm /var/lib/rpm/__db.00*
>
> If that doesn't help, I rebuild the RPM database:
>
>    rpm --rebuilddb
>
> --- Vladimir
>
> ------------------------------------------------------------------------
> Vladimir G. Ivanovic                        http://leonora.org/~vladimir
> 2770 Cowper St.                                         vladimir@xxxxxxx
> Palo Alto, CA 94306-2447                                 +1 650 678 8014
> ------------------------------------------------------------------------
>
>>>>>> "fs" == Fred Shaul <info@xxxxxxxxxxx> writes:
>
>     fs> When I try simple rpm commands, and or invoke them using up2date
> getting fs> errors ...
>     fs>
>     fs> Help!
>     fs>
>     fs> # rpm -qa
>     fs> rpmdb: unable to join the environment
>     fs> error: db4 error(11) from dbenv->open: Resource temporarily
> unavailable fs> error: cannot open Packages index using db3
>     fs>    - Resource temporarily unavailable (11)
>     fs> error: cannot open Packages database in /var/lib/rpm
>     fs> no packages
>     fs>
>     fs>
>     fs> # uname -a
>     fs> Linux bilbo.scalix.local 2.4.22-1.2115.nptl #1
>     fs> Wed Oct 29 15:42:51 EST 2003 i686
>     fs> i686 i386 GNU/Linux
>     fs>
>     fs> # cat /etc/fedora-release
>     fs> Fedora Core release 1 (Yarrow)
>     fs>
>     fs>
>     fs> --
>     fs> fedora-list mailing list
>     fs> fedora-list@xxxxxxxxxx
>     fs> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list fs>
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


-+(duncan brown
-+(duncanbrown@xxxxxxxxxxxxxxxxx
-+(http://www.linuxadvocate.net

()  ascii ribbon campaign - against html e-mail
/\                        - against microsoft attachments

Blessed is the man who, having nothing to say, abstains from giving wordy
evidence of the fact.
                -- George Eliot




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux