Subject: Re: i broke my package system :)
To: Hubert Feyrer <>
From: Andrew Brown <>
List: tech-pkg
Date: 04/25/1999 23:55:17
>> # 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)

# file /etc/pwd.db 
/etc/pwd.db: Berkeley DB Hash file (Version 2, Little Endian, Bucket Size 4096, Bucket Shift 12, Directory Size 256, Segment Size 256, Segment Shift 8, Overflow Point 3, Last Freed 2, Max Bucket 7, High Mask 0xf, Low Mask 0x7, Fill Factor 32, Number of Keys 180)

>Can you rm the file, run "pkg_admin rebuiild", then run the file-command

um...okay.  nope.  still ascii. this is actually broked, how
else would it manifest itself?

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."