AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题 / 467027
Accepted
Boann
Boann
Asked: 2018-09-06 06:14:29 +0800 CST2018-09-06 06:14:29 +0800 CST 2018-09-06 06:14:29 +0800 CST

Apt 拒绝从 Debian backports 安装内核固件包

  • 772

为了让我的 Ryzen 集成 GPU 正常工作,并最终尝试将屏幕分辨率设置为 1024x768 以上,我的理解是我至少需要 Linux 4.15。

我正在使用 4.9 上的 Debian Stretch。所以我听说了“backports”(https://backports.debian.org/Instructions/)并被告知添加以下行:

deb http://ftp.debian.org/debian stretch-backports main

到 /etc/apt/sources.list。我已经这样做了,并且我已经运行了apt-get update.

这使得 4.17 内核映像 (linux-image-4.17.0-0.bpo.3-amd64) 在包管理器中可用,我很高兴地安装了它,内核启动并运行良好。

下一条错误消息是:

[drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
See https://wiki.debian.org/Firmware for information about missing firmware

好的.....所以我也需要将内核固件包升级到向后移植的版本。

我在这里卡住了。

我在 Synaptic 中看不到任何固件包的任何反向移植版本。Debian backports 说明页面建议使用-tapt-get 的 (target?) 参数来选择 backports 存储库或其他任何东西,但这并没有带来任何成功。

这是我正在运行的命令:

root@debian:~# apt-get -t stretch-backports install firmware-linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package firmware-linux 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
However the following packages replace it:
  firmware-misc-nonfree

E: Package 'firmware-linux' has no installation candidate

root@debian:~# apt-get -t stretch-backports install firmware-linux-nonfree
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package firmware-linux-nonfree 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
However the following packages replace it:
  firmware-misc-nonfree

E: Package 'firmware-linux-nonfree' has no installation candidate

root@debian:~# apt-get -t stretch-backports install firmware-misc-nonfree
Reading package lists... Done
Building dependency tree
Reading state information... Done
firmware-misc-nonfree is already the newest version (20161130-3)
0 upgraded, 0 newly installed, 0 to remove and 212 not upgraded

root@debian:~# apt-get -t stretch-backports install firmware-linux-free
Reading package lists... Done
Building dependency tree
Reading state information... Done
firmware-linux-free is already the newest version (3.4)
0 upgraded, 0 newly installed, 0 to remove and 212 not upgraded

我不知道我要安装的哪个软件包是我真正想要的,但关键是没有看到它们中的任何一个。但我知道它们存在,因为它们在网上列出:https ://packages.debian.org/stretch-backports/firmware-linux (版本:20180518-1~bpo9+1)。

从昨晚开始,我一直在努力说服 apt 承认这一事实,但没有成功。

我的 sources.list 中的行是:

deb http://security.debian.org/debian-security/ stretch/updates main
deb-src http://security.debian.org/debian-security/ stretch/updates main
deb http://ftp.debian.org/debian/ stretch-backports main
debian apt
  • 1 1 个回答
  • 7261 Views

1 个回答

  • Voted
  1. Best Answer
    GAD3R
    2018-09-06T11:11:16+08:002018-09-06T11:11:16+08:00

    是firmware-linux一个non-free软件。您应该将非免费添加到您的 URL。

    编辑您/etc/apt/sources.list的如下:

    deb http://deb.debian.org/debian stretch main contrib non-free
    
    deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
    
    deb http://deb.debian.org/debian stretch-updates main contrib non-free
    
    ### backports###
    
    deb http://ftp.debian.org/debian stretch-backports main contrib non-free
    

    要从 backports 安装软件包:

    apt update
    apt -t stretch-backports install firmware-linux
    
    • 4

相关问题

  • GRUB 配置以识别同一 Linux 发行版的不同桌面环境(安装)

  • astyle 不会更改源文件格式

  • 接收有关全新 Debian 的电子邮件

  • Debian Stretch:libgs_plugin_systemd-updates.so 中的 gnome-software 段错误

  • 如何在拼音输入法中输入ü?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    ssh 无法协商:“找不到匹配的密码”,正在拒绝 cbc

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    如何卸载内核模块“nvidia-drm”?

    • 13 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Wong Jia Hau ssh-add 返回:“连接代理时出错:没有这样的文件或目录” 2018-08-24 23:28:13 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST
  • Martin Hope
    Bagas Sanjaya 为什么 Linux 使用 LF 作为换行符? 2017-12-20 05:48:21 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve