咖啡论坛

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

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

[复制链接]

16

主题

0

回帖

117

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
117
发表于 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-3-29 13:39 , Processed in 0.075770 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2015-2023, 咖啡主机.

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