问题描述
W: APT had planned for dpkg to do more than it reported back (5 vs 9).
Affected packages: qgis-plugin-grass-common:amd64
解决方法
- 执行:sudo dpkg -l |grep uuid 查看uuid
at@at-PC:~/Desktop/新建文件夹/test$ sudo dpkg -l |grep uuid
ii libuuid1:amd64 2.29.2-1+deb9u1 amd64 Universally Unique ID library
ii libuuid1:i386 2.29.2-1+deb9u1 i386 Universally Unique ID library
- 安装libuuid库
at@at-PC:~/Desktop/新建文件夹/test$ sudo apt-get install uuid-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
grass-core grass-doc javascript-common libboost-chrono1.62.0 libboost-program-options1.62.0 libboost-serialization1.62.0 libboost-test1.62.0 libboost-thread1.62.0 libboost-timer1.62.0
libcgal12 libcoin80v5 libfcgi-bin libfcgi0ldbl libglade2-0 libgraphicsmagick-q16-3 libgsl2 libiso9660-8 libjs-jquery libjs-jquery-ui libjs-leaflet liblas-c3 liblas3 liblwgeom-2.3-0
liblwgeom-dev libopenscenegraph100v5 libopenthreads20 libqca2 libqca2-plugin-ossl libqca2-plugins libqgis-analysis2.14.11 libqgis-app2.14.11 libqgis-core2.14.11 libqgis-customwidgets
libqgis-gui2.14.11 libqgis-networkanalysis2.14.11 libqgis-server2.14.11 libqgisgrass7-2.14.11 libqgispython2.14.11 libqscintilla2-12v5 libqscintilla2-l10n libqtassistantclient4
libqwt6abi1 libsfcgal1 libspatialindex4v5 libvcdinfo0 libwmf0.2-7 libxine2 libxine2-bin libxine2-doc libxine2-ffmpeg libxine2-misc-plugins libxine2-plugins libyaml-0-2 python-chardet
python-cycler python-dateutil python-egenix-mxdatetime python-egenix-mxtools python-functools32 python-glade2 python-httplib2 python-imaging python-jinja2 python-markupsafe
python-matplotlib python-matplotlib-data python-pil python-psycopg2 python-pygments python-pyparsing python-pyspatialite python-qgis python-qgis-common python-qscintilla2 python-qt4
python-qt4-sql python-shapely python-sip python-subprocess32 python-tz python-yaml qt4-designer
使用'sudo apt autoremove'来卸载它(它们)。
下列【新】软件包将被安装:
uuid-dev
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 16 个软件包未被升级。
需要下载 83.9 kB 的归档。
解压缩后会消耗 147 kB 的额外空间。
获取:1 http://packages.deepin.com/deepin lion/main amd64 uuid-dev amd64 2.29.2-1+deb9u1 [83.9 kB]
已下载 83.9 kB,耗时 1秒 (44.4 kB/s)
正在选中未选择的软件包 uuid-dev:amd64。
(正在读取数据库 ... 系统当前共安装有 217667 个文件和目录。)
正准备解包 .../uuid-dev_2.29.2-1+deb9u1_amd64.deb ...
正在解包 uuid-dev:amd64 (2.29.2-1+deb9u1) ...
正在设置 uuid-dev:amd64 (2.29.2-1+deb9u1) ...
正在处理用于 man-db (2.7.6.1-2) 的触发器 ...
- 修复依赖关系
at@at-PC:~/Desktop/新建文件夹/test$ sudo apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
grass-core grass-doc javascript-common libboost-chrono1.62.0 libboost-program-options1.62.0 libboost-serialization1.62.0 libboost-test1.62.0 libboost-thread1.62.0 libboost-timer1.62.0
libcgal12 libcoin80v5 libfcgi-bin libfcgi0ldbl libglade2-0 libgraphicsmagick-q16-3 libgsl2 libiso9660-8 libjs-jquery libjs-jquery-ui libjs-leaflet liblas-c3 liblas3 liblwgeom-2.3-0
liblwgeom-dev libopenscenegraph100v5 libopenthreads20 libqca2 libqca2-plugin-ossl libqca2-plugins libqgis-analysis2.14.11 libqgis-app2.14.11 libqgis-core2.14.11 libqgis-customwidgets
libqgis-gui2.14.11 libqgis-networkanalysis2.14.11 libqgis-server2.14.11 libqgisgrass7-2.14.11 libqgispython2.14.11 libqscintilla2-12v5 libqscintilla2-l10n libqtassistantclient4
libqwt6abi1 libsfcgal1 libspatialindex4v5 libvcdinfo0 libwmf0.2-7 libxine2 libxine2-bin libxine2-doc libxine2-ffmpeg libxine2-misc-plugins libxine2-plugins libyaml-0-2 python-chardet
python-cycler python-dateutil python-egenix-mxdatetime python-egenix-mxtools python-functools32 python-glade2 python-httplib2 python-imaging python-jinja2 python-markupsafe
python-matplotlib python-matplotlib-data python-pil python-psycopg2 python-pygments python-pyparsing python-pyspatialite python-qgis python-qgis-common python-qscintilla2 python-qt4
python-qt4-sql python-shapely python-sip python-subprocess32 python-tz python-yaml qt4-designer
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 16 个软件包未被升级。