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

On Sunday 03 February 2002 10:42 am, Nick Wilson wrote:
> * and then Devon declared....

> > ls -al /var/lib/rpm > dir_var_lib
>
> total 18332
> drwxr-xr-x    2 rpm      rpm          4096 Feb  3 14:39 .
> drwxr-xr-x   14 root     root         4096 Feb  2 17:18 ..
> -rw-r--r--    1 rpm      rpm       5079040 Jan 28 19:02 Basenames
> -rw-r--r--    1 rpm      rpm         12288 Jan 28 19:02 Conflictname
> -rw-r--r--    1 rpm      rpm        491520 Jan 28 16:57 Dirnames
[snip]

That looks good. Note the files rpm is looking for in your case:

D: opening db file        /var/lib/rpm/packages.rpm mode 0x0

> > and
> > ls -al /usr/lib/rpm > dir_usr_lib
>
> total 56
> drwxr-xr-x    2 root     root         4096 Feb  2 17:08 .
> drwxr-xr-x   67 root     root        40960 Feb  3 10:40 ..
> -rw-------    1 nick     nick         8907 Feb  2 17:07 rpmrc

That's a problem for sure.

You're missing the entire directory, less the file provided to you the 
other day.

I don't know where the directory went, or if this will solve the problem, 
(since there may be other things missing) but I can make the missing 
files available to you via http.
http://www.tuxfan.homeip.net:8080/rpmfiles/

You'll need to create the links manually.

[root@enigma html]# ll /usr/lib/rpm/
total 440
lrwxrwxrwx    1 rpm      rpm            19 Oct 25 21:40 athlon-linux -> 
athlon-redhat-linux                                                       
              drwxr-xr-x    2 rpm      rpm          4096 Oct 25 21:40 
athlon-redhat-linux
- -rwxr-xr-x    1 rpm      rpm          1444 Sep  6 11:26 brp-compress
- -rwxr-xr-x    1 rpm      rpm           347 Sep  6 11:26 brp-redhat
- -rwxr-xr-x    1 rpm      rpm          1075 Sep  6 11:26 brp-sparc64-linux
- -rwxr-xr-x    1 rpm      rpm           372 Sep  6 11:26 brp-strip
- -rwxr-xr-x    1 rpm      rpm           584 Sep  6 11:26 
brp-strip-comment-note
- -rwxr-xr-x    1 rpm      rpm           572 Sep  6 11:26 brp-strip-shared
- -rwxr-xr-x    1 rpm      rpm           420 Sep  6 11:26 check-prereqs
- -rwxr-xr-x    1 rpm      rpm         39311 Sep  6 11:26 config.guess
- -rwxr-xr-x    1 rpm      rpm          6569 Sep  6 11:26 config.site
- -rwxr-xr-x    1 rpm      rpm         27594 Sep  6 11:26 config.sub
- -rwxr-xr-x    1 rpm      rpm          2561 Sep  6 11:26 convertrpmrc.sh
- -rwxr-xr-x    1 rpm      rpm          4038 Sep  6 11:26 cpanflute
- -rwxr-xr-x    1 rpm      rpm           624 Sep  6 11:26 cross-build
- -rwxr-xr-x    1 rpm      rpm          2248 Sep  6 11:26 find-lang.sh
- -rwxr-xr-x    1 rpm      rpm          1598 Sep  6 11:26 find-provides
- -rwxr-xr-x    1 rpm      rpm           267 Sep  6 11:26 find-provides.perl
- -rwxr-xr-x    1 rpm      rpm          4188 Sep  6 11:26 find-prov.pl
- -rwxr-xr-x    1 rpm      rpm          3571 Sep  6 11:26 find-req.pl
- -rwxr-xr-x    1 rpm      rpm          2808 Sep  6 11:26 find-requires
- -rwxr-xr-x    1 rpm      rpm           925 Sep  6 11:26 find-requires.perl
- -rwxr-xr-x    1 rpm      rpm          2335 Sep  6 11:26 get_magic.pl
- -rwxr-xr-x    1 rpm      rpm           794 Sep  6 11:26 getpo.sh
- -rwxr-xr-x    1 rpm      rpm          4451 Sep  6 11:26 http.req
lrwxrwxrwx    1 rpm      rpm            17 Oct 25 21:40 i386-linux -> 
i386-redhat-linux                                                         
                drwxr-xr-x    2 rpm      rpm          4096 Oct 25 21:40 
i386-redhat-linux
lrwxrwxrwx    1 rpm      rpm            17 Oct 25 21:40 i486-linux -> 
i486-redhat-linux                                                         
                drwxr-xr-x    2 rpm      rpm          4096 Oct 25 21:40 
i486-redhat-linux
lrwxrwxrwx    1 rpm      rpm            17 Oct 25 21:40 i586-linux -> 
i586-redhat-linux                                                         
                drwxr-xr-x    2 rpm      rpm          4096 Oct 25 21:40 
i586-redhat-linux
lrwxrwxrwx    1 rpm      rpm            17 Oct 25 21:40 i686-linux -> 
i686-redhat-linux                                                         
                drwxr-xr-x    2 rpm      rpm          4096 Oct 25 21:40 
i686-redhat-linux
- -rwxr-xr-x    1 rpm      rpm         17292 Sep  6 11:26 javadeps
- -rw-r--r--    1 rpm      rpm         27876 Sep  6 11:26 macros
- -rwxr-xr-x    1 rpm      rpm          3634 Sep  6 11:26 magic.prov
- -rwxr-xr-x    1 rpm      rpm          2927 Sep  6 11:26 magic.req
- -rwxr-xr-x    1 rpm      rpm           726 Sep  6 11:26 mkinstalldirs
lrwxrwxrwx    1 rpm      rpm            17 Oct 25 21:40 noarch-linux -> 
i386-redhat-linux                                                         
              lrwxrwxrwx    1 rpm      rpm            17 Oct 25 21:40 
noarch-redhat-linux -> i386-redhat-linux
- -rwxr-xr-x    1 rpm      rpm          4858 Sep  6 11:26 perl.prov
- -rw-r--r--    1 rpm      rpm          5480 Sep  6 11:26 perl.req
- -rwxr-xr-x    1 rpm      rpm         20108 Sep  6 11:26 rpmb
- -rwxr-xr-x    1 rpm      rpm         10980 Sep  6 11:26 rpmd
- -rwxr-xr-x    1 rpm      rpm           104 Sep  6 11:26 rpm.daily
- -rwxr-xr-x    1 rpm      rpm         23982 Sep  6 11:26 rpmdiff
- -rwxr-xr-x    1 rpm      rpm         15674 Sep  6 11:26 rpmdiff.cgi
lrwxrwxrwx    1 rpm      rpm             4 Oct 25 21:40 rpme -> rpmi
- -rwxr-xr-x    1 rpm      rpm         15228 Sep  6 11:26 rpmi
- -rwxr-xr-x    1 rpm      rpm         12928 Sep  6 11:26 rpmk
- -rwxr-xr-x    1 rpm      rpm            61 Sep  6 11:26 rpm.log
- -rw-r--r--    1 rpm      rpm         15353 Sep  6 11:26 rpmpopt-4.0.3
- -rwxr-xr-x    1 rpm      rpm         13044 Sep  6 11:26 rpmq
- -rw-r--r--    1 rpm      rpm          9770 Sep  6 11:26 rpmrc
lrwxrwxrwx    1 rpm      rpm             4 Oct 26 02:43 rpmt -> rpmb
lrwxrwxrwx    1 rpm      rpm             4 Oct 25 21:40 rpmu -> rpmi
lrwxrwxrwx    1 rpm      rpm             4 Oct 25 21:40 rpmv -> rpmq
- -rwxr-xr-x    1 rpm      rpm           319 Sep  6 11:26 rpm.xinetd
- -rwxr-xr-x    1 rpm      rpm          2049 Sep  6 11:26 u_pkg.sh
- -rwxr-xr-x    1 rpm      rpm          2659 Sep  6 11:26 vpkg-provides2.sh
- -rwxr-xr-x    1 rpm      rpm          9480 Sep  6 11:26 vpkg-provides.sh

Good luck, I have to run out for a while. Hopefully by the time I get 
back, this will have solved the problem. :)

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8XV4HeMAUbzJhSVcRAhU9AKCTItA4IrfbPrPriSRtLkgWTmB2IgCgv0aR
e1nyEAnGPDfqSLjO7BodMzI=
=O4f9
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to