Re: Postgres upgrade from 12 to 13 - anyway to fetch EOL package?
Date: Thu, 10 Jul 2025 19:19:56 UTC
On 2025-07-10 1:55, Kaya Saman wrote: > I've recently updated my servers to 13.5 and now I'm updating all the @ports > > > I have a jail with postgres installed but forgot to check > /usr/ports/UPDATING for the upgrade procedure. > > > Does anyone know if there's a location with obsolete packages so I can > grab the pg12 package? > > > According to UPDATING I need both of these: > > > # pkg create postgresql12-server postgresql12-contrib > # tar xf postgresql12-server-12.8.pkg -C /tmp/pg-upgrade > # tar xf postgresql12-contrib-12.8.pkg -C /tmp/pg-upgrade > > > Or is there another solution to get my databases upgraded? Check to see if you have the old pkgs in /var/cache/pkg If not, you can look up when databases/postgresql12-* was deleted from the tree, check out ports at the commit just before that, make stage package, unpack as needed.