Ad Widget

Collapse

How to Install zabbix-proxy-pgsql without dependencies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vladvvtesla
    Junior Member
    • Jan 2019
    • 9

    #1

    How to Install zabbix-proxy-pgsql without dependencies

    Hello!

    I am trying to install Zabbix-proxy-pgsql on my Ubuntu 18.04 server
    I already have PostgreSQL and some databases.

    # apt install zabbix-proxy-pgsql
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    postgrespro-std-10 postgrespro-std-10-client postgrespro-std-10-contrib
    postgrespro-std-10-dev postgrespro-std-10-libs postgrespro-std-10-plperl
    postgrespro-std-10-plpython postgrespro-std-10-plpython3 postgrespro-std-10-server
    postgresql-client-10 postgresql-client-common
    Suggested packages:
    postgrespro-std-10-docs postgrespro-std-10-docs-ru oidentd | ident-server
    postgresql-10 postgresql-doc-10
    Recommended packages:
    postgresql
    The following NEW packages will be installed:
    postgresql-client-10 postgresql-client-common zabbix-proxy-pgsql
    The following packages will be upgraded:
    postgrespro-std-10 postgrespro-std-10-client postgrespro-std-10-contrib
    postgrespro-std-10-dev postgrespro-std-10-libs postgrespro-std-10-plperl
    postgrespro-std-10-plpython postgrespro-std-10-plpython3 postgrespro-std-10-server
    9 upgraded, 3 newly installed, 0 to remove and 59 not upgraded.
    Need to get 12.5 MB of archives.
    After this operation, 6,950 kB of additional disk space will be used.
    Do you want to continue? [Y/n] n

    # sudo dpkg -s postgrespro-std-10
    Package: postgrespro-std-10
    Status: install ok installed
    Version: 10.11.1-1.bionic

    Why will NEW packages be installed? How can I install zabbix-proxy-pgsql, without installing new packages and upgrading existing packages?

    I'd like to create new zabbix-database. And after that, I'd like just configure zabbix-proxy.conf to set up parameters to connect that newly-created database.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Could you show the output of
    Code:
    apt-cache show postgrespro-std-10 | grep Provides
    and
    Code:
    apt-cache depends zabbix-proxy-pgsql

    Comment

    • vladvvtesla
      Junior Member
      • Jan 2019
      • 9

      #3
      # apt-cache show postgrespro-std-10 | grep Provides
      (Empty output)
      # apt-cache depends zabbix-proxy-pgsql
      zabbix-proxy-pgsql
      Depends: libc6
      Depends: libcurl4
      Depends: libevent-2.1-6
      Depends: libldap-2.4-2
      Depends: libodbc1
      Depends: libopenipmi0
      Depends: libpcre3
      Depends: libpq5
      Depends: libsnmp30
      Depends: libssh2-1
      Depends: libssl1.1
      Depends: libxml2
      Depends: zlib1g
      Depends: fping
      Depends: adduser
      Depends: lsb-base
      Conflicts: zabbix-proxy-mysql
      Conflicts: zabbix-proxy-sqlite3
      Recommends: postgresql
      Suggests: logrotate
      Suggests: postgresql-client
      postgresql-client-10

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        zabbix-proxy-pgsql depends on libpq5, that's the only dependency on postgresql. I have never used postgrespro, not sure how it provides that, sorry.

        Comment

        Working...