From owner-freebsd-ports@FreeBSD.ORG Wed May 13 17:20:42 2015 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6265A6; Wed, 13 May 2015 17:20:42 +0000 (UTC) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5BDC21B58; Wed, 13 May 2015 17:20:41 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA23058; Wed, 13 May 2015 20:20:33 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1YsaKe-0006oH-US; Wed, 13 May 2015 20:20:32 +0300 Message-ID: <555387BC.4050402@FreeBSD.org> Date: Wed, 13 May 2015 20:19:56 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Baptiste Daroussin , Henry Hu CC: freebsd-ports@FreeBSD.org Subject: Re: pkg 1.5.1 wants to remove locked packages References: <2e3c80180e1fc608b29883e613b9bf49@mail.mikej.com> <20150427135919.GI13141@ivaldir.etoilebsd.net> <5552EC55.9050604@FreeBSD.org> <20150513155421.GB90457@ivaldir.etoilebsd.net> In-Reply-To: <20150513155421.GB90457@ivaldir.etoilebsd.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2015 17:20:42 -0000 On 13/05/2015 18:54, Baptiste Daroussin wrote: > On Wed, May 13, 2015 at 03:45:58PM +0000, Henry Hu wrote: >> On Wed, May 13, 2015 at 2:18 PM Andriy Gapon wrote: >> >>> >>> I can also confirm this problem. Although in my case the packages are >>> not locked still it's not nice for pkg to remove them: >>> >>> $ pkg upgrade ... All repositories are up-to-date. Checking for >>> upgrades (946 candidates): 100% Processing candidates (946 candidates): >>> 100% The following 705 package(s) will be affected (of 0 checked): <<<< >>> [*] >>> >>> Installed packages to be REMOVED: libreoffice-4.3.5_2 >>> digikam-3.5.0_6,2 kipi-plugin-calendar-3.5.0_3 kipi-plugins-3.5.0_3,1 >>> >> >> Using "pkg search", you can see that these packages are not present in >> the repo currently. Maybe pkg finds that it can't find updated version so >> it can only remove them? > > yes but only because one of their dependencies is being updated as well > and might break those ports after the upgrade > > Once the package building is done again those packages will appear again in > the repo and the problem will be gone. Thank you for the information. pkg's behavior makes much more sense now. -- Andriy Gapon