From owner-freebsd-pkg@freebsd.org Tue Oct 13 16:12:58 2015 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1FDEA128C5 for ; Tue, 13 Oct 2015 16:12:58 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9452110E6 for ; Tue, 13 Oct 2015 16:12:58 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from karviainen.kapsi.fi ([217.30.184.182] helo=roundcube.kapsi.fi) by mail.kapsi.fi with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Zm2C4-0006gJ-Up for freebsd-pkg@freebsd.org; Tue, 13 Oct 2015 19:12:53 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 13 Oct 2015 19:12:52 +0300 From: Arto Pekkanen To: freebsd-pkg@freebsd.org In-Reply-To: <0e4a66578a8ad68e97dd320458bec514@kapsi.fi> References: <0e4a66578a8ad68e97dd320458bec514@kapsi.fi> Message-ID: <0cfd68b732214528b11f950b24a0cddb@kapsi.fi> X-Sender: isoa@kapsi.fi User-Agent: RoundCube Webmail/0.9.4 X-SA-Exim-Connect-IP: 217.30.184.182 X-SA-Exim-Mail-From: isoa@kapsi.fi X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 Subject: Re: pkg always tries to install graphics/jpeg as bogus dependency X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mail.kapsi.fi) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 16:12:58 -0000 I seem to have fixed this problem by remove graphics/jpeg from the Local repository. However, I really think this is a bug. Arto Pekkanen kirjoitti 13.10.2015 00:09: > Here follows the console output: > """ > # pkg install wifimgr > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > Updating Local repository catalogue... > Local repository is up-to-date. > All repositories are up-to-date. > The following 2 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > wifimgr: 1.11_1 [FreeBSD] > jpeg: 8_6 [FreeBSD] > > The process will require 2 MiB more space. > 94 KiB to be downloaded. > > Proceed with this action? [y/N]: y > Fetching wifimgr-1.11_1.txz: 100% 94 KiB 96.7kB/s 00:01 > Checking integrity... done (2 conflicting) > Checking integrity... done (0 conflicting) > Conflicts with the existing packages have been found. > One more solver iteration is needed to resolve them. > The following 1 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > wifimgr: 1.11_1 [FreeBSD] > > The process will require 405 KiB more space. > > Proceed with this action? [y/N]: y > [1/1] Installing wifimgr-1.11_1... > [1/1] Extracting wifimgr-1.11_1: 100% > > [root@leno ~]# pkg info jpeg > pkg: No package(s) matching jpeg > > [root@leno ~]# pkg rquery "%n-%v [%R]" jpeg > jpeg-8_6 [FreeBSD] > jpeg-8_6 [Local] > > [root@leno ~]# pkg rquery "%n-%v [%R] %rn" jpeg > [root@leno ~]# > """ > > Why does pkg try to install jpeg8_6 even if no package run-depends on > it? > > It does not prevent packages from installing, but it does waste time > with the conflict resolution. > > What should I do to resolve this issue? > > PS. The "Local" repository is my overlay repository where I've built > some packages with specific options. It is configured with priority > 100. -- Arto Pekkanen