Debian 安装 PostGIS 扩展正在安装 X 个包

Debian 安装 PostGIS 扩展正在安装 X 个包

我正在尝试在运行 Stretch 的 Debian 服务器上安装 PostGIS。我毫无问题地在其上安装了 PostgreSQL,但是当我尝试安装软件包时postgresql-9.6-postgis-2.3,最新的可用软件包 apt-get 会尝试安装大量 X 和不相关的软件包:

sudo apt install --no-install-recommends postgresql-9.6-postgis-2.3
Reading package lists... Done                                                                                                
Building dependency tree                                                                                                     
Reading state information... Done                                                                                            
The following additional packages will be installed:                                                                         
  fontconfig libasound2 libasound2-data libass5 libasyncns0 libaudio2 libavahi-client3 libavahi-common-data                  
  libavahi-common3 libavc1394-0 libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3 libavutil55 libbluray1  
  libboost-chrono1.62.0 libboost-date-time1.62.0 libboost-filesystem1.62.0 libboost-program-options1.62.0                    
  libboost-serialization1.62.0 libboost-system1.62.0 libboost-test1.62.0 libboost-thread1.62.0 libboost-timer1.62.0          
  libbs2b0 libcaca0 libcairo2 libcdio-cdda1 libcdio-paranoia1 libcdio13 libcgal12 libchromaprint1 libcoin80v5 libcroco3      
  libcrystalhd3 libcups2 libdatrie1 libdbus-1-3 libdc1394-22 libdrm2 libebur128-1 libegl1-mesa libfaad2 libfftw3-double3     
  libflac8 libflite1 libfribidi0 libgbm1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-glx libglapi-mesa            
  libglib2.0-0 libgme0 libgraphicsmagick-q16-3 libgraphite2-3 libgsm1 libharfbuzz0b libice6 libiec61883-0 libiso9660-8       
  libjack-jackd2-0 libldb1 liblwgeom-2.3-0 libmad0 libmng1 libmodplug1 libmp3lame0 libmpcdec6 libmpg123-0 libnuma1 libogg0   
  libopenal-data libopenal1 libopencv-core2.4v5 libopencv-imgproc2.4v5 libopenmpt0 libopenscenegraph100v5 libopenthreads20   
  libopus0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpgm-5.2-0 libpixman-1-0 libpoppler-glib8 libpostproc54    
  libpulse0 libpython2.7 libqt4-opengl libqtcore4 libqtgui4 libraw1394-11 librsvg2-2 librubberband2 libsamplerate0           
  libsdl2-2.0-0 libsfcgal1 libshine3 libsm6 libsmbclient libsnappy1v5 libsndfile1 libsndio6.1 libsodium18 libsoxr0           
  libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtalloc2 libtbb2 libtdb1 libtevent0 libthai-data libthai0           
  libtheora0 libtwolame0 libusb-1.0-0 libv4l-0 libv4lconvert0 libva-drm1 libva-x11-1 libva1 libvcdinfo0 libvdpau1            
  libvorbis0a libvorbisenc2 libvorbisfile3 libvpx4 libwavpack1 libwayland-client0 libwayland-cursor0 libwayland-egl1-mesa    
  libwayland-server0 libwbclient0 libwebpmux2 libwmf0.2-7 libx11-6 libx11-data libx11-xcb1 libx264-148 libx265-95 libxau6    
  libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1              
  libxcb-xfixes0 libxcb1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxine2 libxine2-bin libxine2-ffmpeg  
  libxine2-misc-plugins libxine2-plugins libxinerama1 libxkbcommon0 libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6      
  libxtst6 libxv1 libxvidcore4 libxxf86vm1 libzmq5 libzvbi-common libzvbi0 python-talloc qtcore4-l10n samba-libs             
  shared-mime-info x11-common xkb-data

知道这是怎么回事吗?我不想在我的服务器上安装任何与 X 相关的软件包,而且我试图避免手动编译。

答案1

libsfcgal1安装之前,先从 stretch-backports安装包postgresql-9.6-postgis-2.3


罪魁祸首包是libsfcgal1,它依赖于libopenscenegraph100v5

依赖链的相关部分是:

  • postgresql-9.6-postgis-2.3依赖于取决于
  • libsfcgal1这取决于
  • libopenscenegraph100v5这取决于
  • libav*包裹,libqt*包裹,libxine2等等。

以下是相应的错误报告:https://github.com/Oslandia/SFCGAL/issues/136

相关内容