Re: installation not working for Ubuntu 21.10 impish

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Garrett Simpson <elgaricimo(at)gmail(dot)com>
Cc: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: installation not working for Ubuntu 21.10 impish
Date: 2022-03-02 16:57:23
Message-ID: CA+OCxoz1Yd-C7nex4st8Z4JB9ochzz3AKry0bkLhhh0Top2W=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi

On Wed, 2 Mar 2022 at 14:37, Garrett Simpson <elgaricimo(at)gmail(dot)com> wrote:

> Hi there,
>
> I'd like to report what appears to be a bug in the installation process
> for pgadmin4 on Ubuntu 21.10 . Below is copy and pasted from my question on
> askubuntu,
> https://askubuntu.com/questions/1395499/cant-install-pgadmin4-on-ubuntu-21-10-impish-pgadmin4
>
> I'm running Ubuntu 21.10 impish from an external ssd. Things are working
> well, trying to install pgadmin4 by following the guide here:
>
> https://www.pgadmin.org/download/pgadmin-4-apt/
>
> namely, adding the extra the PPA , updating the apt repository, and then
> installing with apt:
>
>
> # Setup the repository
> #
>
> # Install the public key for the repository (if not done previously):
> sudo curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add
>
> # Create the repository configuration file:
> sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
>
> #
> # Install pgAdmin
> #
>
> # Install for both desktop and web modes:
> sudo apt install pgadmin4
>
> # Install for desktop mode only:
> sudo apt install pgadmin4-desktop
>
> # Install for web mode only:
> sudo apt install pgadmin4-web
>
> # Configure the webserver, if you installed pgadmin4-web:
> sudo /usr/pgadmin4/bin/setup-web.sh
>
> ^ note these are the official instructions from pgadmin.org, which says
> it has support for Ubuntu 21.10 (Impish, from v6.2) (I don't know what
> the v6.2 means, but whatever)
>
> It appears that everything installs, and then when I try running $
> pgadmin4 , nothing happens
>
> I tried manually specifying amd64 architiecture and even switching to the
> LTS focal endpoint using $ sudo vim /etc/apt/sources.list.d/pgadmin4.list,
> changing
>
> deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/impish pgadmin4
> main
>
> to
>
> deb [arch=amd64] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal
> pgadmin4 main
>
> Still no joyy....what am I missing here? and Ideally, how would I do it
> all in an automated script? Setting up a new system, and wrestling with
> stuff like this is never enjoyable.
>

If you just run 'pgadmin4', I would expect to see a command not found
error, e.g.

dpage(at)ubuntu:~$ pgadmin4
pgadmin4: command not found

However, the full path should work, e.g.

dpage(at)ubuntu:~$ /usr/pgadmin4/bin/pgadmin4
[9496:9496:0302/085252.960815:ERROR:sandbox_linux.cc(379)]
InitializeSandbox() called with multiple threads in process gpu-process.
[9463:9491:0302/085255.439901:ERROR:chrome_browser_main_extra_parts_metrics.cc(227)]
START: ReportBluetoothAvailability(). If you don't see the END: message,
this is crbug.com/1216328.
[9463:9491:0302/085255.440023:ERROR:chrome_browser_main_extra_parts_metrics.cc(230)]
END: ReportBluetoothAvailability()
[9497:9509:0302/085258.416653:ERROR:cert_verify_proc_builtin.cc(603)] No
net_fetcher for performing AIA chasing.
[9497:9514:0302/085300.895407:ERROR:cert_verify_proc_builtin.cc(603)] No
net_fetcher for performing AIA chasing.
[9497:9514:0302/085332.999213:ERROR:cert_verify_proc_builtin.cc(603)] No
net_fetcher for performing AIA chasing.
[9497:9514:0302/085353.520635:ERROR:cert_verify_proc_builtin.cc(603)] No
net_fetcher for performing AIA chasing.

Those errors can be ignored - they're garbage the Chrome engine spits out
that are merely annoying. You should see the pgAdmin window open at this
point.

You can also run pgAdmin from the Wayland menu. Just type pgadmin in the
search box if the icon doesn't show up immediately.

FYI, the testing above was done on a fresh installation of Ubuntu 21.10.

--
Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Garrett Simpson 2022-03-02 23:55:07 Re: installation not working for Ubuntu 21.10 impish
Previous Message Garrett Simpson 2022-03-02 14:37:25 installation not working for Ubuntu 21.10 impish