Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iehiI-0005Go-JR for pgsql-general@arkaria.postgresql.org; Tue, 10 Dec 2019 15:46:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iehiH-0003Bm-AQ for pgsql-general@arkaria.postgresql.org; Tue, 10 Dec 2019 15:46:13 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iehiF-0003Be-E6 for pgsql-general@lists.postgresql.org; Tue, 10 Dec 2019 15:46:13 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iehiB-0008Kq-8R for pgsql-general@lists.postgresql.org; Tue, 10 Dec 2019 15:46:11 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id B1A8F222C2; Tue, 10 Dec 2019 10:46:04 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 10 Dec 2019 10:46:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=k Q0kmw5CCg5WyX3GYi+PL23H50u+/TpYEHtPVx1iV1c=; b=XiBvtn8JS3/5EifG0 vBE6KQe9dAkq5N3gDG7KRwByzERmndTvAsa3YWkZlKjPWx1tyGh6lFtgzfYuuc79 2Br1gVqyROBEvDuFFuiqunYvAe4FrwNsR+IHMxWamQLn2EhEKqbIGXVmWAx20VCN 5OEsPSUPZ9lZynWbGlGOPPm8QrQpfZPY/L9z6hR/kKkGk3sDPna+2B6A/XdA+4qE GT4bAp66yY4sxlfLVLTEGKFbkAWAH/o991ALF+RFAlSAVOm9YtAmFEkOHfXJFWAp iYuA4ylZ1inVtKUQkm1zrN4MnKXmqev6cscvdj4J2QiFHYgV1pvbP82CvNqJBXG8 9LJVQ== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=kQ0kmw5CCg5WyX3GYi+PL23H50u+/TpYEHtPVx1iV 1c=; b=TA737QKiulKJ8BKTLDSdOHW2fSqE3rc3gMUXZYldb2fKhjtuJbhlrMUKk zZ4aGzi1D/eIUPXI6xVdPpBQUCFQGE9RRttwisgjU7THmApUpI0zIP4EpYCgSAQ+ V927m7R1of67dO320r2mz9Tm5s/DiZIRbJbCkf8Tpc/VP8sPRWL6vGFkJMf45+9E 9wmohFNO0caGe7QQPGd7ZfXQi6yz/bh7fIx/eFyo9PRySZbDHjdKWhJ6RIwnDCZP BREodPP3bb0o4cI/0xdYYKg4QFskJPpx1bH4yqQf6MwD1AA+LKX1ZNzl0FrZkgBf YgM5z+Q9XIDIYe8Lyi9V0TaRSnPWg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudelfedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuffhomhgrihhnpehpohhsthhgrhgvsh hqlhdrohhrghenucfkphepjedurddvuddvrddufeelrddujeenucfrrghrrghmpehmrghi lhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.2] (unknown [71.212.139.17]) by mail.messagingengine.com (Postfix) with ESMTPA id 8F1D18005C; Tue, 10 Dec 2019 10:46:03 -0500 (EST) Subject: Re: A question about upgrading on Debian/Ubuntu To: stan , pgsql-general@lists.postgresql.org Cc: crodmail@gmail.com References: <20191210112159.GA8023@panix.com> From: Adrian Klaver Message-ID: <071bafb3-5f4e-d4d4-6ba3-57242d45c05a@aklaver.com> Date: Tue, 10 Dec 2019 07:46:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20191210112159.GA8023@panix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/10/19 3:21 AM, stan wrote: > I upgraded successfully on our test machine from V11 to V12 the other day. The below indicates that this is not the case. > Now it is time to upgrade the production machine. One f the lessons > learned in doing this is to do "make install" on all the extensions used > in the existing DB before doing the pg_dropcluster. If you are installing from packages then a good deal of the extensions should be in postgresql-contrib and you do not have to do make install. Do you have packages that come from outside contrib?: https://www.postgresql.org/docs/12/contrib.html > > On the production machine I am confused by the state of the V12 server: > > If I do sudo apt-get install postgresql-12 I get a message about this > package being marked to be "manually installed: pg_lsclusters reports on a > version 11 instance: Do have?: /etc/postgresql/12/ > > stan@smokey:~/src/pgemailaddr-master$ pg_lsclusters > Ver Cluster Port Status Owner Data directory Log file > 11 main 5432 online postgres /var/lib/postgresql/11/main > /var/log/postgresql/postgresql-11-main.log > > And when I do a "make install" on one of the extensions, it installs in > the V11 location. Lets first see what you have for a 12 install before tackling that. > > What do I need to do to get the V12 server package correctly installed? > > Thanks, in advance. > -- Adrian Klaver adrian.klaver@aklaver.com