You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 22.04 Intel GPU软件源配置错误修复求助

Ubuntu 22.04 Intel GPU软件源配置错误修复求助

Hey there, let's work through these repo issues together—they're totally common when experimenting with driver fixes, so don't beat yourself up over it!

First, let's recap what's going wrong: you tried fixing your HP ProBook 650G2's random black screen issue by switching to Ubuntu 22.04 and installing Intel GPU drivers via two different guides, which ended up messing up your software sources. Now you're seeing these three error messages when trying to update packages:

E: Invalid value set for option Signed-By regarding source https://repositories.intel.com/gpu/ubuntu/ jammy/production/2328 (not a fingerprint)
E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/intel.gpu.jammy.list
E: The list of sources could not be read

Let's fix these one by one:

  • First, fix the broken source file
    The error says the /etc/apt/sources.list.d/intel.gpu.jammy.list file has sudo on line 1—this doesn't belong in a sources list file at all. Let's edit it:
    Open your terminal and run:

    sudo nano /etc/apt/sources.list.d/intel.gpu.jammy.list
    

    Delete the sudo text from the first line, then double-check the rest of the file. A valid source line should look something like deb [signed-by=/path/to/keyfile] https://repositories.intel.com/gpu/ubuntu jammy production/2328. Once you're done, press Ctrl+O to save, then Ctrl+X to exit nano.

  • Next, fix the Signed-By fingerprint issue
    This error happens because the value set for signed-by isn't a valid GPG fingerprint or the path to the key file is wrong. Let's make sure we have Intel's official GPG key installed correctly:
    Run this command in your terminal to download and install the key:

    wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | sudo gpg --dearmor -o /usr/share/keyrings/intel-graphics.gpg
    

    Now go back to the source file we edited earlier, and update the signed-by part to point to this key file. The correct line should be:

    deb [signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy production/2328
    

    Save the file again if you made changes.

  • Finally, verify the fix and update your system
    Now let's check if the sources are working properly:

    sudo apt update
    

    If no errors pop up, you're good to go! If you still run into issues, you can start fresh by deleting the broken source file and re-adding the correct one:

    sudo rm /etc/apt/sources.list.d/intel.gpu.jammy.list
    echo "deb [signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy production/2328" | sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
    sudo apt update
    

Once your sources are fixed, you can reinstall the Intel GPU drivers properly:

sudo apt install intel-opencl-icd intel-level-zero-gpu level-zero intel-media-va-driver-non-free libmfx1

Reboot your system after installation, then check if the random black screen issue is resolved. If it still happens, you might want to look into power management settings or check system logs (run journalctl -b in terminal) to find clues about hardware-related errors.

备注:内容来源于stack exchange,提问作者Divine Ifanyi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 09:29:36