zoukankan      html  css  js  c++  java
  • Ubuntu18.04安装qgis失败

    1.按照官网的流程输入命令https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu

    出现

     1 (base) server123@ubuntu:~$ sudo apt-get install qgis
     2 Reading package lists... Done
     3 Building dependency tree       
     4 Reading state information... Done
     5 Some packages could not be installed. This may mean that you have
     6 requested an impossible situation or if you are using the unstable
     7 distribution that some required packages have not yet been created
     8 or been moved out of Incoming.
     9 The following information may help to resolve the situation:
    10 
    11 The following packages have unmet dependencies:
    12  qgis : Depends: libgdal20 (>= 1.8.0) but it is not going to be installed
    13         Depends: libqgis-3d3.16.3 but it is not going to be installed
    14         Depends: libqgis-analysis3.16.3 but it is not going to be installed
    15         Depends: libqgis-app3.16.3 but it is not going to be installed
    16         Depends: libqgis-core3.16.3 but it is not going to be installed
    17         Depends: libqgis-gui3.16.3 but it is not going to be installed
    18         Depends: python3-qgis (= 1:3.16.3+28bionic) but it is not going to be installed
    19         Depends: qgis-providers (= 1:3.16.3+28bionic) but it is not going to be installed
    20         Recommends: qgis-plugin-grass but it is not going to be installed
    21 E: Unable to correct problems, you have held broken packages.

    2.在网上试了很多办法都不行,崩溃

    3.看到https://qastack.cn/gis/217727/broken-packages-and-unmet-dependency-installation-qgis-postgresql-and-postgis-u

    使用

    1 sudo aptitude install qgis python-qgis qgis-plugin-grass

    先选no,再选yes,成功!

  • 相关阅读:
    js实现图片轮播(修改版1)
    动态添加内容到滚动区域
    新闻自动滚动
    多媒体对象(Media Object)
    (Py练习)判断能被几个9整除
    (Py练习)输出乘法口诀表
    (Py练习)输入某年某月判断天数
    文件名称批量修改
    续订Jetbrain学生包
    (Py练习)判断101-200之间的素数个数并输出
  • 原文地址:https://www.cnblogs.com/zmbreathing/p/14636282.html
Copyright © 2011-2022 走看看