CiotBSD The first set of commands look OK, except for the df
output:
# df -h
Filesystem Size Used Avail %Cap Mounted on
/dev/wd0a 913G 4.0G 863G 0% /
4G is used, but, that's not correct for the no. of packages seen in /usr/pkg/pkgdb
or in /usr/pkg/pkgdb/pkg
. With so few packages registered only about 1.5G should've been used. Have you installed the source code too?
# cat /etc/mtree/set.[bcf-x]* | mtree -e -p /
etc/X11/xdm/Xsetup_0:
size (88, 101)
sha256 (0xe928997897a6a7778cd9a04f2602a28526a1e1bef569c92cd7b85cb5eeff34e4, 0xaf7f193051c7b843cd1beed6cf23b48e3d4a500795a24c0af35e82a78f209fc1)
usr/lib/i386/libkadm5srv.so.15.0:
sha256 (0xf2f4000bb322ac102e8c1f6f411f2b9d4200fd2675739e91867c2c13b1644214, 0xc347f1b233a2e1a84d41d2143f414716bfe4a159b079914306d36e36a77dd56f)
./var/run/named missing
The checksum mismatch for /usr/lib/i386/libkadm5srv.so.15.0
I see on the latest 9.2_STABLE also but should be reported. The other 2 issues reported are OK.
Alright, let's try again since some screw-up has certainly happened to create a /usr/pkg/pkgdb/pkg
.
Exit Xorg, then as root on the system console:
Bring system back to newly-installed state:
rm -rf /etc/mk.conf /etc/pkg_install.conf /var/db/pkgin/ /var/db/pkg/ /usr/pkg/
df -h # This should report ~1.5G if `/` used (without source).
Run the pkgin
boot-strap script (please do not type). Post complete output (use script(1)
):
/tmp/pkg-setup.sh
Do a check of the 2 initial packages:
pkg_admin check
If check passes, install your packages one-by-one, doing a pkg_admin check
after each:
pkgin -y in bash
pkg_admin check
pkgin -y in mc
pkg_admin check
pkgin -y in firefox
pkg_admin check
pkgin -y in xfce4
pkg_admin check
...etc
Stop and report if there are any errors.