小问题集锦(持续更新)

问题1:火狐不能抓127.0.0.1问题

火狐浏览页中输入about:config,打开配置页;
在配置页的搜索栏中搜索network.proxy.allow_hijacking_localhost,
找到该配置项,双击设置为true即可。

问题2:ubuntu安装docker报错

最好的解决方法就是,安装好ubuntu之后,首先安装docker,如遇到以下问题:

1
2
vim : Depends: vim-common (= 2:8.0.1453-1ubuntu1.4) but 2:8.0.1766-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

解决方案即安装对应安装包即可

1
sudo apt install vim-common=2:8.0.1453-1ubuntu1.4

问题3:

报错信息如下:

1
2
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

解决方案:

1
sudo rm /var/lib/dpkg/lock