【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
相关推荐
行走的bug...6 小时前
与Ubuntu相关命令
linux·运维·ubuntu
一眼青苔15 小时前
局域网内,将linux(Ubuntu)的硬盘映射成Windows上,像本地磁盘一样使用
linux·windows·ubuntu
rosemary51216 小时前
Ubuntu 22.04安装IGH
linux·ubuntu·ethercat
Hi-Dison18 小时前
Ubuntu与OpenHarmony OS 5.0显示系统架构比较
linux·ubuntu·系统架构
YuSun_WK21 小时前
Ubuntu与Linux的关系
linux·运维·ubuntu
五号厂房1 天前
Ubuntu开机时进入initramfs应对方法(亲测有效!!!)
ubuntu
牛角上的男孩1 天前
ubuntu-24.04.2-live-server-arm64基于cloud-init实现分区自动扩容(LVM分区模式)
linux·运维·ubuntu
Carlos_Xu1 天前
Vim概述
运维·云计算·vim
Anarkh_Lee1 天前
在 Ubuntu 上离线安装 OpenJDK 11 并设置为默认版本
java·linux·ubuntu
Anarkh_Lee1 天前
在离线 Ubuntu 环境下部署双 Neo4j 实例(Prod & Dev)
数据库·人工智能·ubuntu