Re: installation not working for Ubuntu 21.10 impish - Mailing list pgadmin-support
From | Dave Page |
---|---|
Subject | Re: installation not working for Ubuntu 21.10 impish |
Date | |
Msg-id | CA+OCxoy2OW_mT6Vj6GTtOU_QYSyRPVP0rP2PkKxcDEvrAT9nWg@mail.gmail.com Whole thread Raw |
In response to | Re: installation not working for Ubuntu 21.10 impish (Garrett Simpson <elgaricimo@gmail.com>) |
List | pgadmin-support |
Hi
On Thu, 3 Mar 2022 at 17:24, Garrett Simpson <elgaricimo@gmail.com> wrote:
Hi Dave,
Appreciate the quick response!
Definitely have Impish...
garrett@garrett-external:/etc$ lsb_release -cd
Description: Ubuntu 21.10
Codename: impishgarrett@garrett-external:/etc$ lsb_release -cs
impishBut for some reason I don't have the os-release directory:garrett@garrett-external:/etc$ cd /etc/os-releasebash: cd: /etc/os-release: Not a directory
Right, that message means that there's something on the filesystem with that name, but it's not a directory - which is as expected; os-release is a text file.
I think what probably happened is when I was initially stuck, and trying to run pgadmin4 from the terminal, not seeing anything happen, and thinking it was not fully installed when it was, I started monkeying around with the urls in /etc/apt/sources.list.d to try uninstalling and reinstalling past releases, following a bit too blindly things I found searching online...
garrett@garrett-external:/etc/apt/sources.list.d$ ls
deadsnakes-ubuntu-ppa-impish.list pgadmin4.list.save pgdg.list.save
pgadmin4.list pgdg.listLooking at pgadmin4.list.save , I see I had at least tried to use hirsute 's repo:garrett@garrett-external:/etc/apt/sources.list.d$ cat pgadmin4.list.save
deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/hirsute pgadmin4 main
I'm thinking this is overriding the correct impish repos, so I'll try deleting that file, purging the installation and re-installing:garrett@garrett-external:/etc/apt/sources.list.d$ ls
deadsnakes-ubuntu-ppa-impish.list pgadmin4.list pgadmin4.list.save pgdg.list pgdg.list.save
garrett@garrett-external:/etc/apt/sources.list.d$ sudo rm pgadmin4.list.savedouble check that the pgadmin4 sources are correct...garrett@garrett-external:/etc/apt/sources.list.d$ ls
deadsnakes-ubuntu-ppa-impish.list pgadmin4.list pgdg.list pgdg.list.savegarrett@garrett-external:/etc/apt/sources.list.d$ cat pgadmin4.list
deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal pgadmin4 main^ok definitely the problem...should fix that....garrett@garrett-external:/etc/apt/sources.list.d$ sudo sed -i 's/focal/impish/g' ./pgadmin4.list
garrett@garrett-external:/etc/apt/sources.list.d$ cat ./pgadmin4.list
deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/impish pgadmin4 mainuninstall pgadmin4garrett@garrett-external:/etc/apt/sources.list.d$ sudo apt purge pgadmin4garrett@garrett-external:/etc/apt/sources.list.d$ sudo apt autoremove
reinstall pgadmin4
garrett@garrett-external:/etc/apt/sources.list.d$ sudo apt update && sudo apt install pgadmin4
And now it works fine
Yes, using the wrong repo would certainly account for the Python version mismatch.
So you were right, apologies for the self inflicted goose chase -- but definitely learned a lot in the process!
:-). Glad it's working now!
pgadmin-support by date: