教你在Debian11更新出现问题解决方案,付上Debian11源

- debian11 head1 1

记录一下自己在使用debian11更时,apt-get update

使用Debian11更新的时候出现以的提示:

N: Repository ‘http://security.debian.org buster/updates InRelease’ changed its ‘Version’ value from ” to ’10’

解决方法超级简单,就一行代码

apt-get update --allow-releaseinfo-change

 

Debian11源

顺便提供一个比较靠谱的debian11源,发一个我经常用的源

# See http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.html
# for how to upgrade to newer versions of the distribution.
deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main

## Major bug fix updates produced after the final release of the
## distribution.
deb http://security.debian.org/ bullseye-security main
deb-src http://security.debian.org/ bullseye-security main
deb http://deb.debian.org/debian bullseye-updates main
deb-src http://deb.debian.org/debian bullseye-updates main

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
deb http://deb.debian.org/debian bullseye-backports main
deb-src http://deb.debian.org/debian bullseye-backports main 

顺便再方便一下新手使用

备份一下原始的源文件

mv /etc/apt/sources.list /etc/apt/sources.list.bak

vi进去了,按键盘的“ i ”插入上面的Debian11源,然后使用“ :wq ”  保存一下

vi /etc/apt/sources.list

最后更新一下

apt-get update

 

上一篇 代码实现wordpress文章正文自动添加关键词tag页面的链接教程
下一篇 快速一键导出微信聊天记录教程

投稿邮箱:
ivpsr888@gmail.com (投稿详情)

TG订阅频道:
t.me/ivpsr_news 网站最新内容推送

TG交流群:
(点击加入) 用户交流

文章列表
1
要执行请求的操作,WordPress需要访问您网页服务器的权限,处理方法
要执行请求的操作,WordPress需要访问您网页服务器的权限,处理方法
2
WSL2和windows10文件互访方法
WSL2和windows10文件互访方法
3
henghost服务器开年促销,低至2.2折,香港/日本/洛杉矶多机型可选,年付送时间
henghost服务器开年促销,低至2.2折,香港/日本/洛杉矶多机型可选,年付送时间
4
如何将WSL从C盘迁移到D盘?完整图文教程(支持WSL2)
如何将WSL从C盘迁移到D盘?完整图文教程(支持WSL2)
5
使用heroku打造一个我们免费长期的v2ray备用科学节点
使用heroku打造一个我们免费长期的v2ray备用科学节点
6
#2.14# Tmhhost:全场VPS一律8折,香港cn2低至28元,洛杉矶CN2低至32元,洛杉矶AS9929低至24元,日本软银40元
#2.14# Tmhhost:全场VPS一律8折,香港cn2低至28元,洛杉矶CN2低至32元,洛杉矶AS9929低至24元,日本软银40元
7
RAKsmart大带宽独立服务器促销,最低$45/月,支持香港、台湾、日本、马来西亚、美国机房
RAKsmart大带宽独立服务器促销,最低$45/月,支持香港、台湾、日本、马来西亚、美国机房
8
vultr将改变生成式 AI 概念
vultr将改变生成式 AI 概念
9
Dedipath:阵亡将士纪念日优惠码!1Gbps不限流量VPS 5折 独立服务器E3-1240v2低至$39/月
Dedipath:阵亡将士纪念日优惠码!1Gbps不限流量VPS 5折 独立服务器E3-1240v2低至$39/月
10
RackNerd:美国VPS、荷兰VPS/1Gbps带宽/2TB流量,年付低至11.88美元/年
RackNerd:美国VPS、荷兰VPS/1Gbps带宽/2TB流量,年付低至11.88美元/年