From owner-freebsd-ports@freebsd.org Tue Mar 28 19:27:24 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 5B84BD2254A for ; Tue, 28 Mar 2017 19:27:24 +0000 (UTC) (envelope-from jim@ohlste.in) Received: from mail-qt0-x233.google.com (mail-qt0-x233.google.com [IPv6:2607:f8b0:400d:c0d::233]) (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 1444AEC9 for ; Tue, 28 Mar 2017 19:27:24 +0000 (UTC) (envelope-from jim@ohlste.in) Received: by mail-qt0-x233.google.com with SMTP id n21so73193590qta.1 for ; Tue, 28 Mar 2017 12:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ohlste-in.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=bhgLlddquBIRg8RS2uPObYKGGpofBLq5lU3AQ+RRInk=; b=lioYe4KAF535ErVWNC9D0Erogq6oaDTZbLzPyHMNzSHl7u0YzYw6pQqRo0XBX1nd9R 0ms+dcMkKWE2NVrfTvClOPuy5/EWle8UiJ67A/rMFK5Ol27828AkENcbb4yTcbJMk85i nT2U8AT8Waby1yriOUxYL1CE51kaIo90ylM4JHUh0sqLOyl3MlmhK9MLyw6a0Hr1XyWw aXcJstoXjPU75H7ucX3KnFB06urdqR5UiKkPRXessun2AL4uNA+rERLFkJzQgJhmMulo fkvPY6LSAsDFMOcRcJdjK3Pn7f5UiflPEfw6fgN9nDN2BS2EwlWIrMlXDUIiNm/WJVsP QQVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=bhgLlddquBIRg8RS2uPObYKGGpofBLq5lU3AQ+RRInk=; b=UND3I39AInadG0NVI3ghK+GFYrrUYBbTmVAkF9yZBbjFnYAxbhGkWD5N6GIKoC5pzn 6KmryxeNRw4TNwzyrzjNmVqwtA68n+lit7EKvphgfWkt7OJjHEOVOAvtkgSejsrCiSFW s4pfiM6hNwPsgP2HcXCttzwQA4hFJdxF8FGVnrMNAbt1vXKa+VJPuSmIZbp4ePYhQbjb bi6q/ak4b+C2ofko/sEXaw/MaNvGV5VyN6cKtHMg5vAxmSop5Tl27Wtl2jW4TnBRixLV 5/SomoL4diezDOmMKbIvd1p4sYcQ7yD3LNsE7pu6j626MaEa28cIc1wa+zTsiT8ixvv0 R5sQ== X-Gm-Message-State: AFeK/H1wHm/blc8W2XPvj39EWgLRb311MuYZrhG2QsBd0ZE0WyU8eK8gHw739FXYZt2VlQ== X-Received: by 10.200.46.208 with SMTP id i16mr28047799qta.13.1490729243165; Tue, 28 Mar 2017 12:27:23 -0700 (PDT) Received: from [192.168.1.9] (pool-108-39-64-29.nrflva.fios.verizon.net. [108.39.64.29]) by smtp.gmail.com with ESMTPSA id a21sm2126411qkc.12.2017.03.28.12.27.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Mar 2017 12:27:22 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: pkg problem From: Jim Ohlstein X-Mailer: iPhone Mail (14E277) In-Reply-To: Date: Tue, 28 Mar 2017 15:27:21 -0400 Cc: ml@ft-c.de, FreeBSD Stable ML , freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <51e401b5-d951-1edb-5146-676f25812d4d@ft-c.de> <433208bf-3922-ab6b-dc57-902a1a0ad4eb@ohlste.in> To: Alan Somers 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 19:27:24 -0000 Hello, > On Mar 28, 2017, at 2:48 PM, Alan Somers wrote: >=20 > Try setting DEFAULT_VERSIONS=3Dpgsql=3D9.6 in /etc/make.conf. Then any > ports that use postgres will have to be rebuilt from ports instead of > installed through pkg. > -Alan I believe he's using packages.=20 >=20 >> On Tue, Mar 28, 2017 at 12:24 PM, Jim Ohlstein wrote: >> Hello, >>=20 >> [cc'ing to ports mailing list since it seems more appropriate there] >>=20 >>> On 3/28/17 10:25 AM, ml@ft-c.de wrote: >>>=20 >>> Hello, >>>=20 >>> when I update/upgrade freebsd with pkg, >>> pkg would install the postgresql93-client, >>> but postgresql* version 9.6 is installed. >>=20 >>=20 >>=20 >> It appears as though $something that you are trying to upgrade has a >> dependency on postgresql-client. Since postgresql93 is the default versio= n >> for FreeBSD packages, $something is built against postgresql93-client, an= d >> 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. >>=20 >>=20 >>>=20 >>> What's going wrong? >>> Have someoen a solution? >>>=20 >>> I get the following messages: >>>=20 >>> % pkg upgrade >>> Updating FreeBSD repository catalogue... >>> FreeBSD repository is up-to-date. >>> All repositories are up-to-date. >>>=20 >>> 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 >>>=20 >>> The following 32 package(s) will be affected (of 0 checked): >>>=20 >>> New packages to be INSTALLED: >>> postgresql93-client: 9.3.15_1 >>>=20 >>> 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 >>>=20 >>> Installed packages to be REINSTALLED: >>> apache24-2.4.25_1 (options changed) >>>=20 >>> Number of packages to be installed: 1 >>> Number of packages to be upgraded: 30 >>> Number of packages to be reinstalled: 1 >>>=20 >>> The process will require 10 MiB more space. >>> 234 KiB to be downloaded. >>>=20 >>>=20 >>>=20 >>> % 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) >>>=20 >>> Checking integrity... >>> Assertion failed: (cun !=3D NULL), function >>> pkg_conflicts_check_chain_conflict, file pkg_jobs_conflicts.c, line 499.= >>> Child process pid=3D2230 terminated abnormally: Abort trap >>>=20 >>>=20 >>>=20 >>> % 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 >>>=20 >>>=20 >>=20 >> -- >> Jim Ohlstein >>=20 >>=20 >> "Never argue with a fool, onlookers may not be able to tell the differenc= e." >> - Mark Twain >>=20 >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"=