咖啡百科

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2156|回复: 0

[云服务器教程] Debian apt-get update更新报错的解决方法

[复制链接]

25

主题

0

回帖

213

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
213
发表于 2023-2-19 20:30:37 | 显示全部楼层 |阅读模式
一台很老的Debian使用apt-get update的时候,出现一下报错:
  1. Reading package lists... Done
  2. N: Repository 'http://mirrors.163.com/debian buster InRelease' changed its 'Version' value from '10.7' to '10.13'
  3. E: Repository 'http://mirrors.163.com/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
  4. N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
  5. E: Repository 'http://mirrors.163.com/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
  6. N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
  7. E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
  8. N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
复制代码
解决方法
1、使用一下命令:
  1. apt-get update --allow-releaseinfo-change
复制代码
2、再使用以下命令:
  1. apt-get upgrade
复制代码




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|咖啡百科

GMT+8, 2024-11-21 16:38 , Processed in 0.038364 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表