From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:53:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B413B86 for ; Tue, 4 Dec 2012 20:53:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id E0D458FC17 for ; Tue, 4 Dec 2012 20:53:04 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfzUQ-0004YE-G9 for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 21:53:14 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 21:53:14 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 21:53:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Issue with the pkgng repository Date: Tue, 4 Dec 2012 20:52:43 +0000 (UTC) Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:53:05 -0000 I have another minor issue with pkgng: Say package foo-1.0 depends on bar-1.0. Then bar-1.0 is upgraded to version 1.1. So a new package bar-1.1 is built (from the port), and replaces bar-1.0 in the repository. The repository database is then updated using 'pkg repo'. Now the repository database is out of whack: It still thinks foo-1.0 depends on bar-1.0 (the deps table in the compressed repo.sqlite database - i.e. repo.txz in the repository). Admittedly the packages will still install (from the repository in question) on another machine, but nevertheless it doesn't seem quite right. One workaround is to re-create the foo package (plus any others depending on bar) and refresh the repository, but is this an omission?