pkg_add goofiness in 7.0

perryh at perryh at
Sun Mar 30 00:48:31 PDT 2008

The first time I tried to add linuxdoc-1.1_1.tbz to a new-from-CD
7.0 installation, it complained about a missing dependency that
was on the other CD.  OK, I switched CDs and installed that, then
switched back and retried linuxdoc-1.1_1.tbz, and it gave me some
sort of error about an unbalanced add operation.  (I didn't try
to copy down all the details, figuring instead to retry with a
script(1) active so as to capture them.)  Upon that retry, it now
tells me that the package is already installed, even though the
prior attempt failed.

What is going on?

# uname -a
FreeBSD fbsd70.uucp 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root at  i386
# ls -l linuxdoc*
-r--r--r--  1 root  wheel  9156 Feb 24 08:18 linuxdoc-1.1_1.tbz
# pkg_add -Kv linuxdoc*
Requested space: 36624 bytes, free space: 774981632 bytes in /var/tmp/instmp.3DBbHN
pkg_add: package 'linuxdoc-1.1_1' or its older version already installed
pkg_add: 1 package addition(s) failed

More information about the freebsd-questions mailing list