V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jiangwei2222
V2EX  ›  硬件

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

  •  
  •   jiangwei2222 · 228 天前 · 718 次点击
    这是一个创建于 228 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我机器有 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 新手,有没有哪个大佬指点一下,正在安装,在线等

    4 条回复    2023-09-27 13:23:14 +08:00
    starck
        1
    starck  
       228 天前 via Android
    参考官方文档,做跨版本升级,如果不想升级系统版本,不要做 dist-upgrade

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


    @linuxgo 我不是做版本升级,仅仅是普通 apt 安装包
    starck
        4
    starck  
       227 天前 via iPhone
    安装的软件包跟 pve 冲突了吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1005 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 20:14 · PVG 04:14 · LAX 13:14 · JFK 16:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.