Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2017 15:27:21 -0400
From:      Jim Ohlstein <jim@ohlste.in>
To:        Alan Somers <asomers@freebsd.org>
Cc:        ml@ft-c.de, FreeBSD Stable ML <stable@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: pkg problem
Message-ID:  <B8897702-E7D2-4FCC-9C26-10901A478CE4@ohlste.in>
In-Reply-To: <CAOtMX2jNj-iOxrPgbbMMS5FaYku9ce%2BYEFekefXLXJqBSYuhmQ@mail.gmail.com>
References:  <51e401b5-d951-1edb-5146-676f25812d4d@ft-c.de> <433208bf-3922-ab6b-dc57-902a1a0ad4eb@ohlste.in> <CAOtMX2jNj-iOxrPgbbMMS5FaYku9ce%2BYEFekefXLXJqBSYuhmQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

> On Mar 28, 2017, at 2:48 PM, Alan Somers <asomers@freebsd.org> 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 <jim@ohlste.in> 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"=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8897702-E7D2-4FCC-9C26-10901A478CE4>