2

I need to install pgadmin3 on Ubuntu, but it gives this message:

west@west-ThinkPad-T510:~$ sudo apt-get install pgadmin3
Reading package lists... Done

Building dependency tree       
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.
 pgadmin3 : Depends: libwxbase3.0-0 (>= 3.0.2) but 3.0.0-2 is to be installed
            Depends: libwxgtk3.0-0 (>= 3.0.2) but 3.0.0-2 is to be installed
            Recommends: pgagent but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I've googled it, but I didn't find a solution.

muru
  • 197,895
  • 55
  • 485
  • 740

1 Answers1

1

This is what I did to finally install pgadmin3:

First I checked the available version on the repository:

apt-cache policy pgadmin3

Then installed that version (may change in time, use the proper version shown by the previous command):

sudo apt-get install pgadmin3=1.22.2-1 pgadmin-data=1.22.2-1

As Elder Geek points out, you need to enable the universe repository

Paco Abato
  • 111
  • 4