Skip to content

Installing PostgreSQL & Pgadmin on Debian 12 #9448

@mqkqp6zk2f-design

Description

@mqkqp6zk2f-design

I'm fairly new to Linux, and completely overwhelmed in the environment. I have installed PostgreSQL and believe it's running as it should. I'm Trying to install Pgadmin4 because I thought it would be easier than doing everything at the psql command line. When I run:
sudo apt install pgadmin4

I get the following result:

userone@debian12:~$ sudo apt install pgadmin4
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pgadmin4 : Depends: pgadmin4-server (= 9.10) but it is not installable
Depends: pgadmin4-desktop (= 9.10) but it is not installable
Depends: pgadmin4-web (= 9.10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
userone@debian12:~$

If I try to install a single component, I get the following:

userone@debian12:~$ sudo apt install pgadmin4-desktop
[sudo] password for userone:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package pgadmin4-desktop is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'pgadmin4-desktop' has no installation candidate
userone@debian12:~$

I thought there would be a relatively simple fix like editing my /etc/apt/sources.list file, but I haven't discovered anything.
Thanks in advance for your help,
Userone

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions