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 1eyRpm-0000WB-Fy for pgsql-general@arkaria.postgresql.org; Wed, 21 Mar 2018 00:42:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eyRpk-0008Bv-Nh for pgsql-general@arkaria.postgresql.org; Wed, 21 Mar 2018 00:42:28 +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 1eyRpk-0008Bl-Fl for pgsql-general@lists.postgresql.org; Wed, 21 Mar 2018 00:42:28 +0000 Received: from mail-it0-f65.google.com ([209.85.214.65]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eyRph-0005P1-7D for pgsql-general@postgresql.org; Wed, 21 Mar 2018 00:42:28 +0000 Received: by mail-it0-f65.google.com with SMTP id c1-v6so3771322itj.1 for ; Tue, 20 Mar 2018 17:42:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:newsgroups:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=2CRpwgB3k+jT3bJgi5O6wzAAQXhSPFIJjQzS0KxoThM=; b=CtlCGMFounqkkl1m+p76DdseEBhJ5pO6wwjsVUIFY+x+f7+l/9UMHMcdGxtyiWcXbE +BWylEPB5R0x3f2FTPzZVqxVMs+6YX6Q3MJH+6QoQoK9I274nkBhUASnI66MZ2IB7/sI 4GWwIRraUxAhJeZb2dS3Coy62cfsyWjfCl2J10/1cwYYJPLknRNeOa1bmob4JwbU3mlI ZB0EuwhiBekykqdqmn9hCDoDdx3zBzW7GcbKodonXGIFgRJqNF+ZY1YsUNwmXJiKOPoF uwZSZxgKlZa8VbVGF5Hj8T+yRcvcqxfWH60aH4qEYattfK7DBqpE1zOLoferMutwJqYn xqAg== X-Gm-Message-State: AElRT7F0Iju6Db9PQc2QSW/hjLgmp/dwrnPJDPcWhDxm28zkTd7PZahu QekQnZDUFSh2jA1QXdvXfns= X-Google-Smtp-Source: AG47ELuxHOWP8Q9vS0jYlfuSC8+MnJ/wJHoHYPYZfIncK66kCPbZvGY2y2dmOYUyTzN52Wdcymfklw== X-Received: by 2002:a24:f049:: with SMTP id p9-v6mr1955781iti.62.1521592942978; Tue, 20 Mar 2018 17:42:22 -0700 (PDT) Received: from fuji.home ([65.183.81.59]) by smtp.gmail.com with ESMTPSA id w142-v6sm1936698itc.31.2018.03.20.17.42.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Mar 2018 17:42:22 -0700 (PDT) Received: from fuji.home (fuji.home [10.1.65.222]) by fuji.home (Postfix) with ESMTPS id D6EFD680079; Tue, 20 Mar 2018 18:42:20 -0600 (MDT) Subject: Re: postgresql-10.3 on unbuntu-17.10 - how?? To: Adrian Klaver , pgsql-general@postgresql.org Cc: Christoph Berg Newsgroups: gmane.comp.db.postgresql.general References: <4c40e7c5-efa7-00d7-b891-acc9c1ec75b0@aklaver.com> <20180320201953.GC22250@msg.df7cb.de> <031f07be-4d38-2cdf-7a87-8c46617a6503@mtneva.com> <9c2ca69a-f24b-d662-124d-7153bf22e4c3@aklaver.com> From: Stuart McGraw Message-ID: <19c804c1-226b-f826-ca4c-229aebbb076d@mtneva.com> Date: Tue, 20 Mar 2018 18:42:19 -0600 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: <9c2ca69a-f24b-d662-124d-7153bf22e4c3@aklaver.com> 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/20/2018 05:34 PM, Adrian Klaver wrote: > On 03/20/2018 02:25 PM, Stuart McGraw wrote: >> On 03/20/2018 02:19 PM, Christoph Berg wrote: >>  > Re: Adrian Klaver 2018-03-20 <4c40e7c5-efa7-00d7-b891-acc9c1ec75b0@aklaver.com> >>  >>> However I need to upgrade to 10.3 and the normal "apt update; >>  >>> apt upgrade" does not offer 10.3.  Also, doing a fresh install >>  >>> still installs 10.1. >> [...] >> Thank you Christoph and Adrian. >> I changed the apt source to >>    deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main >> >> Then (transcripts edited for brevity)... >>    # apt-get dist-update > > I am going  to say that was apt-get update. More below. > >>    ... >>    # apt-get dist-upgrade >>    The following packages will be REMOVED: >>      pgadmin3 >>    The following packages will be upgraded: >>      pgadmin3-data postgresql postgresql-client postgresql-client-common >>      postgresql-common postgresql-contrib postgresql-doc postgresql-doc-10 >>      postgresql-server-dev-10 >>    9 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. >> >> after completing the update and rebooting: >> >>    $ psql --version >>    psql (PostgreSQL) 10.1 >>    $ psql -c 'select version()' >>    PostgreSQL 10.1 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406, 64-bit > > I suspect the above is coming from the Ubuntu repo, not the PGDG one. I had also tried 'apt-get upgrade' but that looked less promising # apt-get upgrade The following packages have been kept back: libdbd-pg-perl libpq-dev libpq5 pgadmin3 pgadmin3-data postgresql-10 postgresql-client-10 The following packages will be upgraded: postgresql postgresql-client postgresql-client-common postgresql-common postgresql-contrib postgresql-doc postgresql-doc-10 postgresql-server-dev-10 8 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. The results turned out the same: postgresql-10.1, not 10.3. I took this to suggest using dist-upgrade: https://wiki.postgresql.org/wiki/Apt/FAQ#How_do_I_dist-upgrade.3F and that it should "just work". > As an example from an Ubuntu machine that is using the PGDG repo: > > psql --version > psql (PostgreSQL) 10.3 (Ubuntu 10.3-1.pgdg16.04+1) > postgres=# select version(); >  PostgreSQL 10.3 (Ubuntu 10.3-1.pgdg16.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609, 64-bit > >> Likely I am missing something obvious due to my newness with Ubuntu, >> but isn't the above supposed to work?  10.3 is a minor upgrade, yes? > > Yes it is a minor upgrade. > > What does pg_lsclusters show? # pg_lsclusters Ver Cluster Port Status Owner Data directory Log file 10 main 5432 online postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log