Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rdvHo-008JkJ-KI for pgsql-general@arkaria.postgresql.org; Sat, 24 Feb 2024 16:54:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rdvGo-005BRb-H0 for pgsql-general@arkaria.postgresql.org; Sat, 24 Feb 2024 16:53:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rdvGm-005BRT-S2 for pgsql-general@lists.postgresql.org; Sat, 24 Feb 2024 16:53:02 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rdvGi-000hqT-KE for pgsql-general@lists.postgresql.org; Sat, 24 Feb 2024 16:53:00 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id F3A795C005C for ; Sat, 24 Feb 2024 11:52:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 24 Feb 2024 11:52:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1708793573; x=1708879973; bh=qfEIFBJAIWppEwOjHGZilvXPqnXzblrIq0vjt41LrLs=; b= dRE8gDIhtxUyD6xANC1oOvlS0Ltf2uGqC2KneD5WP3ciuc6vJ03ENJmJ45Ahex33 xrveFysaGeJ5NYc0YYWJhKaZklJyDOCmn3QxL2SgjJVF0Hh3s+o8KturAVKMpdW8 aSfHc8FGnLXIOCZw+l266ri+cPPoZVLM9BYwKMnIe3oaDIcn/aEzo0OJ4oMflClk Sd1ECKilk7vqir6qfTr9uucmol3EvKAnRBYaTa+SG2vDZRP8YTxt5f9HQFPNi8jr dzUp0hIkInyg3QX+jP/4G/XqDsSJAbDcqy+lOQii0CIDW3gOlkgDLEfgRsvV3mTB llpsudsvBDNxUhEODH2Ifw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1708793573; x= 1708879973; bh=qfEIFBJAIWppEwOjHGZilvXPqnXzblrIq0vjt41LrLs=; b=M 5eTeAwVPqTvSTWRQyn1CBL3LY9FD4KrNuB7Ap4pPqkePa8ZwuahF6Gt3VxtNjzHZ cH5tqvk6W8KszbL8ZoQQKT0II/pGPNP0YgS6GF84fA2L1/9BF8552gbyD2cJ0aUh N4mL7hsXylbfB4/tnW+3FXbVGbt+vfpji64UFyMVcKtoJnEyJoMaPemw7fbfBKma OvvfwEvrr6FH+vAuJ96ZmUKdKkW18jkyhIqnr8+GlVy0/dpJCEWFwgexdRTvEcqZ 7CrTBtUkLCbjD446c8/LkI1DbaBm0xUJIXqcJF0tdXvk5R2d98rbSY9/ZKGbXF3o sATRnAbCxCg8GcSdLbqZQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeekgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthejre dttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeelgfetleetie efleffveetffekudejhfelfeeuudejteehuedvfffghfejlefgtdenucffohhmrghinhep ghhithhhuhgsrdgtohhmpdhpohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghr segrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 24 Feb 2024 11:52:53 -0500 (EST) Message-ID: <7dbb620a-1fe5-42e0-86c4-94fe91beafd7@aklaver.com> Date: Sat, 24 Feb 2024 08:52:52 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Postgres 16 missing from apt repo? To: pgsql-general@lists.postgresql.org References: <358307d3-4db6-41a7-b64f-f5c26d8bde2a@aklaver.com> <20240224164332.ggx3zu46xdhqvdi2@hjp.at> Content-Language: en-US From: Adrian Klaver In-Reply-To: <20240224164332.ggx3zu46xdhqvdi2@hjp.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2/24/24 08:43, Peter J. Holzer wrote: > On 2024-02-22 15:18:37 -0800, Tamal Saha wrote: >> Thanks for the response. I am trying to build the postgres:16.1 docker image >> and it fails. This is the docker file (I am not associated with Docker Inc.). >> https://github.com/docker-library/postgres/blob/ >> d416768b1a7f03919b9cf0fef6adc9dcad937888/16/bookworm/Dockerfile#L93 > > I don't know about docker images. My answer is for Debian or Ubuntu > systems in general. > > >> I get the following error >> >> 6.976 Package postgresql-16 is not available, but is referred to by another >> package. >> 6.976 This may mean that the package is missing, has been obsoleted, or >> 6.976 is only available from another source >> 6.976 >> 6.980 E: Version '16.1-1.pgdg120+1' for 'postgresql-16' was not found >> >> How may I fix this? > > The current version is 16.2, not 16.1. You appear to have cached an > obsolete index. No the OP was looking for that version per their Docker file from this post: https://www.postgresql.org/message-id/CAA%3DcNux52hkHTJ%2BXRci6OzLMQ1LoMcHE%3DcvXjwwWvYi%3DPt61Vw%40mail.gmail.com Where: ENV PG_VERSION 16.1-1.pgdg120+1 <...> apt-get build-dep -y "postgresql-$PG_MAJOR=$PG_VERSION"; \ apt-get source --compile "postgresql-$PG_MAJOR=$PG_VERSION"; \ I pointed them at the repo you get archived versions if that is really what they want. See: https://www.postgresql.org/message-id/c7b7aa36-10f7-4b65-9ea9-7f48f285429d%40aklaver.com > > Use "apt update" to update the index. > > hp > -- Adrian Klaver adrian.klaver@aklaver.com