Thread: Ubuntu 22.04 upgrade problems
I have just upgraded a laptop from Ubuntu 18.04 -> 20.04 -> 22.04 and am having problems getting pgAmin4 installed. I followed the steps at https://www.pgadmin.org/download/pgadmin-4-apt/ adding the repo and then 'apt update', 'apt install pgadmin4' but my /usr/pgadmin4/bin/ directory contains only 'setup-web.sh' and nothing else. 'apt search' lists pgadmin4 as being installed. I've done 'apt remove' and 'apt install' trying to install just pgadmin4 and pgadmin4-destop.
I did do 'apt remove pgadmin4' before trying to install the first time around, but I did not delete any pgadmin4 files or directories in my home directory that were from the Ubuntu 18.04 installation.
I realize that my problems may be more in the apt realm than the pgadmin realm but I figured I start by seeking advice here first.
--
Richard W. Greenwood
www.greenwoodmap.com
www.greenwoodmap.com
Hi
On Fri, 1 Jul 2022 at 23:04, Richard Greenwood <richard.greenwood@gmail.com> wrote:
I have just upgraded a laptop from Ubuntu 18.04 -> 20.04 -> 22.04 and am having problems getting pgAmin4 installed. I followed the steps at https://www.pgadmin.org/download/pgadmin-4-apt/ adding the repo and then 'apt update', 'apt install pgadmin4' but my /usr/pgadmin4/bin/ directory contains only 'setup-web.sh' and nothing else. 'apt search' lists pgadmin4 as being installed. I've done 'apt remove' and 'apt install' trying to install just pgadmin4 and pgadmin4-destop.I did do 'apt remove pgadmin4' before trying to install the first time around, but I did not delete any pgadmin4 files or directories in my home directory that were from the Ubuntu 18.04 installation.I realize that my problems may be more in the apt realm than the pgadmin realm but I figured I start by seeking advice here first.
The pgadmin4 package is really just a "meta" package that includes various sub-packages which contain all the real goodness. Try doing the following to remove everything:
apt-get purge pgadmin4 pgadmin4-server pgadmin4-web pgadmin4-desktop
Next, edit /etc/apt/sources.list.d/pgadmin4.list and make sure the repo path has the correct codename in it for your updated release (e.g. jammy for 22.04).
Finally, run "apt update" and then try re-installing.
Dave,
Thanks so much for the reply. We got it working following suggestions here:
Although I suspect the root of the issue in our case was with apt, not with a pgAdmin/Ubuntu-22.04 incompatibility.
Best regards,
Rich
On Mon, Jul 4, 2022 at 3:07 AM Dave Page <dpage@pgadmin.org> wrote:
HiOn Fri, 1 Jul 2022 at 23:04, Richard Greenwood <richard.greenwood@gmail.com> wrote:I have just upgraded a laptop from Ubuntu 18.04 -> 20.04 -> 22.04 and am having problems getting pgAmin4 installed. I followed the steps at https://www.pgadmin.org/download/pgadmin-4-apt/ adding the repo and then 'apt update', 'apt install pgadmin4' but my /usr/pgadmin4/bin/ directory contains only 'setup-web.sh' and nothing else. 'apt search' lists pgadmin4 as being installed. I've done 'apt remove' and 'apt install' trying to install just pgadmin4 and pgadmin4-destop.I did do 'apt remove pgadmin4' before trying to install the first time around, but I did not delete any pgadmin4 files or directories in my home directory that were from the Ubuntu 18.04 installation.I realize that my problems may be more in the apt realm than the pgadmin realm but I figured I start by seeking advice here first.The pgadmin4 package is really just a "meta" package that includes various sub-packages which contain all the real goodness. Try doing the following to remove everything:apt-get purge pgadmin4 pgadmin4-server pgadmin4-web pgadmin4-desktopNext, edit /etc/apt/sources.list.d/pgadmin4.list and make sure the repo path has the correct codename in it for your updated release (e.g. jammy for 22.04).Finally, run "apt update" and then try re-installing.--
Richard W. Greenwood
www.greenwoodmap.com
www.greenwoodmap.com