From owner-freebsd-ports@freebsd.org Tue Mar 28 18:24:42 2017 Return-Path: Delivered-To: freebsd-ports@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 52CAFD22AD5 for ; Tue, 28 Mar 2017 18:24:42 +0000 (UTC) (envelope-from jim@ohlste.in) Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (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 151E6CBE for ; Tue, 28 Mar 2017 18:24:41 +0000 (UTC) (envelope-from jim@ohlste.in) Received: by mail-qk0-x22e.google.com with SMTP id r142so44363472qke.2 for ; Tue, 28 Mar 2017 11:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ohlste-in.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=y7Hi6bXh2IMRRlJs++vTzN2Fq6mFeD6zKi5F1mAgIdw=; b=pKUOEV4dolJc+EEqoRRMQeSGpkWgXKXuz3O6bHOPgYJCdvqg0yQ++wyFsK6uzm1jJj e6o81/D7pydLK8a+xJ/QVBuk8mzywiJaEoMlWR0rwCDlDnP+04JptSyQDifQeMYXAXT4 dq6FFQ03j5aCdr3WaWkVYktlwI6a5BO4Z1YpuMe3fQ6t+FPiLelnUAlz945fMn4Ta09h X4AMp0ENGM/vlgtkGLBhALukaOMgVcvsTfMgRI3sdqwgvg8tF5+QkvOAHMJFXCfbuV0C ZSWpiku+eSm1jXvsPralXZuQeeXZOPyNk4MKJCBgEI3S9DACBGAu01vcRjnrUbwEYkb+ MnnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=y7Hi6bXh2IMRRlJs++vTzN2Fq6mFeD6zKi5F1mAgIdw=; b=qKDoBqCX9HYAeQluAdmsPImYIIhf9j6GibbWtN4od+6OLKSLKVqWAo5d6jiWP16dJ6 yxaVJ0xLuXjTfkhDwebGK7GjhYY14F+ZH6uT9/eEj63EaSBVXZrZ+TDEq5vQ+4SDdSCo y2Hz0Uj+2SWHS9QTspetK+gRiC3DA5o129j9A18Fhx9thsO3ZVPgEbO/irvvNezuPE4P khakYT4aezTvfw6izkFpNXaiAjzLCT7RjZ8mSiWtROw783KPamtUAdH8CcjbOs/EoUl7 Cnm/eYkQJjYFiPEGbKtYn3TCAE/n3aH7TXCHlPq68ZynZT0mOPcxM3kjqfrDYM635bzh g0eg== X-Gm-Message-State: AFeK/H3OU+0fLAuVfNEAFEzFg6ke+kNGgGFJZTekBrZ2NaxkNp0oDM4QIYF15ZO6GJZPjA== X-Received: by 10.55.10.1 with SMTP id 1mr23934721qkk.48.1490725480747; Tue, 28 Mar 2017 11:24:40 -0700 (PDT) Received: from [192.168.1.10] (pool-108-39-64-29.nrflva.fios.verizon.net. [108.39.64.29]) by smtp.googlemail.com with ESMTPSA id 1sm3160164qty.69.2017.03.28.11.24.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Mar 2017 11:24:39 -0700 (PDT) Subject: Re: pkg problem To: ml@ft-c.de, stable@freebsd.org References: <51e401b5-d951-1edb-5146-676f25812d4d@ft-c.de> From: Jim Ohlstein Cc: freebsd-ports@freebsd.org Message-ID: <433208bf-3922-ab6b-dc57-902a1a0ad4eb@ohlste.in> Date: Tue, 28 Mar 2017 14:24:51 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <51e401b5-d951-1edb-5146-676f25812d4d@ft-c.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2017 18:24:42 -0000 Hello, [cc'ing to ports mailing list since it seems more appropriate there] On 3/28/17 10:25 AM, ml@ft-c.de wrote: > Hello, > > when I update/upgrade freebsd with pkg, > pkg would install the postgresql93-client, > but postgresql* version 9.6 is installed. It appears as though $something that you are trying to upgrade has a dependency on postgresql-client. Since postgresql93 is the default version for FreeBSD packages, $something is built against postgresql93-client, and is trying to pull it in as a dependency. That would cause postgresql96-client to be deinstalled, which would then cause pretty much anything postgresql96 related to be removed. Those packages are locked, hence the failure. > > What's going wrong? > Have someoen a solution? > > I get the following messages: > > % pkg upgrade > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > > postgresql96-plpython-9.6.0_1 is locked and may not be modified > postgresql96-plperl-9.6.0_1 is locked and may not be modified > postgresql96-contrib-9.6.1 is locked and may not be modified > pgtcl-postgresql96-2.0.0_1 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > pgtcl-postgresql96-2.0.0_1 is locked and may not be modified > postgresql96-server-9.6.1_1 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > postgresql96-contrib-9.6.1 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > postgresql96-plperl-9.6.0_1 is locked and may not be modified > postgresql96-client-9.6.1 is locked and may not be modified > postgresql96-plperl-9.6.0_1 is locked and may not be modified > postgresql96-client-9.6.1 is locked and may not be modified > postgresql96-plpython-9.6.0_1 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > postgresql96-server-9.6.1_1 is locked and may not be modified > postgresql96-client-9.6.1 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > postgresql96-server-9.6.1_1 is locked and may not be modified > postgresql96-contrib-9.6.1 is locked and may not be modified > pgadmin3-1.22.1_3 is locked and may not be modified > postgresql96-client-9.6.1 is locked and may not be modified > postgresql96-client-9.6.1 is locked and may not be modified > > The following 32 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > postgresql93-client: 9.3.15_1 > > Installed packages to be UPGRADED: > php70-zlib: 7.0.16 -> 7.0.17 > ... (more) > php70-pgsql: 7.0.16 -> 7.0.17 > php70-pdo_sqlite: 7.0.16 -> 7.0.17 > php70-pdo_pgsql: 7.0.16 -> 7.0.17 > php70-pdo: 7.0.16 -> 7.0.17 > ... (more) > nspr: 4.13.1 -> 4.14 > mod_php70: 7.0.16 -> 7.0.17 > git: 2.11.0_3 -> 2.12.1 > > Installed packages to be REINSTALLED: > apache24-2.4.25_1 (options changed) > > Number of packages to be installed: 1 > Number of packages to be upgraded: 30 > Number of packages to be reinstalled: 1 > > The process will require 10 MiB more space. > 234 KiB to be downloaded. > > > > % pkg upgrade git > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > pgtcl-postgresql96-2.0.0_1 is locked and may not be modified > ... (more: see above) > > Checking integrity... > Assertion failed: (cun != NULL), function > pkg_conflicts_check_chain_conflict, file pkg_jobs_conflicts.c, line 499. > Child process pid=2230 terminated abnormally: Abort trap > > > > % uname -a > FreeBSD ftc2 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 > 06:55:27 UTC 2016 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > -- Jim Ohlstein "Never argue with a fool, onlookers may not be able to tell the difference." - Mark Twain