Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2008 00:30:20 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        perryh@pluto.rain.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg_add goofiness in 7.0
Message-ID:  <47F0147C.8070108@FreeBSD.org>
In-Reply-To: <47f012c0.vaeX6y/Ut1gA9Lko%perryh@pluto.rain.com>
References:  <47ef4464.8hmxyx8owvB7UAFk%perryh@pluto.rain.com>	<47EF83E2.2000400@FreeBSD.org> <47f012c0.vaeX6y/Ut1gA9Lko%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
perryh@pluto.rain.com wrote:
>>> [trying to install linuxdoc-1.1_1.tbz] 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.
>>> ...
>>> # 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.
> 
> Which failure are you referring to?  The original one with the
> unbalanced add message, or the new one where it claims the package is
> already installed even though the previous installation reportedly
> failed?
> 
> I can recreate the second one any number of times, but absent some
> specific suggestion it's not going to produce any more output than
> shown above.  (I'm already specifying -v.)  Short of wiping the
> drive and starting completely over, I have no idea how to go about
> reproducing the original failure without first fixing the newer one.

What you showed does not indicate a failure.  If you are saying that the 
package wasn't actually installed completely, then pkg_delete it and retry.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47F0147C.8070108>