pkg_add and me
parv
parv at pair.com
Fri Jan 2 20:40:13 PST 2004
in message <a06002001bc1abef18f33@[10.0.0.10]>,
wrote Mauricio thusly...
>
> daffy# pkg_add libiconv-1.9.1_3.tgz
> pkg_add: package 'libiconv-1.9.1_3' or its older version already
> installed
> daffy#
>
> Ok then, I force it to be installed (-f option). All I get in the end
> is *two* entries of libiconv according to pkg_info:
>
> daffy# pkg_info
> [...]
> libiconv-1.8_2 A character set conversion library
> libiconv-1.9.1_3 A character set conversion library
>
> Why can't it put the latest version in place of the older one?
Then it would be too easy to keep things simple...
> I even tried to uninstall the old one first:
>
> daffy# pkg_delete libiconv-1.8_2
> pkg_delete: package 'libiconv-1.8_2' is required by these other packages
> and may not be deinstalled:
> gettext-0.11.5_1
Ah, you forgot to force the deletion unlike addition.
Try this...
# Delete both versions. If doesn't work delete one by one; it has
# been a while since i had to deinstall two versions.
pkg_delete -d -f libiconv
# Should work w/ the force. Force may be needed if newer versions of
# dependent software are missing, but older versions would still work
# w/ the port being installed.
pkg_add -f <path to libiconv>
# Readjust the dependencies (provided by portupgrade port)
pkgdb -F
- Parv
--
More information about the freebsd-questions
mailing list