【Ubuntu noble】apt 无法安装软件 Unable to locate package vim

宿主机以及 docker 无法定位软件包

将 /etc/apt/sources.list.d/ubuntu.sources 修改为以下内容(主要是 Suites 字段增加了noble noble-updates)

bash 复制代码
Types: deb
URIs: http://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

## Ubuntu security updates. Aside from URIs and Suites,
## this should mirror your choices in the previous section.
Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
相关推荐
五块钱的方便面10 小时前
ubuntu下networkmanager不让管理解决办法
linux·运维·ubuntu
根目录下的猫11 小时前
ArkTS 代码中如何添加作者信息
linux·运维·ubuntu
haermosi11 小时前
Ubuntu 下 Flameshot 截图一直闪屏,已找到问题并解决
linux·ubuntu·gnome·问题排查·flameshot·linux 使用记录
2601_949847751 天前
bcrypt.js 跨端三方库仓颉适配全流程
linux·运维·ubuntu
靳某某。1 天前
Ubuntu安装php8.4 及redis ngin
linux·redis·ubuntu
木泽八1 天前
《Ubuntu系统GRUB引导修复操作记录》
linux·运维·ubuntu
承渊政道1 天前
Linux网络学习【从深入理解网络层原理到IP分片与重组全过程剖析】
linux·计算机网络·ubuntu·ip分片与重组
~城南花已开~1 天前
Redfish 事件接收服务搭建指南(Ubuntu Server 实测)
linux·服务器·python·ubuntu
_小许_1 天前
Linux 常用命令速查:CentOS 与 Ubuntu 双线对照
linux·ubuntu·centos
2601_949847751 天前
io-ts 跨端三方库仓颉适配全流程
linux·运维·ubuntu