因为OS: /etc/os-release 中的id是deepin不是ubuntu所以不给安装
备份原链接
cp /etc/os-release /etc/os-release.bak
删除软链接
rm /etc/os-release

创建自己的文件
cp /usr/lib/os-release /etc/os-release
vim /etc/os-release
成了!
代码块
root@my:/etc# amdgpu-install
命中:2 https://cdn-community-packages.deepin.com/driver-25 snipe InRelease
获取:3 https://app-store-files.uniontech.com/260424183331918/appstorev23 crimson InRelease [7,658 B]
命中:1 https://community-packages.deepin.com/beige crimson InRelease
命中:4 https://repo.radeon.com/amdgpu/30.30.1/ubuntu noble InRelease
命中:5 https://repo.radeon.com/rocm/apt/7.2.1 noble InRelease
命中:6 https://repo.radeon.com/graphics/7.2.1/ubuntu noble InRelease
已下载 7,658 B,耗时 2秒 (3,533 B/s)
正在读取软件包列表... 完成
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
linux-headers-6.18.19-amd64-desktop-rolling 已经是最新版 (25.01.01.20)。
linux-headers-6.18.19-amd64-desktop-rolling 已设置为手动安装。
只剩下解决依赖问题了
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删