请问一下玩 PVE 的大佬,我的 apt 为啥每次都会移除 pve 相关包啊?

242 天前
 jiangwei2222

我机器有 GTX1050 显卡,我想配置 vGPU ,切分给多个虚拟机使用。于是按照 https://gitlab.com/polloloco/vgpu-proxmox 这个说明进行操作。

其中第一步

apt update
apt dist-upgrade

这个更新操作提升会移除 libgnutlsxx30 lxc-pve proxmox-ve pve-container pve-ha-manager pve-manager qemu-server 这特么全是 pve 相关的包呀,这东西能执行吗?

另外,不止更新操作,我执行 apt install nvidia-driver 也提醒我会移除这几个包,这东西能执行吗?网上都没搜到相关案例,我担心我一执行,系统直接凉了。

我是把 apt 源改成了国内的 debian 的源。

root@pve:~# cat /etc/apt/sources.list

deb http://ftp.debian.org/debian sid contrib main non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware

# sources.list.d/pve-enterprise.list
deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/pve bookworm pve-no-subscription

不确定是不是源的问题

PVE 新手,有没有哪个大佬指点一下,正在安装,在线等

734 次点击
所在节点    硬件
4 条回复
starck
241 天前
参考官方文档,做跨版本升级,如果不想升级系统版本,不要做 dist-upgrade

https://pve.proxmox.com/wiki/Upgrade_from_7_to_8
linuxgo
241 天前
这个你就放心好了,pve 这种对稳定性要求很高的系统,升级时不可能把系统直接搞垮的,有些升级肯定要删除旧的包才能升级呀,我都从 6.x 升级到现在 7.x 都没出国问题
jiangwei2222
241 天前
@starck 我现在已经是 pve8 了,两周前才全新安装的系统。不是做版本升级。


@linuxgo 我不是做版本升级,仅仅是普通 apt 安装包
starck
241 天前
安装的软件包跟 pve 冲突了吧

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/977193

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX