0

I am facing problem when I try to install postgres-xc from terminal.

badar:~$ sudo apt-get install postgres-xc

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:
postgres-xc : Depends: postgres-xc-client but it is not going to be installed 
E: Unable to correct problems, you have held broken packages.

badar:~$ sudo apt-get install postgres-xc

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:
postgres-xc : Depends: postgres-xc-client but it is not going to be installed
E: Unable to correct problems, you have held broken package
George Udosen
  • 36,677
  • try this sudo apt-get -f install postgres-xc – George Udosen Dec 23 '16 at 07:33
  • this is the problem now

    W: Duplicate sources.list entry http://archive.getdeb.net/ubuntu/ trusty-getdeb/apps i386 Packages (/var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_trusty getdeb_apps_binary-i386_Packages) W: Duplicate sources.list entry http://download.opensuse.org/repositories/home:/colomboem/xUbun u_14.04/ Packages (/var/lib/apt/lists/download.opensuse.org_repositories_home:_colom oem_xUbuntu%5f14.04_Packages) W: You may want to run apt-get update to correct these problems E: Unable to correct problems, you have held broken packages.

    – badarshahzad Dec 23 '16 at 07:41
  • 1
    please run sudo apt install -f – George Udosen Dec 23 '16 at 07:56
  • 1
    please use your space bar to indent(4) your results to get the same format you see – George Udosen Dec 23 '16 at 07:58

0 Answers0