Re: pkg_add goofiness in 7.0



perryh@xxxxxxxxxxxxxx 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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: pkg_add goofiness in 7.0
    ... scriptactive so as to capture them.) Upon that retry, ... tells me that the package is already installed, ... you'll have to recreate the failure and show us. ... already installed even though the previous installation reportedly ...
    (freebsd-questions)
  • Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
    ... Reading package fields... ... i t does not have execute permission ... installation script returned error exit status 100. ...
    (Debian-User)
  • Re: Finding installed package files
    ... >, and who is going to supply this documentation. ... > is a package with the common man pages for the thousand odd common commands ... tell me, as an installation option for some large packages, what was ... >>a set of commands and 'man' pages, could produce such a directory to make it ...
    (alt.os.linux.redhat)
  • Security Update for Microsoft Data Access Components (KB832483)
    ... : An error occurred while setup was trying to ... verify the version of Microsoft Data Access Components ... package returned FALSE, or there was a fatal error while ... installation. ...
    (microsoft.public.windowsupdate)
  • Security Update for Microsoft Data Access Components (KB832483)
    ... : An error occurred while setup was trying to ... verify the version of Microsoft Data Access Components ... package returned FALSE, or there was a fatal error while ... installation. ...
    (microsoft.public.windowsupdate)