I had been keeping my FC2 machine current with apt-get. There were a
number of applications that apt-get would skip that I wanted it to
upgrade. I ran 'apt-get dist-upgrade' which did the trick. It updated
everything. But now apt-get (as well as yum) is hosed. Is there a way
to corrent this?

Below are apt-get and yum error messages. Any help would be greatly
appreciated.

-FV2

details:
Linux localhost.localdomain 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004
i686 athlon i386 GNU/Linux
$LD_ASSUME_KERNEL env var is NOT set.


[root@localhost root]# apt-get update
Get:1 http://dl.atrpms.net fc2-i386/redhat release [1015B]
Get:2 http://dl.atrpms.net fc2-i386/atrpms release [890B]
Fetched 1905B in 0s (3702B/s)
Hit http://dl.atrpms.net fc2-i386/redhat/release pkglist
Hit http://dl.atrpms.net fc2-i386/redhat/release release
Hit http://dl.atrpms.net fc2-i386/redhat/updates pkglist
Hit http://dl.atrpms.net fc2-i386/redhat/updates release
Hit http://dl.atrpms.net fc2-i386/redhat/updates-legacy pkglist
Hit http://dl.atrpms.net fc2-i386/redhat/updates-legacy release
Hit http://dl.atrpms.net fc2-i386/atrpms/stable pkglist
Hit http://dl.atrpms.net fc2-i386/atrpms/stable release
rpmdb: unable to initialize mutex: Function not implemented
rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock:
Function not implemented
error: db4 error(38) from dbenv->open: Function not implemented
error: cannot open Packages index using db3 - Function not implemented
(38)
error: cannot open Packages database in /var/lib/rpm
E: could not open RPM database



[root@localhost root]# yum
The yum libraries do not seem to be available on your system for this
version of python 2.3.3 (#1, May 7 2004, 10:31:40)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)]
Please make sure the package you used to install yum was built for your
install of python.