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

Re: How to fix a Glibc Library



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 07 May 2003 11:55 am, Mauricio Reyes Sanmiguel wrote:
> Hi,
> The command is ok, i mistyped in the e-mail.
>
> but the error
>
> error: cannot open packages index using db1 - not a directory (20)
>
> > > > error: cannot open packages database in
> > > > /mnt/rootfs/glibc-rpm/glibc-2.2.5-34.i386.rpm/var/lib/rpm
>
> it is like the system is looking for the database in another directory.
> How can i change the directory to the one where the db really is?
>
> i´m allready root.

Answered in my previous mail:

> > So, If you mounted your real / filesystem on /mnt/rootfs, the command
> > would be:
> > rpm --upgrade --force  --root /mnt/rootfs  \
> > /mnt/rootfs/glibc-rpm/glibc*.rpm

You have to tell the --root flag where to find your real / filesystem.
rpm --upgrade --force  --root /mnt/rootfs /path/to/packages.rpm

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+uZqZn/07WoAb/SsRAiIYAKCOcaTvorEU+1gu9BtnnFJc0jjO2QCZAWG4
zphFvCmqq85EIb+oVc+zQNU=
=P6HY
-----END PGP SIGNATURE-----





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