Date: Wed, 17 Nov 2004 21:59:53 +0000 From: RW <list-freebsd-2004@morbius.sent.com> To: freebsd-questions@freebsd.org Subject: portupgrade -NPR problems Message-ID: <200411172159.54241.list-freebsd-2004@morbius.sent.com>
next in thread | raw e-mail | index | archive | help
When I recently installed 5.3 on a new slice, I tried to build kde with portupgrade -NR kdelibs kdebase portupgrade -NPR kde My understanding of -NPR is that any port that doesn't have a current package available should have been built from ports before a port that depends on it is installed from a package. But for a few ports this didn't happen (see below). It seems that portupgrade failed to detect some of the dependencies. What made it worse was that it installs with "pkg_add -f" so it added some packages without dependencies, leaving me with a lot of false stale dependencies. A couple of questions 1 - should portupgrade -NPR have been able to detect all dependencies? 2 - Why does it install packages with "pkg_add -f" ? I've already fixed this by deinstalling some packages and rebuilding from ports, I'd just like to understand what happened. --------------------------------------------------------------------------------------------- # portupgrade -NPR kde ---> Checking for the latest package of 'x11/kde3' ---> Found a package of 'x11/kde3': kde-3.3.1.tbz (kde-3.3.1) ---> Installing 'kde-3.3.1' from a package pkg_info: can't find package 'kde-3.3.1.tbz' installed or in a file! ---> Installing the new version via the package pkg_add: could not find package python-2.3.4_2 (proceeding anyway) pkg_add: could not find package tk-8.4.6_1,2 (proceeding anyway) pkg_add: could not find package pilot-link-0.11.8_3 (proceeding anyway) pkg_add: could not find package libpaper-1.1.14 (proceeding anyway) pkg_add: could not find package libmal-0.40 (proceeding anyway) pkg_add: could not find package libgsf-1.10.1 (proceeding anyway) pkg_add: could not find package WordNet-2.0 (proceeding anyway) pkg_add: could not find package wv2-0.2.2 (proceeding anyway) pkg_add: could not find package kdepim-3.3.1 (proceeding anyway) pkg_add: could not find package koffice-1.3.4,1 (proceeding anyway) pkg_add: warning: package 'kde-3.3.1' requires 'tcl-8.4.6_3,1', but 'tcl-8.4.7,1' is installed pkg_add: can't open dependency file '/var/db/pkg/python-2.3.4_2/+REQUIRED_BY'! dependency registration is incomplete pkg_add: warning: package 'kde-3.3.1' requires 'samba-libsmbclient-3.0.7_1', but 'samba-libsmbclient-3.0.8_1' is installed pkg_add: can't open dependency file '/var/db/pkg/tk-8.4.6_1,2/+REQUIRED_BY'! dependency registration is incomplete pkg_add: can't open dependency file '/var/db/pkg/pilot-link-0.11.8_3/+REQUIRED_BY'! dependency registration is incomplete pkg_add: warning: package 'kde-3.3.1' requires 'libxml2-2.6.15', but 'libxml2-2.6.16' is installed pkg_add: can't open dependency file '/var/db/pkg/libpaper-1.1.14/+REQUIRED_BY'! dependency registration is incomplete pkg_add: can't open dependency file '/var/db/pkg/libmal-0.40/+REQUIRED_BY'! dependency registration is incomplete pkg_add: warning: package 'kde-3.3.1' requires 'libidn-0.5.8', but 'libidn-0.5.10' is installed pkg_add: warning: package 'kde-3.3.1' requires 'lcms-1.13,1', but 'lcms-1.13_1,1' is installed pkg_add: can't open dependency file '/var/db/pkg/libgsf-1.10.1/+REQUIRED_BY'! dependency registration is incomplete pkg_add: warning: package 'kde-3.3.1' requires 'aspell-0.60_2', but 'aspell-0.60.1' is installed pkg_add: can't open dependency file '/var/db/pkg/WordNet-2.0/+REQUIRED_BY'! dependency registration is incomplete pkg_add: can't open dependency file '/var/db/pkg/wv2-0.2.2/+REQUIRED_BY'! dependency registration is incomplete pkg_add: can't open dependency file '/var/db/pkg/kdepim-3.3.1/+REQUIRED_BY'! dependency registration is incomplete pkg_add: warning: package 'kde-3.3.1' requires 'automake-1.9.2', but 'automake-1.9.3' is installed pkg_add: can't open dependency file '/var/db/pkg/koffice-1.3.4,1/+REQUIRED_BY'! dependency registration is incomplete [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 165 packages found (-0 +1) . done]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411172159.54241.list-freebsd-2004>