Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eykYf-0002ZG-7f for pgsql-general@arkaria.postgresql.org; Wed, 21 Mar 2018 20:42:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eykYd-0002D5-OG for pgsql-general@arkaria.postgresql.org; Wed, 21 Mar 2018 20:42:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eykVm-0003aQ-Me for pgsql-general@lists.postgresql.org; Wed, 21 Mar 2018 20:39:07 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eykVi-000812-1G for pgsql-general@postgresql.org; Wed, 21 Mar 2018 20:39:05 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1DA6221273; Wed, 21 Mar 2018 16:39:00 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Wed, 21 Mar 2018 16:39:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=woL67p8He/ku8UAdIYto8pd13n8xY 0z6EOlMfOo1ez8=; b=m7hmT9vxBCbzR/2tGOoQTUHXJACCkwD3TAwkq1Bn/g7T9 8tWnBOogcjz/JXULEnoK3jw7qK7uFfcBxQPiuZnVPqq5qePba3e4mxMgHU+HFM07 nXyZPtHL/AyJhf5FaycixBEbNDr1/hotPzwk/IO3Vh5vo1PK/jEYG0siXly9NC8o Es8DcYJKl6vLhSvNNSlEtHZ6r0Le1rGXPl0Lq/aOxAuQovrlrF1hJRdXD3EKrmSO hUo5Ibxg+09hKlYFMKM5/fOO6oiHn7S7E/ckPL47CXfR5beKG6gAmCKFHXLnPWNw H8fsty1SntfnRjtEzV3Mtk5/bV+0drRrSv4g28HnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=woL67p 8He/ku8UAdIYto8pd13n8xY0z6EOlMfOo1ez8=; b=mVm8ni5zxTBP45EOhocF6d aLme/nRae+gMw5v35l/kxKKGj4vjtixc7JKYDfW/xuwPQD8VU5HQdAOBziR6WwRr yI7blFdVZceESCCV/tr2RNI5L71vAXNm4GZL7gUcYuXKLl8GKfQqqFw2vco5cnr9 vLRc0llfvTE8sxdUREBLkNI2kuKLsdQbDpZ/Y/C17fjwGrrUQSdtpFeudPuigzOe O7QiiGjG9FCSCib2uD6ZzToipHEcbFINptwrbTwDLpGAwaR5gawwdpsRRp5E8Fsw vafmZiWQV/8E7hUPve7xk4FltTu0qEYGizIxhzI0Ym6XvzEF9RSrsq5Hx0m4b3xQ == X-ME-Sender: Received: from [192.168.1.2] (71-35-123-124.tukw.qwest.net [71.35.123.124]) by mail.messagingengine.com (Postfix) with ESMTPA id 8126C7E0D6; Wed, 21 Mar 2018 16:38:59 -0400 (EDT) Subject: Re: postgresql-10.3 on unbuntu-17.10 - how?? To: Stuart McGraw References: <4c40e7c5-efa7-00d7-b891-acc9c1ec75b0@aklaver.com> <94212f05-9eb9-15ff-6119-f364b80d12d3@aklaver.com> Cc: pgsql-general From: Adrian Klaver Message-ID: Date: Wed, 21 Mar 2018 13:38:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 03/21/2018 01:31 PM, Stuart McGraw wrote: > On 03/21/2018 12:14 PM, Adrian Klaver wrote: >> On 03/21/2018 10:59 AM, Stuart McGraw wrote: >>> On 03/21/2018 07:02 AM, Adrian Klaver wrote: >>>> On 03/20/2018 10:52 PM, Stuart McGraw wrote: >> [...] >>>> If it where me I would simplify the above for the moment to : >>>> apt-get install postgresql-10 >>> >>> Tried on a fresh Ubuntu-17.10 install (with no postgresql at all >>> installed) >>> but similar problem persists with the postgresql from the pgdg bionic >>> repo: >>> >>>    # apt-get install postgresql-10 >>>    ... >>>    The following packages have unmet dependencies: >>>     postgresql-10 : Depends: postgresql-client-10 >>>                     Depends: libicu60 (>= 60.1-1~) but it is not >>> installable >>>                     Depends: libpq5 (>= 9.3~) but it is not going to >>> be installed >>>                     Depends: libssl1.1 (>= 1.1.0) but it is not >>> installable >>>                     Recommends: sysstat but it is not going to be >>> installed >>>    E: Unable to correct problems, you have held broken packages. >> >> Looks like forward compatibility issues, your 17.10 does not have the >> newer versions of files needed by the 18.04 Postgres packages and it >> will not install them as they probably would break other programs in >> 17.10.  If it does not work going forward maybe it will work going >> backward, see if you have any better luck using the 16.04(Xenial) >> repo. > > Thanks, I forgot that the older repos also received the pg-10 update. > Unfortunately but no luck with Xenial either, slightly different > but similar conflicts. > > My main motivation for updating to 10.3 was to be able to load data > dumped from a 10.3 database.  pg_restore complained about "unsupported > version (1.13) in file header".  However I just discovered I can load > a plain sql dump from that database so panic mode is over :-) and I > can wait until I can upgrade my machine to ubuntu-18.04. Yeah, pg_restore from 10.x < 10.3 will not restore a custom format dump from 10.3. Pretty sure it has to do with this: https://wiki.postgresql.org/wiki/A_Guide_to_CVE-2018-1058:_Protect_Your_Search_Path > > It still seems to me that the best advice for using Postgresql on > Ubuntu is to use the Ubuntu version of Postgresql if you don't need > the latest version; if you do need latest version, use the Pgdg > version but only with a LTS version of Ubuntu. > > If you need the latest version of both Ubuntu and Postgresql, you > may be out of luck. I stick to LTS releases of Ubuntu as the in between releases tend to be too experimental for my taste:) Also the upgrades come to close together. -- Adrian Klaver adrian.klaver@aklaver.com