Thread: postgresql-10-postgis-2.4 massive dependencies

postgresql-10-postgis-2.4 massive dependencies

From
Bob Jolliffe
Date:
When I try to install postgis on ubuntu 16.04 it attempts to draw in a
huge list of dependencies (qt4, x11 libraries, mysql-common etc).  See
below.  It wants to install 245 new packages.

Attempting to get around the problem with --no-install-recommends
doesn't help much.  It still has 219 new dependencies.

This is not usable like this on my server.  Is there any way around
it?  Or something I am doing wrong.

Regards
Bob

> apt install postgresql-10-postgis-2.4

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  fontconfig fontconfig-config fonts-dejavu-core gcc-5-base
ghostscript gsfonts i965-va-driver
  libaacs0 libaec0 libarmadillo6 libarpack2 libasound2 libasound2-data
libass5 libasyncns0
  libaudio2 libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0
  libavcodec-ffmpeg56 libavdevice-ffmpeg56 libavfilter-ffmpeg5
libavformat-ffmpeg56
  libavresample-ffmpeg2 libavutil-ffmpeg54 libbdplus0 libblas-common
libblas3 libbluray1
  libboost-serialization1.58.0 libboost-system1.58.0
libboost-thread1.58.0 libbs2b0 libcaca0
  libcairo2 libcdio-cdda1 libcdio-paranoia1 libcdio13 libcgal11v5
libcoin80v5 libcroco3
  libcrystalhd3 libcups2 libcupsfilters1 libcupsimage2 libdap17v5
libdapclient6v5 libdatrie1
  libdc1394-22 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2
libdrm-radeon1 libepsilon1 libfaad2
  libflac8 libflite1 libfontconfig1 libfreetype6 libfreexl1 libgdal1i
libgdk-pixbuf2.0-0
  libgdk-pixbuf2.0-common libgeos-3.5.0 libgeos-c1v5 libgfortran3
libgif7 libgl1-mesa-dri
  libgl1-mesa-glx libglapi-mesa libgme0 libgomp1
libgraphicsmagick-q16-3 libgraphite2-3 libgs9
  libgs9-common libgsm1 libharfbuzz0b libhdf4-0-alt libhdf5-10 libice6
libiec61883-0 libijs-0.35
  libiso9660-8 libjack-jackd2-0 libjasper1 libjbig0 libjbig2dec0
libjpeg-turbo8 libjpeg8
  libkmlbase1 libkmldom1 libkmlengine1 liblapack3 liblcms2-2 libldb1
libllvm4.0 libltdl7
  liblwgeom-2.4-0 libmad0 libminizip1 libmng2 libmodplug1 libmp3lame0
libmpcdec6 libmysqlclient20
  libnetcdf11 libodbc1 libogdi3.2 libogg0 libopenal-data libopenal1
libopencv-core2.4v5
  libopencv-imgproc2.4v5 libopenjp2-7 libopenjpeg5
libopenscenegraph100v5 libopenthreads20
  libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0
libpangoft2-1.0-0 libpaper-utils
  libpaper1 libpciaccess0 libpixman-1-0 libpoppler-glib8 libpoppler58
libpostproc-ffmpeg53
  libproj9 libprotobuf-c1 libpulse0 libpython-stdlib libpython2.7
libpython2.7-minimal
  libpython2.7-stdlib libqt4-dbus libqt4-declarative libqt4-network
libqt4-opengl libqt4-script
  libqt4-sql libqt4-sql-mysql libqt4-xml libqt4-xmlpatterns libqtcore4
libqtdbus4 libqtgui4
  libquadmath0 libraw1394-11 librsvg2-2 librsvg2-common libsamplerate0
libschroedinger-1.0-0
  libsdl1.2debian libsfcgal1 libshine3 libsm6 libsmbclient
libsnappy1v5 libsndfile1 libsodium18
  libsoxr0 libspatialite7 libspeex1 libssh-gcrypt-4 libstdc++6
libsuperlu4 libswresample-ffmpeg1
  libswscale-ffmpeg3 libsz2 libtalloc2 libtbb2 libtdb1 libtevent0
libthai-data libthai0 libtheora0
  libtiff5 libtwolame0 libtxc-dxtn-s2tc0 liburiparser1 libv4l-0
libv4lconvert0 libva1 libvcdinfo0
  libvorbis0a libvorbisenc2 libvpx3 libwavpack1 libwbclient0 libwebp5
libwmf0.2-7 libx11-xcb1
  libx264-148 libx265-79 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
libxcb-present0 libxcb-render0
  libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxdamage1
libxerces-c3.1 libxfixes3
  libxi6 libxine2 libxine2-bin libxine2-doc libxine2-ffmpeg
libxine2-misc-plugins libxine2-plugins
  libxrender1 libxshmfence1 libxt6 libxv1 libxvidcore4 libxxf86vm1
libzmq5 libzvbi-common libzvbi0
  mesa-va-drivers mysql-common odbcinst odbcinst1debian2 poppler-data
  postgresql-10-postgis-2.4-scripts proj-bin proj-data python
python-minimal python-talloc
  python2.7 python2.7-minimal qdbus qt-at-spi qtchooser qtcore4-l10n
samba-libs va-driver-all
  x11-common
Suggested packages:
  ghostscript-x hpijs libasound2-plugins alsa-utils nas libbluray-bdj
libopenal0a libsimage-dev
  firmware-crystalhd cups-common alsa-base graphicsmagick-dbg
fonts-droid texlive-lang-cjk
  libhdf4-doc libhdf4-alt-dev hdf4-tools libnetcdf4 jackd2
libjasper-runtime liblcms2-utils
  libmyodbc odbc-postgresql tdsodbc unixodbc-bin ogdi-bin
libportaudio2 opus-tools pulseaudio
  libqt4-declarative-folderlistmodel libqt4-declarative-gestures
libqt4-declarative-particles
  libqt4-declarative-shaders qt4-qmlviewer libqt4-dev qt4-qtconfig
libraw1394-doc librsvg2-bin
  speex libwmf0.2-7-gtk gxine xine-ui poppler-utils
fonts-japanese-mincho | fonts-ipafont-mincho
  fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai
fonts-arphic-uming fonts-nanum
  postgis python-doc python-tk python2.7-doc binutils binfmt-support
libfglrx-amdxvba1
The following NEW packages will be installed:
  fontconfig fontconfig-config fonts-dejavu-core ghostscript gsfonts
i965-va-driver libaacs0
  libaec0 libarmadillo6 libarpack2 libasound2 libasound2-data libass5
libasyncns0 libaudio2
  libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0
libavcodec-ffmpeg56
  libavdevice-ffmpeg56 libavfilter-ffmpeg5 libavformat-ffmpeg56
libavresample-ffmpeg2
  libavutil-ffmpeg54 libbdplus0 libblas-common libblas3 libbluray1
libboost-serialization1.58.0
  libboost-system1.58.0 libboost-thread1.58.0 libbs2b0 libcaca0
libcairo2 libcdio-cdda1
  libcdio-paranoia1 libcdio13 libcgal11v5 libcoin80v5 libcroco3
libcrystalhd3 libcups2
  libcupsfilters1 libcupsimage2 libdap17v5 libdapclient6v5 libdatrie1
libdc1394-22 libdrm-amdgpu1
  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libepsilon1 libfaad2
libflac8 libflite1
  libfontconfig1 libfreetype6 libfreexl1 libgdal1i libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-common
  libgeos-3.5.0 libgeos-c1v5 libgfortran3 libgif7 libgl1-mesa-dri
libgl1-mesa-glx libglapi-mesa
  libgme0 libgomp1 libgraphicsmagick-q16-3 libgraphite2-3 libgs9
libgs9-common libgsm1
  libharfbuzz0b libhdf4-0-alt libhdf5-10 libice6 libiec61883-0
libijs-0.35 libiso9660-8
  libjack-jackd2-0 libjasper1 libjbig0 libjbig2dec0 libjpeg-turbo8
libjpeg8 libkmlbase1 libkmldom1
  libkmlengine1 liblapack3 liblcms2-2 libldb1 libllvm4.0 libltdl7
liblwgeom-2.4-0 libmad0
  libminizip1 libmng2 libmodplug1 libmp3lame0 libmpcdec6
libmysqlclient20 libnetcdf11 libodbc1
  libogdi3.2 libogg0 libopenal-data libopenal1 libopencv-core2.4v5
libopencv-imgproc2.4v5
  libopenjp2-7 libopenjpeg5 libopenscenegraph100v5 libopenthreads20
libopus0 liborc-0.4-0
  libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils
libpaper1 libpciaccess0
  libpixman-1-0 libpoppler-glib8 libpoppler58 libpostproc-ffmpeg53
libproj9 libprotobuf-c1
  libpulse0 libpython-stdlib libpython2.7 libpython2.7-minimal
libpython2.7-stdlib libqt4-dbus
  libqt4-declarative libqt4-network libqt4-opengl libqt4-script
libqt4-sql libqt4-sql-mysql
  libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4
libquadmath0 libraw1394-11
  librsvg2-2 librsvg2-common libsamplerate0 libschroedinger-1.0-0
libsdl1.2debian libsfcgal1
  libshine3 libsm6 libsmbclient libsnappy1v5 libsndfile1 libsodium18
libsoxr0 libspatialite7
  libspeex1 libssh-gcrypt-4 libsuperlu4 libswresample-ffmpeg1
libswscale-ffmpeg3 libsz2 libtalloc2
  libtbb2 libtdb1 libtevent0 libthai-data libthai0 libtheora0 libtiff5
libtwolame0
  libtxc-dxtn-s2tc0 liburiparser1 libv4l-0 libv4lconvert0 libva1
libvcdinfo0 libvorbis0a
  libvorbisenc2 libvpx3 libwavpack1 libwbclient0 libwebp5 libwmf0.2-7
libx11-xcb1 libx264-148
  libx265-79 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-render0 libxcb-shape0
  libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxdamage1 libxerces-c3.1
libxfixes3 libxi6 libxine2
  libxine2-bin libxine2-doc libxine2-ffmpeg libxine2-misc-plugins
libxine2-plugins libxrender1
  libxshmfence1 libxt6 libxv1 libxvidcore4 libxxf86vm1 libzmq5
libzvbi-common libzvbi0
  mesa-va-drivers mysql-common odbcinst odbcinst1debian2 poppler-data
postgresql-10-postgis-2.4
  postgresql-10-postgis-2.4-scripts proj-bin proj-data python
python-minimal python-talloc
  python2.7 python2.7-minimal qdbus qt-at-spi qtchooser qtcore4-l10n
samba-libs va-driver-all
  x11-common
The following packages will be upgraded:
  gcc-5-base libstdc++6
2 upgraded, 245 newly installed, 0 to remove and 82 not upgraded.
Need to get 119 MB of archives.
After this operation, 640 MB of additional disk space will be used.
Do you want to continue? [Y/n]