From owner-freebsd-stable@freebsd.org Tue Mar 28 18:48:46 2017 Return-Path: Delivered-To: freebsd-stable@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 91D27D232D2 for ; Tue, 28 Mar 2017 18:48:46 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7231BCB0 for ; Tue, 28 Mar 2017 18:48:46 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6E5E4D232D0; Tue, 28 Mar 2017 18:48:46 +0000 (UTC) Delivered-To: stable@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 6A8B4D232CF; Tue, 28 Mar 2017 18:48:46 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (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 1EB07CAF; Tue, 28 Mar 2017 18:48:46 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yw0-x230.google.com with SMTP id v76so59964664ywg.0; Tue, 28 Mar 2017 11:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=wSSSP4HoCBlACBM6Ov5L6cNgeYxoUdWJTtImKxZTLoc=; b=VRPj3KAyexwt9nJQoEnP/mQpJFz0KBLbnOBOW7O/IypFG4TH5jf5xUAik5G97Po5TJ 2xKpyNiVm7tMYEVb32gZIMuOeGhh+kw7xTVqwJEojQBOyq++gwc9bJyg5p7soVtiJVbn q0gJxjpv/itcJhknpY1AExuzy2Ih1dtfn8Rd1dJXNwsGLeLrpta1CmP7yojnXr/PzhLs 6scP97FjmPzvsOoQU9YuNoHiD1nyx1AyHg7vD/h2KyhHv4xVpso5iZnNs69x+8X6v7V/ XIzGaBXQctDIcTtX6pnSFxNfHgCaqGQ759K1sgFnJldeJofabig/SXzlVstsFLA6gg9C rwzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=wSSSP4HoCBlACBM6Ov5L6cNgeYxoUdWJTtImKxZTLoc=; b=k1/IQK5ytgTn9YlNRy3Fbi4xDvFIJIbGMjLDzKnEYgVC2JLObCJIgHl1ilOJhvXuWL JVdO43ko16Z1na7r0zkVHY3NkaZSL7GFuqmj+OhTAZeB6aonIRb4DkfhsnXbvjGOt1bm VXY+lQBoTKAA6E17VGaiF5MF70Pcw6iTMDrQSfSYxDorkvllyrYM8J24aINij41/yrIm 36Jl5JCQZQ3wdg+4B9YT21UzlR+wm4eSQ1tE1dwlYvFLyDOSQOeU3PGlC5dE+npQReVU kncgnMtvCFsOMNbVMJEtJlKP1N7w8LKLHHhQTvFGjvGhdQzLZIpqHZvxBPr9lWq3oxVe czyA== X-Gm-Message-State: AFeK/H0sM4Pgi7YcV3/u1N7k8mdgubS6JrDba3A6ujuMUpykX5d7laJLQ3C80YYSE6fUWi0kQqiXhFnUoOLN+Q== X-Received: by 10.129.68.31 with SMTP id r31mr4815368ywa.307.1490726925179; Tue, 28 Mar 2017 11:48:45 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.129.20.214 with HTTP; Tue, 28 Mar 2017 11:48:44 -0700 (PDT) In-Reply-To: <433208bf-3922-ab6b-dc57-902a1a0ad4eb@ohlste.in> References: <51e401b5-d951-1edb-5146-676f25812d4d@ft-c.de> <433208bf-3922-ab6b-dc57-902a1a0ad4eb@ohlste.in> From: Alan Somers Date: Tue, 28 Mar 2017 12:48:44 -0600 X-Google-Sender-Auth: 0EqWN_Wvmrxn9MDa66Ms8RjVab4 Message-ID: Subject: Re: pkg problem To: Jim Ohlstein Cc: ml@ft-c.de, FreeBSD Stable ML , freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2017 18:48:46 -0000 Try setting DEFAULT_VERSIONS=pgsql=9.6 in /etc/make.conf. Then any ports that use postgres will have to be rebuilt from ports instead of installed through pkg. -Alan On Tue, Mar 28, 2017 at 12:24 PM, Jim Ohlstein wrote: > 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 > > _______________________________________________ > 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"