From owner-freebsd-ports@FreeBSD.ORG Wed May 13 15:54:27 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 564F161D; Wed, 13 May 2015 15:54:27 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED02C1F47; Wed, 13 May 2015 15:54:26 +0000 (UTC) Received: by wicnf17 with SMTP id nf17so61641413wic.1; Wed, 13 May 2015 08:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=K1/gVF4NCrjJ+8nJgQGBCX+b1rj3tUwVMWzxFsFVF40=; b=f8hI7uctRGWZhpA38S5R3V6mnKXnnjEEV9lM+ycvgQEdLFWtTLR6MKgUp0O8ss8NeX RzUNCS5Rv1GSyPOE5hxldCo+kvlNyVc3Ed6mAbV5eDUJjQjO4xscjt9r4gp+WHPpVL4I dlTPJjLR9DEJPjXChLym2mNCQuvcDBiaVV2RHsGIuaDueYVRG1k3i8trpZTeqFOP5uQ/ NDlcuSDXI6a51aoqcNiCrz1lJhXAo8OLZ9YXgwc4LZCT/3pwhZ8toDxnP8jXTv6W489t u4olocWpkXwc1PPKeONsacp3jD/cbb1LWA4UdgGL4oxnuRe0fM9HJ/DO+sRC1EXdNlUP g5RQ== X-Received: by 10.194.204.230 with SMTP id lb6mr40728782wjc.63.1431532465205; Wed, 13 May 2015 08:54:25 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id uc9sm15000683wjc.7.2015.05.13.08.54.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2015 08:54:24 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 13 May 2015 17:54:22 +0200 From: Baptiste Daroussin To: Henry Hu Cc: Andriy Gapon , freebsd-ports@freebsd.org Subject: Re: pkg 1.5.1 wants to remove locked packages Message-ID: <20150513155421.GB90457@ivaldir.etoilebsd.net> References: <2e3c80180e1fc608b29883e613b9bf49@mail.mikej.com> <20150427135919.GI13141@ivaldir.etoilebsd.net> <5552EC55.9050604@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s2ZSL+KKDSLx8OML" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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 15:54:27 -0000 --s2ZSL+KKDSLx8OML Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > > > > 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 > > >=20 > 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. Best regards, Bapt --s2ZSL+KKDSLx8OML Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlVTc60ACgkQ8kTtMUmk6ExfCgCgorlqhdikRmPk6OLYj0btnFqP 0awAn2/nALLeXlvg4DWHsbCgoLXQHtFw =46Dd -----END PGP SIGNATURE----- --s2ZSL+KKDSLx8OML--