"pkg_info -I" checks against both the installed packages *and* the packages in PKG_PATH. This cause the check-conflicts target of Mk/bsd.port.mk to generate false positives. Fix: Use "pkg_info -e" to eliminate the false positives. How-To-Repeat: Attempt to install / reinstall xterm-206_1. This conflicts with xorg-clients-6.8.2 (not xorg-clients-6.8.2_1 which is installed). Note xorg-clients-6.8.2.tgz is available as a package but is not installed. drugs# portupgrade -f xterm-206_1 ... ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'xterm-206_1' pkg_delete: package 'xterm-206_1' is required by these other packages and may not be deinstalled (but I'll delete it anyway): xorg-clients-6.8.2_1 [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 303 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for xterm-206_1 ===> xterm-206_1 conflicts with installed package(s): xorg-clients-6.8.2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/x11/xterm. *** Error code 1 Stop in /usr/ports/x11/xterm. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade18976.0 make -DFORCE_PKG_REGISTER reinstall ---> Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 304 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! x11/xterm (xterm-206_1) (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed drugs#
Responsible Changed From-To: freebsd-ports-bugs->portmgr Affects bsd.port.mk.
State Changed From-To: open->analyzed Accepted for a test build on the cluster.
State Changed From-To: analyzed->closed Committed, thanks.