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) ...
 

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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/303648.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

单片机原理及应用:中断系统结构与控制寄存器

大家好啊,这几天因为考试断更了一段时间,现在放假了也可以恢复正常的更新速度了。今天我们来认识一下单片机的中断系统,这里可以说是我们学习单片机以来第一个核心功能,我们会分几期内容来深入了解中断系统的作用原理和应用方式。…

【K8S 云原生】Kurbernets集群的调度策略

目录 一、Kubernetes的list-watch机制 1、List-watch 2、创建pod的过程: 二、scheduler调度的过程和策略: 1、简介 2、预算策略:predicate 3、优先策略: 3.1、leastrequestedpriority: 3.2、balanceresourceal…

linux 系统安全及应用

一、账号安全基本措施 1.系统账号清理 1.将用户设置为无法登录 /sbin/nologin shell——/sbin/nologin却比较特殊,所谓“无法登陆”指的仅是这个用户无法使用bash或其他shell来登陆系统而已,并不是说这个账号就无法使用系统资源。举例来说,…

MySQL语法练习-DML语法练习

文章目录 0、相关文章1、添加数据2、修改数据3、删除数据4、总结 0、相关文章 《MySQL练习-DDL语法练习》 1、添加数据 # 给指定字段添加数据 insert into 表名 (字段名1,字段名2,...) values(值1,值2...);# 给全部字段添加数据 insert into 表名 values(值1,值2,...);#批量…

Mac robotframework+pycharm运行suite报错情况:ImportError: No module named request

报错实例: 当前Preferences–>Tool–>External Tools Suite配置,显示使用的python为2.7版本,robotframework安装在当前版本的python中: 但是我pycharm现在的环境配置的python为3.11,当前使用的RF与当前使用的py…

5.2 Android BCC环境搭建(adeb版,下)更新中

五&#xff0c;运行adeb shell adeb shell 六&#xff0c;其他指令 6.1 从开发机移除adeb adeb remove 6.2 更新开发机adeb deb git-pull 6.3 使用ssh替代adeb进行与android设备的通信 adeb --ssh <uri> --sshpass <pass> <cmd> 七&#xff0c;BCC配置…

1-05使用VS调式程序

一、概述 写代码总不是一帆风顺的&#xff0c;总会碰到一些问题&#xff0c;检查问题&#xff0c;排除错误&#xff08;也就是Debug程序&#xff09;&#xff0c;对于任何程序员而言都是基本功。 我们前面讲过&#xff0c;C语言是一门很容易出错&#xff0c;且自身不提供异常…

excel统计分析——LSD多重比较

参考资料&#xff1a;生物统计学 一篇教你搞定显著性差异分析abcd字母标记法 LSD&#xff08;least significant difference&#xff0c;最小显著差数法&#xff09;是R. A. Fisher提出的&#xff0c;又称为Fisher LSD检验法&#xff0c;是最早用于检验各组均数间两两差异的方…

软件工程概论---内聚性和耦合性

目录 一.耦合性 1.内容耦合 2.公共耦合 4.控制耦合 5.标记耦合&#xff08;特征耦合&#xff09; 6.数据耦合 7.非直接耦合 二.内聚性 1.偶然内聚 2.逻辑内聚 3.时间内聚 4.过程内聚 5.通信内聚 6.顺序内聚 7.功能内聚 一.耦合性 耦合性是指软件结构中模块相互…

java常用应用程序编程接口(API)——String概述及使用案例

前言&#xff1a; 开始学到api的String&#xff0c;整理下心得。打好基础&#xff0c;daydayup! API&#xff1a; API是什么&#xff1f; API&#xff08;Application Programming Interface&#xff09;又名应用程序编程接口。是别人编好的程序的合集。 为什么要使用API&…

YOLOv5改进 | 2023Neck篇 | 利用Gold-YOLO针对小目标进行检测(附完整修改教程 + 代码)

一、本文介绍 本文给大家带来的改进机制是Gold-YOLO利用其Neck改进v8的Neck,GoLd-YOLO引入了一种新的机制——信息聚集-分发(Gather-and-Distribute, GD)。这个机制通过全局融合不同层次的特征并将融合后的全局信息注入到各个层级中,从而实现更高效的信息交互和融合。这种…

关于订单超时后用户却已支付的解决方案

场景: 一般我们下的一些订单&#xff0c;比如电商平台、外卖平台的都是有超时时间的&#xff0c;默认一般15或者30分钟&#xff0c;那么超时未支付订单会被自动取消&#xff0c;那么如果刚好有人在关闭订单的时候去支付成功了&#xff0c;或者说支付平台延迟了一下&#xff0c;…

开启Android学习之旅-5-Activity全屏

Android 两种方式设置全屏&#xff1a; 1. 第一行代码中的方法 通过 getWindow().getDecorView()方法拿到当前Activity的DecorView,再调用 setSystemUiVisibility() 方法来改变系统UI的显示&#xff0c;这里传入了 View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN 和 View.SYSTEM_UI_…

【EAI 005】EmbodiedGPT:通过具身思维链进行视觉语言预训练的具身智能大模型

论文描述&#xff1a;EmbodiedGPT: Vision-Language Pre-Training via Embodied Chain of Thought 论文作者&#xff1a;Yao Mu, Qinglong Zhang, Mengkang Hu, Wenhai Wang, Mingyu Ding, Jun Jin, Bin Wang, Jifeng Dai, Yu Qiao, Ping Luo 作者单位&#xff1a;The Universi…

vue3 封裝一个常用固定按钮组件(添加、上传、下载、删除)

效果图 这个组件只有四个按钮&#xff0c;添加&#xff0c;上传、下载、删除&#xff0c;其中删除按钮的颜色默认是灰色&#xff0c;当表格有数据选中时再变成红色 实现 组件代码 <script lang"ts" setup> import { Icon } from /components/Icon/index im…

PCL 格网法计算点云的占地面积

目录 一、算法原理二、代码实现三、结果展示四、测试数据本文由CSDN点云侠原创,原文链接。如果你不是在点云侠的博客中看到该文章,那么此处便是不要脸的爬虫与GPT生成的文章。 一、算法原理 该方法主要用于粗略统计机载点云的占地面积。方法原理是将点云沿 X O Y XOY

Rust 常用集合(上)

目录 1、使用 Vector 储存列表 1.1 新建 vector 1.2 更新 vector 1.3 读取 vector 的元素 1.4 遍历 vector 中的元素 1.5 使用枚举来储存多种类型 1.6 丢弃 vector 时也会丢弃其所有元素 2、使用字符串储存 UTF-8 编码的文本 2.1 什么是字符串&#xff1f; 2.2 新建字…

tiktok云手机有用吗?用哪个好?

很多做独立站的跨境卖家都会搭配一些社媒平台给自己引流带货&#xff0c;比如说目前很火的TikTok&#xff0c;这也是目前比较有效的一种引流方式。本文将介绍tiktok运营方法以及如何用tiktok云手机规避运营风险。 TikTok是个不错的风口&#xff0c;不过我们在国内想要运营好Tik…

如何在CentOS安装SQL Server数据库并通过内网穿透工具实现公网访问

文章目录 前言1. 安装sql server2. 局域网测试连接3. 安装cpolar内网穿透4. 将sqlserver映射到公网5. 公网远程连接6.固定连接公网地址7.使用固定公网地址连接 前言 简单几步实现在Linux centos环境下安装部署sql server数据库&#xff0c;并结合cpolar内网穿透工具&#xff0…

第19课 在Android环境中使用FFmpeg和openCV进行开发的一般步骤

在上节课&#xff0c;根据模板文件我们对在Android环境中使用FFmpeg和openCV进行开发有了一个初步的体验&#xff0c;这节课&#xff0c;我们来具体看一下其工作流程。 1.程序的入口 与VS2013程序开发类似&#xff0c;Android程序开发也有一个入口&#xff0c;在这个模板中&a…