Skip to content

配置apt国内源并去除订阅提示后更新PVE有报错 #120

Open
@MikeyWei

Description

配置apt国内源(去除企业源)并去除订阅提示后更新PVE有报错

当前环境:

  • OS: PVE 8.3.1
  • PVETOOLS 最新版(20250120)

问题描述

  1. 全新安装的PVE最新版8.3.1(默认root账号),安装最新PVETOOLS,rm -rf 掉企业源 pve-enterprise.list。
  2. cd 进入目录,执行修改系统源地址并去除订阅提示。
  3. 以root账号执行 apt update 提示如下:
Hit:1 http://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm InRelease
Hit:2 https://mirrors.ustc.edu.cn/debian bookworm InRelease                                              
Hit:3 https://mirrors.ustc.edu.cn/debian bookworm-updates InRelease                                      
Hit:4 https://mirrors.ustc.edu.cn/debian bookworm-backports InRelease        
Hit:5 https://mirrors.ustc.edu.cn/debian-security stable-security InRelease  
Err:6 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
  401  Unauthorized [IP: 198.18.0.165 443]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease  401  Unauthorized [IP: 198.18.0.165 443]
E: The repository 'https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split

当前提示不大容易看出是否有需要更新的包,但直接执行 apt upgrade 还是能继续更新的。

报错截图

Image

其他
貌似早先的PVETOOLS有一个清理旧内核的功能,感觉很是有用,当前版本似乎去掉了。PVE当前最新版ISO安装后的内核时6.8.12-4,升级一下就是6.8.12-6。当然手动删也OK,就是觉得之前那个一键清理很方便。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions