pkg_add goofiness in 7.0

Kris Kennaway kris at FreeBSD.org
Sun Mar 30 05:13:24 PDT 2008


perryh at pluto.rain.com wrote:
> 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 logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  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

No idea, you'll have to recreate the failure and show us.

Kris


More information about the freebsd-questions mailing list