Subject: Re: i broke my package system :)
To: Hubert Feyrer <firstname.lastname@example.org>
From: Andrew Brown <email@example.com>
Date: 04/26/1999 08:38:27
>[sorry for the late answer, I needed some sleep :-]
[sokay. i slept too. :-]
>> >> # file /var/db/pkg/pkgdb.byfile.db
>> >> /var/db/pkg/pkgdb.byfile.db: ASCII text
>> >miyu% file /var/db/pkg/pkgdb.byfile.db
>> >/var/db/pkg/pkgdb.byfile.db: Berkeley DB Btree file/Little Endian (Version
>> >3, Page Size 8192, Free Page 312, Number of Records 0, Flags 0x20)
>I just see that this is actually OK - file(1)'s database on 1.3.x just
>doesn't recognize DB files as such.
i'm confused also, but this is the only problem now. and for all i
know, it was always like this.
>> >Can you rm the file, run "pkg_admin rebuiild", then run the file-command
>> um...okay. nope. still ascii. uh...is this is actually broked, how
>> else would it manifest itself?
>Well you can try to query the pkgdb in some way or other:
>pkg_info -F <- dump the whole pkgdb
>pkg_info -Fe /usr/pkg/bin/gtexinfo <- find out which package the
> named file belongs to
# pkg_info -Fe /usr/pkg/bin/bing
>pkg_info -FqL /usr/pkg/bin/gtexinfo <- get list of all files belonging
> to /usr/pkg/bin/gtexinfo
# pkg_info -FqL /usr/pkg/bin/bing
|-----< "CODE WARRIOR" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."