【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
相关推荐
烂蜻蜓7 小时前
Node.js入门教程(二十三):全局对象
node.js·编辑器·vim
静止了 所有的花开14 小时前
Ubuntu 26.04 静态 IP 配置不生效解决方法
linux·ubuntu·静态ip
桑榆4161 天前
双系统(Windows + Ubuntu)安装流程
linux·windows·ubuntu
琥珀色糖1 天前
Linux Vim的使用
linux·运维·服务器·vim·vim使用
sunly_1 天前
TypeScript:3、类型声明与类型推断
javascript·ubuntu·typescript
wengqidaifeng1 天前
1.从“会敲命令”到理解 Linux:15 个基础指令、文件树与命令执行的本质
linux·运维·服务器·ubuntu
问天_观心2 天前
虚拟环境WSL之Ubuntu的安装
人工智能·ubuntu
lyx49492 天前
# Ubuntu/Linux 安装 Claude Code 并接入火山方舟 Coding Plan 完整教程(避坑版)
linux·运维·ubuntu
码农阿豪2 天前
Ubuntu部署GodoOS:Docker搭建Web办公桌面并实现远程访问
前端·ubuntu·docker
Groundwork Explorer2 天前
WSL2 Ubuntu 22.04 LTS ESP-IDF 5.5 Micropython 1.28 固件编译指南
运维·python·单片机·ubuntu