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 1eykT7-0002E1-Lm for pgsql-general@arkaria.postgresql.org; Wed, 21 Mar 2018 20:36:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eykT6-0005Xr-H6 for pgsql-general@arkaria.postgresql.org; Wed, 21 Mar 2018 20:36:20 +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 1eykPD-0007Fl-Ss for pgsql-general@lists.postgresql.org; Wed, 21 Mar 2018 20:32:20 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eykPA-0007rR-GO for pgsql-general@postgresql.org; Wed, 21 Mar 2018 20:32:18 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eykN4-0003dr-Ng for pgsql-general@postgresql.org; Wed, 21 Mar 2018 21:30:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-general@postgresql.org From: Stuart McGraw Subject: Re: postgresql-10.3 on unbuntu-17.10 - how?? Date: Wed, 21 Mar 2018 14:31:48 -0600 Lines: 45 Message-ID: References: <4c40e7c5-efa7-00d7-b891-acc9c1ec75b0@aklaver.com> <94212f05-9eb9-15ff-6119-f364b80d12d3@aklaver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 X-Mozilla-News-Host: news://news.gmane.org In-Reply-To: <94212f05-9eb9-15ff-6119-f364b80d12d3@aklaver.com> Content-Language: en-US X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.159.176.226 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. 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.