Ubuntu 18.04.5 LTS 解决安装包复杂依赖相关问题解决的主要法则和VIM的安装实录

这篇具有很好参考价值的文章主要介绍了Ubuntu 18.04.5 LTS 解决安装包复杂依赖相关问题解决的主要法则和VIM的安装实录。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

前言:目标和环境

环境:

Ubuntu 18.04.5 LTS@VMware


目标:

安装vim,解决包依赖的冲突:

本文,通过一个很好的实例,诠释了,LINUX系统下,安装一个应用遇到的依赖库问题如何解决的基本方法和思路。同时,用一个实录的实例,展示了三个法则的使用方法,尤其是法则3,一步一步走到很里面,解决了VIM安装的问题,相信对大家会有帮助。


写在前面的结论:

在嵌入式,linux系统中,我们安装一个应用,经常会遇到包依赖的冲突,我们怎么避免?

法则1:

安装任何应用前,不要上来就安装他,记得先系统更新一下,让,所有的之前的库到一个互相兼容的状态:用以下命令:

sudo apt-get update

 遵循这个习惯,大约可以减掉80%你以后要花的时间。

法则2:

能用万能自动依赖差错更新,先用万能依赖查错更新,命令如下:

sudo apt --fix-broken install

这个命令,都不要考虑库,不要输入库,闭眼写,也许就解决了,这可以解决10%你要花费的时间

法则3:

如果,这系统不是你弄的,被别人搞的就不想管了,怎么办?

记住,法则3,看似繁琐,其实是一条亘古不变的可以解决的方法,记住,不要怕繁琐,闭眼,他报了哪个库依赖错误,你就把那个库拎出来,重新安装,那些看似繁琐到天文的LOG恢复,我们稍微用一点法眼,就发现,他其实是告诉你,兄弟,你要整活,那么这里,这里,这里,这里,这里...有问题,他一个一个告诉你,你应该高兴而不是烦躁,把这些冲突的库,都闭眼拿出来重新装,如果装的时候,又提示了下一级的包依赖问题,拿先用法则2,再重新装,记住,先用法则2,再重新装

sudo apt-get install 

install 后面可接很多,很多,

例如:本例

sudo apt-get install libgl1-mesa-dev libgl-dev libgles2-mesa-dev libglu1-mesa-dev libqt5concurrent5 libqt5printsupport5 libqt5sql5 libqt5test5 libqt5xml5 libxext-dev qt5-qmake qtbase5-dev-tools qtchooser libqt5opengl5-dev

最终必定能解决你的包依赖的问题呀,

下面是实例:


问题和解决办法:

因为安装vim之前,先安装了tinyserial和Qt,所以报了库兼容的问题:

问题1:

先运行:

vim xx.c

会提示vim,找不到,然后,提示你:

sudo apt-get install vim

(donkey) donkeybot@ubuntu:~$ vim

Command 'vim' not found, but can be installed with:

sudo apt install vim       
sudo apt install vim-gtk3  
sudo apt install vim-tiny  
sudo apt install neovim    
sudo apt install vim-athena
sudo apt install vim-gtk   
sudo apt install vim-nox  

然后,你运行,报错:

donkey) donkeybot@ubuntu:~$ sudo apt install vim    
[sudo] password for donkeybot: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 tinyserial : Depends: libqt5x11extras5 but it is not going to be installed
              Depends: libqt5x11extras5-dev but it is not going to be installed
 vim : Depends: vim-common (= 2:8.0.1453-1ubuntu1.13) but 2:8.0.1453-1ubuntu1.3 is to be installed
       Depends: vim-runtime (= 2:8.0.1453-1ubuntu1.13) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: tinyserial : Depends: libqt5x11extras5 but it is not going to be installed Depends: libqt5x11extras5-dev but it is not going to be installed vim : Depends: vim-common (= 2:8.0.1453-1ubuntu1.13) but 2:8.0.1453-1ubuntu1.3 is to be installed Depends: vim-runtime (= 2:8.0.1453-1ubuntu1.13) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

(donkey) donkeybot@ubuntu:~$ sudo apt --fix-broken install tinyserial
Reading package lists... Done
Building dependency tree       
Reading state information... Done
tinyserial is already the newest version (1.2).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 tinyserial : Depends: libqt5x11extras5 but it is not going to be installed
              Depends: libqt5x11extras5-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

【分析】

 这里就是Ubuntu系统,认为在:(the tinyserial and vim packages)之间,发现了不匹配的库依赖(unmet dependencies)。提示解决办法,运行,

sudo apt --fix-broken install

做了,如果不行,然后,tinyserial提示,libqt5x11extras5,libqt5x11extras5-dev,依赖不匹配,vim,Depends: vim-common,Depends: vim-runtime不匹配,咋办?

修复步骤1:

sudo apt-get install libqt5x11extras5 libqt5x11extras5-dev

 问题1.1:

Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libqt5x11extras5-dev : Depends: qtbase5-dev but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

 【案,这里又提示,libqt5x11extras5-dev 里面 qtbase5-dev】咋办,这里有问题,那就再重装他别,就是这种重装循环,于是

修复步骤1.1

sudo apt --fix-broken install qtbase5-dev

直接挂fix broken,来重装,结果悲催了,

问题1.1.1

Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: qtbase5-dev : Depends: libgl1-mesa-dev but it is not going to be installed or libgl-dev Depends: libgles2-mesa-dev but it is not going to be installed or libgles2-dev but it is not installable Depends: libglu1-mesa-dev but it is not going to be installed or libglu-dev Depends: libqt5concurrent5 (= 5.9.5+dfsg-0ubuntu2.6) but it is not going to be installed Depends: libqt5printsupport5 (= 5.9.5+dfsg-0ubuntu2.6) but it is not going to be installed Depends: libqt5sql5 (= 5.9.5+dfsg-0ubuntu2.6) but it is not going to be installed Depends: libqt5test5 (= 5.9.5+dfsg-0ubuntu2.6) but it is not going to be installed Depends: libqt5xml5 (= 5.9.5+dfsg-0ubuntu2.6) but it is not going to be installed Depends: libxext-dev but it is not going to be installed Depends: qt5-qmake (= 5.9.5+dfsg-0ubuntu2.6) but it is not going to be installed Depends: qtbase5-dev-tools (= 5.9.5+dfsg-0ubuntu2.6) Depends: qtchooser Recommends: libqt5opengl5-dev (= 5.9.5+dfsg-0ubuntu2.6) but it is not going to be installed tinyserial : Depends: libqt5x11extras5 but it is not going to be installed Depends: libqt5x11extras5-dev but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

【你现在是不是要崩溃了,越高越多,是不是要放弃了】 

 【案,这时候放弃,你就SB了,这其实发现正在问题了,告诉我,qtbase5-dev,的依赖问题,以及发现了是如此,如此,如此的包不对,也就是找到突破点了】

sudo apt-get install libgl1-mesa-dev libgl-dev libgles2-mesa-dev libglu1-mesa-dev libqt5concurrent5 libqt5printsupport5 libqt5sql5 libqt5test5 libqt5xml5 libxext-dev qt5-qmake qtbase5-dev-tools qtchooser libqt5opengl5-dev

不要慌,死皮赖脸,这些库都有问题对吧,那就再来  【全部重新装】 

修复步骤1.1.1

[最烦的是这里对吧,后面告诉你怎么弄】现在UP主很傻白甜的一个一个搞出来,重装

sudo apt-get install libgl1-mesa-dev libgl-dev libgles2-mesa-dev libglu1-mesa-dev libqt5concurrent5 libqt5printsupport5 libqt5sql5 libqt5test5 libqt5xml5 libxext-dev qt5-qmake qtbase5-dev-tools qtchooser libqt5opengl5-dev

然后,得到了

问题,1.1.1.1

Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libgl1-mesa-dev' instead of 'libgl-dev' You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libgl1-mesa-dev : Depends: mesa-common-dev (= 20.0.8-0ubuntu1~18.04.1) but it is not going to be installed Depends: libglvnd-dev but it is not going to be installed Depends: libdrm-dev (>= 2.4.95) but it is not going to be installed Depends: libx11-dev but it is not going to be installed Depends: libx11-xcb-dev but it is not going to be installed Depends: libxcb-dri3-dev but it is not going to be installed Depends: libxcb-present-dev but it is not going to be installed Depends: libxcb-sync-dev but it is not going to be installed Depends: libxshmfence-dev but it is not going to be installed Depends: libxcb-dri2-0-dev but it is not going to be installed Depends: libxcb-glx0-dev but it is not going to be installed Depends: libxdamage-dev but it is not going to be installed Depends: libxfixes-dev but it is not going to be installed Depends: libxxf86vm-dev but it is not going to be installed Depends: x11proto-dev but it is not going to be installed libgles2-mesa-dev : Depends: libegl1-mesa-dev but it is not going to be installed Depends: libglvnd-dev but it is not going to be installed libqt5opengl5-dev : Depends: libqt5opengl5 (= 5.9.5+dfsg-0ubuntu2.6) but it is not going to be installed Depends: qtbase5-dev (= 5.9.5+dfsg-0ubuntu2.6) but it is not going to be installed libxext-dev : Depends: x11proto-core-dev Depends: x11proto-xext-dev (>= 7.0.99.2) Depends: libx11-dev but it is not going to be installed qt5-qmake : Depends: qt5-qmake-bin (= 5.9.5+dfsg-0ubuntu2.6) tinyserial : Depends: libqt5x11extras5 but it is not going to be installed Depends: libqt5x11extras5-dev but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

关键的地方来了哈,UP主本来还想来个循环解决,把这些库都COPY出来,重新装,但是,这么多,,于是,他不是一直提示:

 Try 'apt --fix-broken install' with no packages (or specify a solution).

【为了偷懒】

解决步骤1.1.1.1  

sudo apt --fix-broken install
 

没错,就是这句话,然后,结果是:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles1 libgles2-mesa-dev libglu1-mesa-dev libglvnd-core-dev libglvnd-dev
  libopengl0 libpthread-stubs0-dev libqt5concurrent5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5
  libqt5sql5-sqlite libqt5test5 libqt5x11extras5 libqt5x11extras5-dev libqt5xml5 libwayland-bin libwayland-client0
  libwayland-cursor0 libwayland-dev libwayland-egl1 libwayland-server0 libx11-6 libx11-dev libx11-doc libx11-xcb-dev
  libx11-xcb1 libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev
  libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev
  libxfixes-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev qt5-qmake qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser
  x11proto-core-dev x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev x11proto-xf86vidmode-dev
  xorg-sgml-doctools xtrans-dev
Suggested packages:
  libwayland-doc libxcb-doc libxext-doc default-libmysqlclient-dev firebird-dev libpq-dev libsqlite3-dev unixodbc-dev
The following NEW packages will be installed:
  libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles1 libgles2-mesa-dev libglu1-mesa-dev libglvnd-core-dev libglvnd-dev
  libopengl0 libpthread-stubs0-dev libqt5concurrent5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5
  libqt5sql5-sqlite libqt5test5 libqt5x11extras5 libqt5x11extras5-dev libqt5xml5 libwayland-bin libwayland-dev libx11-dev
  libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev
  libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev
  libxfixes-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev qt5-qmake qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser
  x11proto-core-dev x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev x11proto-xf86vidmode-dev
  xorg-sgml-doctools xtrans-dev
The following packages will be upgraded:
  libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0 libx11-6 libx11-xcb1
6 upgraded, 56 newly installed, 0 to remove and 441 not upgraded.
1 not fully installed or removed.
Need to get 8,255 kB/8,906 kB of archives.
After this operation, 51.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt5x11extras5 amd64 5.9.5-0ubuntu1 [8,596 B]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 xorg-sgml-doctools all 1:1.11-1 [12.9 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-dev all 2018.4-4 [251 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-core-dev all 2018.4-4 [2,620 B]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxau-dev amd64 1:1.0.8-1ubuntu1 [9,476 B]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp-dev amd64 1:1.1.2-3 [25.1 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 xtrans-dev all 1.3.5-1 [70.5 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libpthread-stubs0-dev amd64 0.3-4 [4,068 B]
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1-dev amd64 1.13-2~ubuntu18.04 [80.0 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-dev amd64 2:1.6.4-3ubuntu0.4 [641 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-dev amd64 2.4.101-2~18.04.1 [126 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 mesa-common-dev amd64 20.0.8-0ubuntu1~18.04.1 [741 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglvnd-core-dev amd64 1.0.0-2ubuntu2.3 [12.8 kB]         
Get:14 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgles1 amd64 1.0.0-2ubuntu2.3 [11.2 kB]                  
Get:15 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libopengl0 amd64 1.0.0-2ubuntu2.3 [31.3 kB]                
Get:16 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglvnd-dev amd64 1.0.0-2ubuntu2.3 [3,416 B]              
Get:17 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-xcb-dev amd64 2:1.6.4-3ubuntu0.4 [9,764 B]          
Get:18 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri3-dev amd64 1.13-2~ubuntu18.04 [7,384 B]         
Get:19 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-render0-dev amd64 1.13-2~ubuntu18.04 [18.4 kB]      
Get:20 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-randr0-dev amd64 1.13-2~ubuntu18.04 [20.4 kB]       
Get:21 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-shape0-dev amd64 1.13-2~ubuntu18.04 [7,144 B]       
Get:22 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-xfixes0-dev amd64 1.13-2~ubuntu18.04 [11.7 kB]      
Get:23 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-sync-dev amd64 1.13-2~ubuntu18.04 [10.6 kB]         
Get:24 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-present-dev amd64 1.13-2~ubuntu18.04 [6,972 B]      
Get:25 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxshmfence-dev amd64 1.3-1 [3,692 B]                             
Get:26 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri2-0-dev amd64 1.13-2~ubuntu18.04 [8,472 B]       
Get:27 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-glx0-dev amd64 1.13-2~ubuntu18.04 [27.9 kB]         
Get:28 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-fixes-dev all 1:2018.4-4 [2,620 B]                        
Get:29 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxfixes-dev amd64 1:5.0.3-1 [11.0 kB]                            
Get:30 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-damage-dev all 1:2018.4-4 [2,620 B]                       
Get:31 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxdamage-dev amd64 1:1.1.4-3 [5,028 B]                           
Get:32 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-xext-dev all 2018.4-4 [2,620 B]                           
Get:33 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxext-dev amd64 2:1.3.3-1 [82.1 kB]                              
Get:34 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-xf86vidmode-dev all 2018.4-4 [2,632 B]                    
Get:35 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxxf86vm-dev amd64 1:1.1.4-1 [13.3 kB]                           
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgl1-mesa-dev amd64 20.0.8-0ubuntu1~18.04.1 [6,180 B]    
Get:37 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libwayland-bin amd64 1.16.0-1ubuntu1.1~18.04.4 [19.8 kB]   
Get:38 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libwayland-dev amd64 1.16.0-1ubuntu1.1~18.04.4 [62.8 kB]   
Get:39 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libegl1-mesa-dev amd64 20.0.8-0ubuntu1~18.04.1 [20.5 kB]   
Get:40 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgles2-mesa-dev amd64 20.0.8-0ubuntu1~18.04.1 [45.0 kB]  
Get:41 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libglu1-mesa-dev amd64 9.0.0-2.1build1 [206 kB]                    
Get:42 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5concurrent5 amd64 5.9.5+dfsg-0ubuntu2.6 [29.8 kB]    
Get:43 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5printsupport5 amd64 5.9.5+dfsg-0ubuntu2.6 [178 kB]   
Get:44 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5sql5 amd64 5.9.5+dfsg-0ubuntu2.6 [115 kB]            
Get:45 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5test5 amd64 5.9.5+dfsg-0ubuntu2.6 [98.0 kB]          
Get:46 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5xml5 amd64 5.9.5+dfsg-0ubuntu2.6 [99.4 kB]           
Get:47 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 qt5-qmake-bin amd64 5.9.5+dfsg-0ubuntu2.6 [939 kB]         
Get:48 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 qtchooser amd64 64-ga1b6736-5 [24.1 kB]                            
Get:49 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 qt5-qmake amd64 5.9.5+dfsg-0ubuntu2.6 [180 kB]             
Get:50 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 qtbase5-dev-tools amd64 5.9.5+dfsg-0ubuntu2.6 [724 kB]     
Get:51 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 qtbase5-dev amd64 5.9.5+dfsg-0ubuntu2.6 [942 kB]           
Get:52 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt5x11extras5-dev amd64 5.9.5-0ubuntu1 [7,236 B]            
Get:53 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5opengl5 amd64 5.9.5+dfsg-0ubuntu2.6 [132 kB]         
Get:54 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5opengl5-dev amd64 5.9.5+dfsg-0ubuntu2.6 [36.1 kB]    
Get:55 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5sql5-sqlite amd64 5.9.5+dfsg-0ubuntu2.6 [40.1 kB]    
Get:56 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-doc all 2:1.6.4-3ubuntu0.4 [2,065 kB]               
Fetched 8,255 kB in 29s (289 kB/s)                                                                                              
Extracting templates from packages: 100%
Selecting previously unselected package libqt5x11extras5:amd64.
(Reading database ... 134720 files and directories currently installed.)
Preparing to unpack .../00-libqt5x11extras5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5x11extras5:amd64 (5.9.5-0ubuntu1) ...
Preparing to unpack .../01-libx11-6_2%3a1.6.4-3ubuntu0.4_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.4) over (2:1.6.4-3ubuntu0.2) ...
Selecting previously unselected package xorg-sgml-doctools.
Preparing to unpack .../02-xorg-sgml-doctools_1%3a1.11-1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1) ...
Selecting previously unselected package x11proto-dev.
Preparing to unpack .../03-x11proto-dev_2018.4-4_all.deb ...
Unpacking x11proto-dev (2018.4-4) ...
Selecting previously unselected package x11proto-core-dev.
Preparing to unpack .../04-x11proto-core-dev_2018.4-4_all.deb ...
Unpacking x11proto-core-dev (2018.4-4) ...
Selecting previously unselected package libxau-dev:amd64.
Preparing to unpack .../05-libxau-dev_1%3a1.0.8-1ubuntu1_amd64.deb ...
Unpacking libxau-dev:amd64 (1:1.0.8-1ubuntu1) ...
Selecting previously unselected package libxdmcp-dev:amd64.
Preparing to unpack .../06-libxdmcp-dev_1%3a1.1.2-3_amd64.deb ...
Unpacking libxdmcp-dev:amd64 (1:1.1.2-3) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../07-xtrans-dev_1.3.5-1_all.deb ...
Unpacking xtrans-dev (1.3.5-1) ...
Selecting previously unselected package libpthread-stubs0-dev:amd64.
Preparing to unpack .../08-libpthread-stubs0-dev_0.3-4_amd64.deb ...
Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ...
Selecting previously unselected package libxcb1-dev:amd64.
Preparing to unpack .../09-libxcb1-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb1-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libx11-dev:amd64.
Preparing to unpack .../10-libx11-dev_2%3a1.6.4-3ubuntu0.4_amd64.deb ...
Unpacking libx11-dev:amd64 (2:1.6.4-3ubuntu0.4) ...
Selecting previously unselected package libdrm-dev:amd64.
Preparing to unpack .../11-libdrm-dev_2.4.101-2~18.04.1_amd64.deb ...
Unpacking libdrm-dev:amd64 (2.4.101-2~18.04.1) ...
Selecting previously unselected package mesa-common-dev:amd64.
Preparing to unpack .../12-mesa-common-dev_20.0.8-0ubuntu1~18.04.1_amd64.deb ...
Unpacking mesa-common-dev:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Selecting previously unselected package libglvnd-core-dev:amd64.
Preparing to unpack .../13-libglvnd-core-dev_1.0.0-2ubuntu2.3_amd64.deb ...
Unpacking libglvnd-core-dev:amd64 (1.0.0-2ubuntu2.3) ...
Selecting previously unselected package libgles1:amd64.
Preparing to unpack .../14-libgles1_1.0.0-2ubuntu2.3_amd64.deb ...
Unpacking libgles1:amd64 (1.0.0-2ubuntu2.3) ...
Selecting previously unselected package libopengl0:amd64.
Preparing to unpack .../15-libopengl0_1.0.0-2ubuntu2.3_amd64.deb ...
Unpacking libopengl0:amd64 (1.0.0-2ubuntu2.3) ...
Selecting previously unselected package libglvnd-dev:amd64.
Preparing to unpack .../16-libglvnd-dev_1.0.0-2ubuntu2.3_amd64.deb ...
Unpacking libglvnd-dev:amd64 (1.0.0-2ubuntu2.3) ...
Preparing to unpack .../17-libx11-xcb1_2%3a1.6.4-3ubuntu0.4_amd64.deb ...
Unpacking libx11-xcb1:amd64 (2:1.6.4-3ubuntu0.4) over (2:1.6.4-3ubuntu0.2) ...
Selecting previously unselected package libx11-xcb-dev:amd64.
Preparing to unpack .../18-libx11-xcb-dev_2%3a1.6.4-3ubuntu0.4_amd64.deb ...
Unpacking libx11-xcb-dev:amd64 (2:1.6.4-3ubuntu0.4) ...
Selecting previously unselected package libxcb-dri3-dev:amd64.
Preparing to unpack .../19-libxcb-dri3-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-dri3-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-render0-dev:amd64.
Preparing to unpack .../20-libxcb-render0-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-render0-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-randr0-dev:amd64.
Preparing to unpack .../21-libxcb-randr0-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-randr0-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-shape0-dev:amd64.
Preparing to unpack .../22-libxcb-shape0-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-shape0-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-xfixes0-dev:amd64.
Preparing to unpack .../23-libxcb-xfixes0-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-xfixes0-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-sync-dev:amd64.
Preparing to unpack .../24-libxcb-sync-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-sync-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-present-dev:amd64.
Preparing to unpack .../25-libxcb-present-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-present-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxshmfence-dev:amd64.
Preparing to unpack .../26-libxshmfence-dev_1.3-1_amd64.deb ...
Unpacking libxshmfence-dev:amd64 (1.3-1) ...
Selecting previously unselected package libxcb-dri2-0-dev:amd64.
Preparing to unpack .../27-libxcb-dri2-0-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-dri2-0-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-glx0-dev:amd64.
Preparing to unpack .../28-libxcb-glx0-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-glx0-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package x11proto-fixes-dev.
Preparing to unpack .../29-x11proto-fixes-dev_1%3a2018.4-4_all.deb ...
Unpacking x11proto-fixes-dev (1:2018.4-4) ...
Selecting previously unselected package libxfixes-dev:amd64.
Preparing to unpack .../30-libxfixes-dev_1%3a5.0.3-1_amd64.deb ...
Unpacking libxfixes-dev:amd64 (1:5.0.3-1) ...
Selecting previously unselected package x11proto-damage-dev.
Preparing to unpack .../31-x11proto-damage-dev_1%3a2018.4-4_all.deb ...
Unpacking x11proto-damage-dev (1:2018.4-4) ...
Selecting previously unselected package libxdamage-dev:amd64.
Preparing to unpack .../32-libxdamage-dev_1%3a1.1.4-3_amd64.deb ...
Unpacking libxdamage-dev:amd64 (1:1.1.4-3) ...
Selecting previously unselected package x11proto-xext-dev.
Preparing to unpack .../33-x11proto-xext-dev_2018.4-4_all.deb ...
Unpacking x11proto-xext-dev (2018.4-4) ...
Selecting previously unselected package libxext-dev:amd64.
Preparing to unpack .../34-libxext-dev_2%3a1.3.3-1_amd64.deb ...
Unpacking libxext-dev:amd64 (2:1.3.3-1) ...
Selecting previously unselected package x11proto-xf86vidmode-dev.
Preparing to unpack .../35-x11proto-xf86vidmode-dev_2018.4-4_all.deb ...
Unpacking x11proto-xf86vidmode-dev (2018.4-4) ...
Selecting previously unselected package libxxf86vm-dev:amd64.
Preparing to unpack .../36-libxxf86vm-dev_1%3a1.1.4-1_amd64.deb ...
Unpacking libxxf86vm-dev:amd64 (1:1.1.4-1) ...
Selecting previously unselected package libgl1-mesa-dev:amd64.
Preparing to unpack .../37-libgl1-mesa-dev_20.0.8-0ubuntu1~18.04.1_amd64.deb ...
Unpacking libgl1-mesa-dev:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Preparing to unpack .../38-libwayland-client0_1.16.0-1ubuntu1.1~18.04.4_amd64.deb ...
Unpacking libwayland-client0:amd64 (1.16.0-1ubuntu1.1~18.04.4) over (1.16.0-1ubuntu1.1~18.04.3) ...
Preparing to unpack .../39-libwayland-server0_1.16.0-1ubuntu1.1~18.04.4_amd64.deb ...
Unpacking libwayland-server0:amd64 (1.16.0-1ubuntu1.1~18.04.4) over (1.16.0-1ubuntu1.1~18.04.3) ...
Preparing to unpack .../40-libwayland-cursor0_1.16.0-1ubuntu1.1~18.04.4_amd64.deb ...
Unpacking libwayland-cursor0:amd64 (1.16.0-1ubuntu1.1~18.04.4) over (1.16.0-1ubuntu1.1~18.04.3) ...
Preparing to unpack .../41-libwayland-egl1_1.16.0-1ubuntu1.1~18.04.4_amd64.deb ...
Unpacking libwayland-egl1:amd64 (1.16.0-1ubuntu1.1~18.04.4) over (1.16.0-1ubuntu1.1~18.04.3) ...
Selecting previously unselected package libwayland-bin.
Preparing to unpack .../42-libwayland-bin_1.16.0-1ubuntu1.1~18.04.4_amd64.deb ...
Unpacking libwayland-bin (1.16.0-1ubuntu1.1~18.04.4) ...
Selecting previously unselected package libwayland-dev:amd64.
Preparing to unpack .../43-libwayland-dev_1.16.0-1ubuntu1.1~18.04.4_amd64.deb ...
Unpacking libwayland-dev:amd64 (1.16.0-1ubuntu1.1~18.04.4) ...
Selecting previously unselected package libegl1-mesa-dev:amd64.
Preparing to unpack .../44-libegl1-mesa-dev_20.0.8-0ubuntu1~18.04.1_amd64.deb ...
Unpacking libegl1-mesa-dev:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Selecting previously unselected package libgles2-mesa-dev:amd64.
Preparing to unpack .../45-libgles2-mesa-dev_20.0.8-0ubuntu1~18.04.1_amd64.deb ...
Unpacking libgles2-mesa-dev:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Selecting previously unselected package libglu1-mesa-dev:amd64.
Preparing to unpack .../46-libglu1-mesa-dev_9.0.0-2.1build1_amd64.deb ...
Unpacking libglu1-mesa-dev:amd64 (9.0.0-2.1build1) ...
Selecting previously unselected package libqt5concurrent5:amd64.
Preparing to unpack .../47-libqt5concurrent5_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking libqt5concurrent5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package libqt5printsupport5:amd64.
Preparing to unpack .../48-libqt5printsupport5_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package libqt5sql5:amd64.
Preparing to unpack .../49-libqt5sql5_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking libqt5sql5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package libqt5test5:amd64.
Preparing to unpack .../50-libqt5test5_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking libqt5test5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package libqt5xml5:amd64.
Preparing to unpack .../51-libqt5xml5_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking libqt5xml5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package qt5-qmake-bin.
Preparing to unpack .../52-qt5-qmake-bin_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking qt5-qmake-bin (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package qtchooser.
Preparing to unpack .../53-qtchooser_64-ga1b6736-5_amd64.deb ...
Unpacking qtchooser (64-ga1b6736-5) ...
Selecting previously unselected package qt5-qmake:amd64.
Preparing to unpack .../54-qt5-qmake_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking qt5-qmake:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package qtbase5-dev-tools.
Preparing to unpack .../55-qtbase5-dev-tools_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking qtbase5-dev-tools (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package qtbase5-dev:amd64.
Preparing to unpack .../56-qtbase5-dev_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking qtbase5-dev:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package libqt5x11extras5-dev:amd64.
Preparing to unpack .../57-libqt5x11extras5-dev_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5x11extras5-dev:amd64 (5.9.5-0ubuntu1) ...
Selecting previously unselected package libqt5opengl5:amd64.
Preparing to unpack .../58-libqt5opengl5_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking libqt5opengl5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package libqt5opengl5-dev:amd64.
Preparing to unpack .../59-libqt5opengl5-dev_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking libqt5opengl5-dev:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package libqt5sql5-sqlite:amd64.
Preparing to unpack .../60-libqt5sql5-sqlite_5.9.5+dfsg-0ubuntu2.6_amd64.deb ...
Unpacking libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Selecting previously unselected package libx11-doc.
Preparing to unpack .../61-libx11-doc_2%3a1.6.4-3ubuntu0.4_all.deb ...
Unpacking libx11-doc (2:1.6.4-3ubuntu0.4) ...
Setting up libwayland-bin (1.16.0-1ubuntu1.1~18.04.4) ...
Setting up libopengl0:amd64 (1.0.0-2ubuntu2.3) ...
Setting up libgles1:amd64 (1.0.0-2ubuntu2.3) ...
Setting up libqt5x11extras5:amd64 (5.9.5-0ubuntu1) ...
Setting up qt5-qmake-bin (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libxshmfence-dev:amd64 (1.3-1) ...
Setting up libpthread-stubs0-dev:amd64 (0.3-4) ...
Setting up libdrm-dev:amd64 (2.4.101-2~18.04.1) ...
Setting up xorg-sgml-doctools (1:1.11-1) ...
Setting up libwayland-client0:amd64 (1.16.0-1ubuntu1.1~18.04.4) ...
Setting up qtchooser (64-ga1b6736-5) ...
Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.4) ...
Setting up libqt5test5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libqt5opengl5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up x11proto-dev (2018.4-4) ...
Setting up x11proto-damage-dev (1:2018.4-4) ...
Setting up libx11-xcb1:amd64 (2:1.6.4-3ubuntu0.4) ...
Setting up xtrans-dev (1.3.5-1) ...
Setting up x11proto-xext-dev (2018.4-4) ...
Setting up qt5-qmake:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libxdmcp-dev:amd64 (1:1.1.2-3) ...
Setting up libqt5xml5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libqt5sql5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libx11-doc (2:1.6.4-3ubuntu0.4) ...
Setting up libglvnd-core-dev:amd64 (1.0.0-2ubuntu2.3) ...
Setting up libwayland-cursor0:amd64 (1.16.0-1ubuntu1.1~18.04.4) ...
Setting up libqt5concurrent5:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libwayland-egl1:amd64 (1.16.0-1ubuntu1.1~18.04.4) ...
Setting up libwayland-server0:amd64 (1.16.0-1ubuntu1.1~18.04.4) ...
Setting up qtbase5-dev-tools (5.9.5+dfsg-0ubuntu2.6) ...
Setting up x11proto-core-dev (2018.4-4) ...
Setting up x11proto-fixes-dev (1:2018.4-4) ...
Setting up x11proto-xf86vidmode-dev (2018.4-4) ...
Setting up libxau-dev:amd64 (1:1.0.8-1ubuntu1) ...
Setting up libglvnd-dev:amd64 (1.0.0-2ubuntu2.3) ...
Setting up libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libxcb1-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-glx0-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libx11-dev:amd64 (2:1.6.4-3ubuntu0.4) ...
Setting up libwayland-dev:amd64 (1.16.0-1ubuntu1.1~18.04.4) ...
Setting up libxxf86vm-dev:amd64 (1:1.1.4-1) ...
Setting up libxfixes-dev:amd64 (1:5.0.3-1) ...
Setting up libxcb-sync-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libx11-xcb-dev:amd64 (2:1.6.4-3ubuntu0.4) ...
Setting up mesa-common-dev:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Setting up libxdamage-dev:amd64 (1:1.1.4-3) ...
Setting up libxcb-dri2-0-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-render0-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-dri3-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxext-dev:amd64 (2:1.3.3-1) ...
Setting up libxcb-shape0-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-randr0-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-xfixes0-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-present-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libgl1-mesa-dev:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Setting up libegl1-mesa-dev:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Setting up libglu1-mesa-dev:amd64 (9.0.0-2.1build1) ...
Setting up libgles2-mesa-dev:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Setting up qtbase5-dev:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libqt5opengl5-dev:amd64 (5.9.5+dfsg-0ubuntu2.6) ...
Setting up libqt5x11extras5-dev:amd64 (5.9.5-0ubuntu1) ...
Setting up tinyserial (1.2) ...
Start to install
cp: overwrite '/opt/tinyserial/tinyserial'? Y
old tinyserial has exist.
delete the old tinyserial app.
set QT_PLUGIN_PATH in file .profile
Install ok
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
 

 结果,他从下往上,把之前的那些几十个依赖包的问题全部解决了!!!!!!!,中间问了两次,其中一次,要不要覆盖老的tinyserial,这不就是和vim冲突的东西吗,兴奋啊

更新了这么多库,感觉做一次全按摩,把系统里面全面检测一二:

修复步骤2:

(donkey) donkeybot@ubuntu:/home/TOFPrj$ sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done

顺利啊,

问题1不就是这个冲突吗,那么我是不是可以重装了,一激动,还把vim写出VIM了,报错

问题2

(donkey) donkeybot@ubuntu:/home/TOFPrj$ sudo apt-get install VIM
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package VIM
 

解决步骤3 

换成小写: 

sudo apt-get install vim

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  vim-common vim-runtime vim-tiny
Suggested packages:
  ctags vim-doc vim-scripts indent
The following NEW packages will be installed:
  vim vim-runtime
The following packages will be upgraded:
  vim-common vim-tiny
2 upgraded, 2 newly installed, 0 to remove and 439 not upgraded.
Need to get 6,595 kB/7,147 kB of archives.
After this operation, 32.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 vim-runtime all 2:8.0.1453-1ubuntu1.13 [5,439 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 vim amd64 2:8.0.1453-1ubuntu1.13 [1,156 kB]                 
Fetched 6,595 kB in 16s (422 kB/s)                                                                                              
(Reading database ... 139300 files and directories currently installed.)
Preparing to unpack .../vim-tiny_2%3a8.0.1453-1ubuntu1.13_amd64.deb ...
Unpacking vim-tiny (2:8.0.1453-1ubuntu1.13) over (2:8.0.1453-1ubuntu1.3) ...
Preparing to unpack .../vim-common_2%3a8.0.1453-1ubuntu1.13_all.deb ...
Unpacking vim-common (2:8.0.1453-1ubuntu1.13) over (2:8.0.1453-1ubuntu1.3) ...
Selecting previously unselected package vim-runtime.
Preparing to unpack .../vim-runtime_2%3a8.0.1453-1ubuntu1.13_all.deb ...
Adding 'diversion of /usr/share/vim/vim80/doc/help.txt to /usr/share/vim/vim80/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim80/doc/tags to /usr/share/vim/vim80/doc/tags.vim-tiny by vim-runtime'
Unpacking vim-runtime (2:8.0.1453-1ubuntu1.13) ...
Selecting previously unselected package vim.
Preparing to unpack .../vim_2%3a8.0.1453-1ubuntu1.13_amd64.deb ...
Unpacking vim (2:8.0.1453-1ubuntu1.13) ...
Setting up vim-common (2:8.0.1453-1ubuntu1.13) ...
Setting up vim-runtime (2:8.0.1453-1ubuntu1.13) ...
Setting up vim-tiny (2:8.0.1453-1ubuntu1.13) ...
Setting up vim (2:8.0.1453-1ubuntu1.13) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
 

真正的安装开始了,而且,顺利:

Ubuntu 18.04.5 LTS 解决安装包复杂依赖相关问题解决的主要法则和VIM的安装实录,# Linux,ubuntu,vim,linux文章来源地址https://www.toymoban.com/news/detail-810036.html

到了这里,关于Ubuntu 18.04.5 LTS 解决安装包复杂依赖相关问题解决的主要法则和VIM的安装实录的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • ubuntu 18.04 LTS安装ruby on rails

    由于令人‘烦恼’的网络问题,不用代理来正确安装rails已不可能。我自己配置了一个VirtualBox的ubuntu 18.04 LTS的虚拟机,在其中设置了rails的开发环境,你可以直接在virtualbox中导入它,然后即可拥有rails环境。在百度网盘中下载它,提取码:4zp4。用户名:myubuntu, 密码:123456

    2024年01月20日
    浏览(42)
  • 基于ubuntu18.04.6 LTS服务器安装nvidia驱动

    1对于一个刚刚配置的服务器,首先nvidia-smi,自然无法显示Driver Version、最高cuda版本等信息。 nvidia-smi: command not found 需要我们自己安装nvidia驱动 2禁用老驱动 禁用自带nouveau驱动 sudo vim /etc/modprobe.d/blacklist.conf 打开后在CONF文件中添加: blacklist nouveau 然后更新一下: sudo update-

    2023年04月27日
    浏览(50)
  • [问题解决] ubuntu 18.04 GPU驱动安装

     删除当前显卡驱动[参考] 查看推荐驱动   安装对应驱动 验证安装是否成功:nvidia-smi    

    2024年02月11日
    浏览(99)
  • Ubuntu18.04.6 LTS安装vnc(xfce桌面或GNOME原生桌面),及实现离线Ubuntu服务器安装软件

    VNC(Virtual Network Computing,虚拟网络计算机)是一个跨平台远程连接工具,由ATT实验室于2002年开发的,是一个远程操控计算机的软件,它能够将远程计算机完整的窗口画面通过网络传输到另一台计算机的屏幕上.它和SSH最大的区别是:ssh使用的是字符界面进行远程管理而vnc使用的

    2024年02月07日
    浏览(36)
  • Linux Ubuntu18.04安装显卡驱动后,无法上网的问题解决

    由于跑程序需要,在Ubuntu18.04(双系统)上面安装nvidia显卡驱动, (我安装的是按照这个博客的教程来的:Ubuntu 18.04 安装NVIDIA显卡驱动+cuda 10.2+cudnn_ubuntu18.04安装cuda10.2_翟羽嚄的博客-CSDN博客安装了 nvidia-driver-470.161.03这个版本 ) 之后按照教程进行重启操作,然而重启后发现,

    2024年02月09日
    浏览(72)
  • Ubuntu18.04 离线安装gcc,g++,make依赖包

           因为项目现场的服务器无法连接互联网,只有内网环境,但是需要安装redis和nginx,所以需要安装gcc,g++,make等依赖包。        需要准备一台可以连接互联网的电脑(如:个人电脑上的虚拟机安装一个与服务器一样的系统),用于下载依赖包。之后把通过互联网下载下

    2024年02月12日
    浏览(28)
  • Ubuntu22.04 LTS 显卡相关命令

    一、查看显卡型号 二、查看显卡驱动版本 三、查看CUDA、cuDNN版本 四:详细的NVIDIA显卡信息 命令:nvidia-smi(详细的nvidia显卡信息) 注:显示的CUDA版本跟上述的两种方法不一致 一、卸载显卡驱动 二、卸载CUDA 有的安装目录里面没有上面那个pl文件,可以使用下面的命令进行卸

    2024年02月09日
    浏览(49)
  • ubuntu 18.04 LTS交叉编译opencv 3.4.16并编译工程[全记录]

    参考博文: https://blog.csdn.net/qq_54199287/article/details/133780829?spm=1001.2014.3001.5506 如果遇到安装libjasper-dev错误,可参考博文: https://blog.csdn.net/lyc_daniel/article/details/133439255?spm=1001.2014.3001.5501 https://opencv.org/releases/ 放到home路径下的Exe文件夹(专门放用户安装的软件)中,其中build是后

    2024年02月04日
    浏览(51)
  • 史上最全ubuntu18.04安装教程|搜狗输入法配置教程|网络配置|相关命令配置

    获取这里给大家推荐一个CSDN最新出的工具, 猿如意 如下: 在猿如意搜索框 找到 ubuntu18.04 点击下载 ,2G需要稍等片刻,十分钟后。。。 文件下载成功 点击文件复制到合适的位置 由于下载的是镜像文件,所有需要一些小工序,下面一起看: 这里主要介绍的是ubuntu的安装,所

    2023年04月26日
    浏览(105)
  • Ubuntu16.04升级到18.04--检查更新时出现问题--解决方法

    一开始装Ubuntu时装的是16.04,后来装cuda时,发现核是4.15的,需要升级到18.04,于是输入 sudo do-release-upgrade 更新时,发现错误: google后发现帖子: https://askubuntu.com/questions/1127896/failed-upgrade-from-17-10-to-18-04-no-module-named-distupgrade-distupgradever 想到先前曾经装过python3.7,代替了原装的

    2024年02月01日
    浏览(44)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包