Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 13:49:24 +1100 (AEDT)
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186827: ports-mgmt/pkg pkg-repo(8) includes only oldest version of package
Message-ID:  <201402170249.s1H2nOVG006512@rwpc13.gfn.riverwillow.net.au>
Resent-Message-ID: <201402170250.s1H2o00Q057530@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402170249.s1H2nOVG006512>