您现在的位置是:首页 > 短信大全

ubuntu20.04“E: 软件包 vim 没有可安装候选”“/etc/apt/sources.list:7 中被配置了多次”解决方法

作者:峨乐时间:2024-05-04 09:15:30分类:短信大全

简介  文章浏览阅读1.3k次,点赞8次,收藏10次。ubuntu20.04安装vim时提示“E: 软件包 vim 没有可安装候选”和“W: 目标 Sources (main/source/Sources) 在 /etc/apt/sources.list:2 和 /e

点击全文阅读

问题一:ubuntu20.04安装vim时提示“E: 软件包 vim 没有可安装候选”
**解决:**更换下载,比如我原先使用的是清华源,后切换成阿里云源,ubuntu直接在“软件和更新”切换
在这里插入图片描述
在这里插入图片描述
问题一解决。

问题二:ubuntu20.04提示“W: 目标 Sources (main/source/Sources) 在 /etc/apt/sources.list:2 和 /etc/apt/sources.list:7 中被配置了多次”
**解决:**直接更新下载源:sudo apt upgrade

问题二解决。

运行log:

h@h-virtual-machine:~/work$ sudo apt install vim[sudo] h 的密码: 正在读取软件包列表... 完成正在分析软件包的依赖关系树       正在读取状态信息... 完成       没有可用的软件包 vim,但是它被其它的软件包引用了。这可能意味着这个缺失的软件包可能已被废弃,或者只能在其他发布源中找到W: 目标 Sources (main/source/Sources) 在 /etc/apt/sources.list:2 和 /etc/apt/sources.list:7 中被配置了多次E: 软件包 vim 没有可安装候选h@h-virtual-machine:~/work$ sudo apt update获取:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal InRelease [265 kB]获取:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates InRelease [114 kB]获取:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports InRelease [108 kB]获取:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security InRelease [114 kB]获取:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main Sources [847 kB]获取:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe Sources [9,707 kB]获取:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted Sources [6,472 B]获取:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse Sources [174 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages [970 kB]忽略:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages获取:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages [718 kB]获取:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages [718 kB]获取:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages [718 kB]获取:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages [718 kB]获取:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages [718 kB]获取:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages [718 kB]忽略:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages忽略:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted i386 Packages忽略:46 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted amd64 Packages忽略:47 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe i386 Packages忽略:48 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe amd64 Packages忽略:49 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse amd64 Packages获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]获取:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages [74.7 kB]忽略:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages忽略:67 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main amd64 Packages忽略:68 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main i386 Packages忽略:69 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted amd64 Packages获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]获取:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages [37.3 kB]忽略:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages获取:85 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe i386 Packages [776 kB]获取:85 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe i386 Packages [776 kB]忽略:85 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe i386 Packages获取:88 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe amd64 Packages [1,170 kB]获取:88 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe amd64 Packages [1,170 kB]忽略:88 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe amd64 Packages获取:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages [26.1 kB]获取:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages [26.1 kB]获取:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages [26.1 kB]获取:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages [26.1 kB]获取:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages [26.1 kB]获取:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages [26.1 kB]忽略:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages忽略:98 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse i386 Packages忽略:99 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main i386 Packages忽略:100 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main amd64 Packages获取:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages [25.0 kB]获取:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages [25.0 kB]获取:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages [25.0 kB]获取:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages [25.0 kB]获取:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages [25.0 kB]获取:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages [25.0 kB]获取:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages [25.0 kB]获取:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages [25.0 kB]忽略:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages忽略:110 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe i386 Packages忽略:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages忽略:111 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main i386 Packages忽略:112 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main amd64 Packages忽略:113 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted amd64 Packages获取:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages [36.0 kB]获取:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages [36.0 kB]获取:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages [36.0 kB]获取:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages [36.0 kB]获取:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages [36.0 kB]获取:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages [36.0 kB]忽略:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages忽略:121 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe amd64 Packages忽略:122 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe i386 Packages忽略:123 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse amd64 Packages忽略:124 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse i386 Packages忽略:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages忽略:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted i386 Packages忽略:46 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted amd64 Packages忽略:47 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe i386 Packages忽略:48 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe amd64 Packages忽略:49 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse amd64 Packages忽略:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages忽略:67 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main amd64 Packages忽略:68 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main i386 Packages忽略:69 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted amd64 Packages忽略:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages忽略:85 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe i386 Packages忽略:88 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe amd64 Packages忽略:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages忽略:98 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse i386 Packages忽略:99 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main i386 Packages忽略:100 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main amd64 Packages忽略:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages忽略:110 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe i386 Packages忽略:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages忽略:111 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main i386 Packages忽略:112 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main amd64 Packages忽略:113 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted amd64 Packages忽略:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages忽略:121 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe amd64 Packages忽略:122 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe i386 Packages忽略:123 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse amd64 Packages忽略:124 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse i386 Packages忽略:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages忽略:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted i386 Packages忽略:46 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted amd64 Packages忽略:47 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe i386 Packages忽略:48 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe amd64 Packages忽略:49 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse amd64 Packages忽略:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages忽略:67 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main amd64 Packages忽略:68 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main i386 Packages忽略:69 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted amd64 Packages忽略:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages忽略:85 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe i386 Packages忽略:88 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe amd64 Packages忽略:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages忽略:98 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse i386 Packages忽略:99 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main i386 Packages忽略:100 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main amd64 Packages忽略:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages忽略:110 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe i386 Packages忽略:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages忽略:111 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main i386 Packages忽略:112 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main amd64 Packages忽略:113 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted amd64 Packages忽略:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages忽略:121 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe amd64 Packages忽略:122 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe i386 Packages忽略:123 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse amd64 Packages忽略:124 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse i386 Packages忽略:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages忽略:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted i386 Packages忽略:46 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted amd64 Packages忽略:47 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe i386 Packages忽略:48 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe amd64 Packages忽略:49 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse amd64 Packages忽略:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages忽略:67 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main amd64 Packages忽略:68 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main i386 Packages忽略:69 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted amd64 Packages忽略:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages忽略:85 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe i386 Packages忽略:88 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe amd64 Packages忽略:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages忽略:98 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse i386 Packages忽略:99 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main i386 Packages忽略:100 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main amd64 Packages忽略:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages忽略:110 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe i386 Packages忽略:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages忽略:111 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main i386 Packages忽略:112 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main amd64 Packages忽略:113 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted amd64 Packages忽略:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages忽略:121 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe amd64 Packages忽略:122 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe i386 Packages忽略:123 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse amd64 Packages忽略:124 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse i386 Packages忽略:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages忽略:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted i386 Packages忽略:46 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted amd64 Packages忽略:47 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe i386 Packages忽略:48 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/universe amd64 Packages忽略:49 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse amd64 Packages忽略:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/multiverse i386 Packages忽略:67 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main amd64 Packages忽略:68 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main i386 Packages忽略:69 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted amd64 Packages忽略:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages忽略:85 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe i386 Packages忽略:88 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe amd64 Packages忽略:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages忽略:98 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse i386 Packages忽略:99 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main i386 Packages忽略:100 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main amd64 Packages忽略:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages忽略:110 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe i386 Packages错误:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main amd64 Packages  404  Not Found [IP: 101.6.15.130 443]忽略:111 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main i386 Packages忽略:112 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main amd64 Packages忽略:113 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted amd64 Packages忽略:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages忽略:121 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe amd64 Packages忽略:122 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe i386 Packages忽略:123 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse amd64 Packages忽略:124 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse i386 Packages忽略:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/main i386 Packages忽略:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal/restricted i386 Packages错误:67 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main amd64 Packages  404  Not Found [IP: 101.6.15.130 443]忽略:68 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/main i386 Packages忽略:69 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted amd64 Packages忽略:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/restricted i386 Packages忽略:85 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe i386 Packages忽略:88 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/universe amd64 Packages忽略:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse amd64 Packages忽略:98 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates/multiverse i386 Packages错误:99 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main i386 Packages  404  Not Found [IP: 101.6.15.130 443]忽略:100 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/main amd64 Packages忽略:101 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe amd64 Packages忽略:110 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports/universe i386 Packages错误:111 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main i386 Packages  404  Not Found [IP: 101.6.15.130 443]忽略:112 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/main amd64 Packages忽略:113 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted amd64 Packages忽略:114 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/restricted i386 Packages忽略:121 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe amd64 Packages忽略:122 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/universe i386 Packages忽略:123 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse amd64 Packages忽略:124 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security/multiverse i386 Packages正在读取软件包列表... 完成                              W: 目标 Sources (main/source/Sources) 在 /etc/apt/sources.list:2 和 /etc/apt/sources.list:7 中被配置了多次E: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal/main/binary-amd64/Packages  404  Not Found [IP: 101.6.15.130 443]E: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal-updates/main/binary-amd64/Packages  404  Not Found [IP: 101.6.15.130 443]E: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal-backports/main/binary-i386/Packages  404  Not Found [IP: 101.6.15.130 443]E: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal-security/main/binary-i386/Packages  404  Not Found [IP: 101.6.15.130 443]E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。W: 目标 Sources (main/source/Sources) 在 /etc/apt/sources.list:2 和 /etc/apt/sources.list:7 中被配置了多次h@h-virtual-machine:~/work$ sudo apt upgradE: 无效的操作 upgradh@h-virtual-machine:~/work$ sudo apt upgrade正在读取软件包列表... 完成正在分析软件包的依赖关系树       正在读取状态信息... 完成       正在计算更新... 完成升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。h@h-virtual-machine:~/work$ sudo apt install vim正在读取软件包列表... 完成正在分析软件包的依赖关系树       正在读取状态信息... 完成       没有可用的软件包 vim,但是它被其它的软件包引用了。这可能意味着这个缺失的软件包可能已被废弃,或者只能在其他发布源中找到E: 软件包 vim 没有可安装候选h@h-virtual-machine:~/work$ sudo apt install vim正在读取软件包列表... 完成正在分析软件包的依赖关系树       正在读取状态信息... 完成       将会同时安装下列软件:  vim-common vim-runtime vim-tiny建议安装:  ctags vim-doc vim-scripts indent下列【新】软件包将被安装:  vim vim-runtime下列软件包将被升级:  vim-common vim-tiny升级了 2 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 286 个软件包未被升级。需要下载 7,121 kB/7,791 kB 的归档。解压缩后会消耗 34.6 MB 的额外空间。您希望继续执行吗? [Y/n] y获取:1 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 vim-runtime all 2:8.1.2269-1ubuntu5.21 [5,878 kB]获取:2 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 vim amd64 2:8.1.2269-1ubuntu5.21 [1,243 kB]已下载 7,121 kB,耗时 1秒 (5,337 kB/s)(正在读取数据库 ... 系统当前共安装有 183746 个文件和目录。)准备解压 .../vim-tiny_2%3a8.1.2269-1ubuntu5.21_amd64.deb  ...正在解压 vim-tiny (2:8.1.2269-1ubuntu5.21) 并覆盖 (2:8.1.2269-1ubuntu5.11) ...准备解压 .../vim-common_2%3a8.1.2269-1ubuntu5.21_all.deb  ...正在解压 vim-common (2:8.1.2269-1ubuntu5.21) 并覆盖 (2:8.1.2269-1ubuntu5.11) ...正在选中未选择的软件包 vim-runtime。准备解压 .../vim-runtime_2%3a8.1.2269-1ubuntu5.21_all.deb  ...正在添加 通过 vim-runtime 从 /usr/share/vim/vim81/doc/help.txt 到 /usr/share/vim/vim81/doc/help.txt.vim-tiny 的转移正在添加 通过 vim-runtime 从 /usr/share/vim/vim81/doc/tags 到 /usr/share/vim/vim81/doc/tags.vim-tiny 的转移正在解压 vim-runtime (2:8.1.2269-1ubuntu5.21) ...正在选中未选择的软件包 vim。准备解压 .../vim_2%3a8.1.2269-1ubuntu5.21_amd64.deb  ...正在解压 vim (2:8.1.2269-1ubuntu5.21) ...正在设置 vim-common (2:8.1.2269-1ubuntu5.21) ...正在设置 vim-runtime (2:8.1.2269-1ubuntu5.21) ...正在设置 vim (2:8.1.2269-1ubuntu5.21) ...update-alternatives: 使用 /usr/bin/vim.basic 来在自动模式中提供 /usr/bin/vim (vim)update-alternatives: 使用 /usr/bin/vim.basic 来在自动模式中提供 /usr/bin/vimdiff (vimdiff)update-alternatives: 使用 /usr/bin/vim.basic 来在自动模式中提供 /usr/bin/rvim (rvim)update-alternatives: 使用 /usr/bin/vim.basic 来在自动模式中提供 /usr/bin/rview (rview)update-alternatives: 使用 /usr/bin/vim.basic 来在自动模式中提供 /usr/bin/vi (vi)update-alternatives: 使用 /usr/bin/vim.basic 来在自动模式中提供 /usr/bin/view (view)update-alternatives: 使用 /usr/bin/vim.basic 来在自动模式中提供 /usr/bin/ex (ex)正在设置 vim-tiny (2:8.1.2269-1ubuntu5.21) ...正在处理用于 desktop-file-utils (0.24-1ubuntu3) 的触发器 ...正在处理用于 mime-support (3.64ubuntu1) 的触发器 ...正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...正在处理用于 gnome-menus (3.36.0-1ubuntu1) 的触发器 ...正在处理用于 man-db (2.9.1-1) 的触发器 ...

点击全文阅读

郑重声明:

本站所有活动均为互联网所得,如有侵权请联系本站删除处理

我来说两句