小编use*_*855的帖子

如何撤消“apt-get update --allow-releaseinfo-change”?

在尝试更新单个软件包时,我无意中将自己设置为升级到固件的“测试”版本而不是稳定版本。如何恢复我的广泛“更新”并为 --allow-releaseinfo-change 指定一个存储库?

在尝试将软件包“unifi”从 5.13 更新到 5.14 时,我是如何到达现在的位置的:

$ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 https://dl.ubnt.com/unifi/debian stable InRelease [3024 B]
Get:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Reading package lists... Done
E: Repository 'https://dl.ubnt.com/unifi/debian stable InRelease' changed its 'Codename' value from 'unifi-5.13' to 'unifi-5.14'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Run Code Online (Sandbox Code Playgroud)

好吧,如果没有明确的 ok,它不会允许 unifi 版本从 5.13 更改为 5.14,所以:

$ sudo …
Run Code Online (Sandbox Code Playgroud)

apt raspbian

5
推荐指数
0
解决办法
8723
查看次数

标签 统计

apt ×1

raspbian ×1