ports/72373: portupgrade/pkg_info falsely complains it can't find packages

Don Lewis truckman at FreeBSD.org
Wed Oct 6 04:50:26 UTC 2004


>Number:         72373
>Category:       ports
>Synopsis:       portupgrade/pkg_info falsely complains it can't find packages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 06 04:50:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Don Lewis
>Release:        FreeBSD 6.0-CURRENT
>Organization:
FreeBSD project
>Environment:
System: FreeBSD hairball.catspoiler.org 6.0-CURRENT FreeBSD 6.0-CURRENT #205: Tue Oct  5 06:02:13 PDT 2004     dl at hairball.catspoiler.org:/usr/obj/usr/src/sys/ACPI_DEBUG  i386


	
>Description:
	When using "portupgrade -P" to upgrade using packages residing
	under /usr/ports/packages, pkg_info prints a spurious complaint
	about not being able to find the packages.  The packages are
	successfully installed, however.

#portupgrade -fP zoo-2.10.1
--->  Checking for the latest package of 'archivers/zoo'
--->  Found a package of 'archivers/zoo': zoo-2.10.1.tbz (zoo-2.10.1)
--->  Reinstalling 'zoo-2.10.1' (archivers/zoo) using a package
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'zoo-2.10.1'
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 234 packages found (-1 +0) (...) done]
pkg_info: can't find package 'zoo-2.10.1.tbz' installed or in a file!
--->  Installing the new version via the package
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 235 packages found (-0 +1) . done]

>How-To-Repeat:
	Pick any port
	make
	make install
	make package
	make clean
	portupgrade -fP packagename
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list