From: Stuart McGraw <smcg4191@mtneva.com>
To: pgsql-general@postgresql.org
Subject: Re: postgresql-10.3 on unbuntu-17.10 - how??
Date: Tue, 20 Mar 2018 23:51:45 -0600
Message-ID: <484559c1-9dea-085c-4f55-fb22d246ef24@mtneva.com> (raw)
In-Reply-To: <5f658eee-585c-8ba2-235c-1429e33e17d2@aklaver.com>
References: <p8r8t8$q80$1@blaine.gmane.org>
<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>
<19c804c1-226b-f826-ca4c-229aebbb076d@mtneva.com>
<9a73e571-fe95-6e9d-ce24-65d2cd5e625a@mtneva.com>
<5f658eee-585c-8ba2-235c-1429e33e17d2@aklaver.com>
On 03/20/2018 10:07 PM, Adrian Klaver wrote:
> On 03/20/2018 06:27 PM, Stuart McGraw wrote:
>> On 03/20/2018 06:42 PM, Stuart McGraw wrote:
>>> 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:
>>> [...]
>>>>> # 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.
>>> [...]
>>>>> 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
>>
>> An additional bit of information. Picking one of the installed packages
>> to look at:
>>
>> ~# apt-cache policy postgresql-client
>> postgresql-client:
>> Installed: 10+190.pgdg18.04+1
>> Candidate: 10+190.pgdg18.04+1
>> Version table:
>> *** 10+190.pgdg18.04+1 500
>> 500 http://apt.postgresql.org/pub/repos/apt bionic-pgdg/main amd64 Packages
>> 500 http://apt.postgresql.org/pub/repos/apt bionic-pgdg/main i386 Packages
>> 100 /var/lib/dpkg/status
>> 9.6+184ubuntu1.1 500
>> 500 cdrom://Ubuntu-Server 17.10 _Artful Aardvark_ - Release amd64 (20180108.1) artful/main amd64 Packages
>> 500 http://us.archive.ubuntu.com/ubuntu artful-security/main amd64 Packages
>> 500 http://us.archive.ubuntu.com/ubuntu artful-security/main i386 Packages
>> 500 http://us.archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages
>> 500 http://us.archive.ubuntu.com/ubuntu artful-updates/main i386 Packages
>> 9.6+184ubuntu1 500
>> 500 http://us.archive.ubuntu.com/ubuntu artful/main amd64 Packages
>> 500 http://us.archive.ubuntu.com/ubuntu artful/main i386 Packages
>>
>> I *think* the above is saying that the package was (or should be?) installed
>> from the pgdg repository. So why isn't is getting the 10.3 versions?
>> (Thanks for the help so far!)
>
> I think it is installed.
>
> What does pg_lsclusters show?
I included it above but here it is again:
>>> # 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
> What does ps ax | grep postgres show?
> At this point do you have a running instance of Postgres and is it in use?
> If so I would take a pg_dump for safety's sake, before going any further.
Not functional at the moment, I was experimenting with trying to
remove and reinstall various packages. But I am doing this on a VM,
not my development machine where the real database to be upgraded
is.
Whether it was fully functional after the upgrade I can't say for sure
but the server restarted ok with no unusual messages and I could connect
to it with pgsql. But both continued to report their versions as 10.1.
After removing the main postgresql packages and reinstalling I got
some version conflicts which led to my to trying doing a clean install
of Ubuntu-17.10 followed by an install of postgresql-10 from the pgdg
bionic (rather than zesty) repo. It failed as described in a separate
post.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: smcg4191@mtneva.com
Subject: Re: postgresql-10.3 on unbuntu-17.10 - how??
In-Reply-To: <484559c1-9dea-085c-4f55-fb22d246ef24@mtneva.com>
References: <p8r8t8$q80$1@blaine.gmane.org> <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> <19c804c1-226b-f826-ca4c-229aebbb076d@mtneva.com> <9a73e571-fe95-6e9d-ce24-65d2cd5e625a@mtneva.com> <5f658eee-585c-8ba2-235c-1429e33e17d2@aklaver.com> <484559c1-9dea-085c-4f55-fb22d246ef24@mtneva.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox