ports/186827: ports-mgmt/pkg pkg-repo(8) includes only oldest version of package

John Marshall john.marshall at riverwillow.com.au
Mon Feb 17 02:50:01 UTC 2014


>Number:         186827
>Category:       ports
>Synopsis:       ports-mgmt/pkg pkg-repo(8) includes only oldest version of package
>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:   Mon Feb 17 02:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     John Marshall
>Release:        FreeBSD 9.2-RELEASE i386
>Organization:
Riverwillow Pty Ltd
>Environment:
System: FreeBSD rwpc13 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255918: Sat Sep 28 13:06:58 AEST 2013 root at rwpc13:/usr/obj/build/src/sys/RWPC13 i386


	
>Description:

pkg-repo(8) states:

     Symbolic links are ignored, and only the most recent package for
     each origin is included in the catalogue.

Every time I have created a repository, I have discovered that only the
oldest version of each package is included in the catalogue.

>How-To-Repeat:

 - Start with empty packages directory
 - build ports and create packages
 - update ports tree
 - build ports and create packages for updated ports
 - Create repository catalogue with pkg-repo(8)
 - Query catalogue for one of the updated ports and note old version

>Fix:

Workaround is to remove older versions of packages from the packages
directory, so that only the latest version of each package is present
prior to creating the repository.

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


More information about the freebsd-ports-bugs mailing list