Apt 找不到 debian 向后移植固件

Apt 找不到 debian 向后移植固件

我正在尝试使用 Debian Bookworm 向后移植来更新我的 amdgpu 固件。我/etc/apt/sources.list.d/backports按照说明添加了这个,并添加了非免费的https://unix.stackexchange.com/a/467108/50441以及非自由固件

~$cat /etc/apt/sources.list.d/backports.list
deb http://deb.debian.org/debian/ bookworm-backports main contrib non-free-firmware non-free

我能够很好地更新内核:

~$apt policy linux-image-amd64
linux-image-amd64:
  Installed: 6.6.13-1~bpo12+1
  Candidate: 6.6.13-1~bpo12+1
  Version table:
 *** 6.6.13-1~bpo12+1 100
        100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     6.1.85-1 500
        500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
     6.1.76-1 500
        500 http://deb.debian.org/debian bookworm/main amd64 Packages
     6.1.67-1 500
        500 http://deb.debian.org/debian bookworm-updates/main amd64 Packages

但是,向后移植版本的固件不会显示在 apt 中。

~$sudo apt-get install firmware-amd-graphics/bookworm-backports
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package firmware-amd-graphics is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Release 'bookworm-backports' for 'firmware-amd-graphics' was not found

我能够在以下位置找到它https://packages.debian.org/bullseye-backports/firmware-amd-graphics并手动下载,但这很奇怪。

~$apt policy  firmware-amd-graphics
firmware-amd-graphics:
  Installed: 20230210-5~bpo11+1
  Candidate: 20230210-5
  Version table:
     20230210-5 500
        500 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages
        500 http://deb.debian.org/debian bookworm/non-free-firmware i386 Packages
 *** 20230210-5~bpo11+1 100
        100 /var/lib/dpkg/status

答案1

bookworm-backports该包没有版本firmware-amd-graphics,所以apt找不到它。

您找到的版本来自bullseye-backports,与 Debian 12 中的版本相同。事实上,该软件包版本比 Debian 12 中的版本要旧;下次运行apt upgrade该软件包时将“升级”到 Debian 12 版本。

相关内容