debian - 尝试在 Debian 上安装 ppa 包
问题描述
sudo add-apt-repository ppa:thopiekar/sierrabreeze
使用 debian 10 buster 在我的 bash 中运行此代码后。尝试后立即出现以下错误消息sudo apt update
:
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Get:7 http://ppa.launchpad.net/thopiekar/sierrabreeze/ubuntu focal InRelease [15.4 kB]
Err:7 http://ppa.launchpad.net/thopiekar/sierrabreeze/ubuntu focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D51DB14E9FFECCF3
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/thopiekar/sierrabreeze/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D51DB14E9FFECCF3
E: The repository 'http://ppa.launchpad.net/thopiekar/sierrabreeze/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details
编辑
sudo apt install sierrabreeze
:
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sierrabreeze : Depends: libc6 (>= 2.29) but 2.28-10 is to be installed
Depends: libqt5core5a (>= 5.12.2) but 5.11.3+dfsg1-1+deb10u3 is to be installed
E: Unable to correct problems, you have held broken packages
有什么帮助解决这个问题吗?
解决方案
您可以手动安装 gpg 密钥:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D51DB14E9FFECCF3
您还需要编辑thopiekar-ubuntu-sierrabreeze-focal.list
文件。
sudo nano /etc/apt/sources.list.d/thopiekar-ubuntu-sierrabreeze-focal.list
更改focal
为bionic
:
deb http://ppa.launchpad.net/thopiekar/sierrabreeze/ubuntu bionic main
运行:
sudo apt update
sudo apt install sierrabreeze
推荐阅读
- excel - 在下一个工作表循环中,SpecialCells(xlCellTypeVisible) 范围应读取为 NOTHING
- laravel - 带有 OR WHERE 条件的 Laravel Eloquent 查询
- ionic-framework - 在 Ionic 中保存的 Gmail 样式的多选列表项
- webpack - 如何使用通用的基本路径从通用的少 webpack 设置导入?
- python - 我是新手,我一般对 PyGame、OOP 和 Python 有疑问
- c++ - 如何修复错误:抛出异常:读取访问冲突?
- node.js - Discord.js 机器人表情符号反应 - 如何收集第一个做出反应的用户而不是消息作者?
- php - 将数据从控制器传递到 CodeIgniter 中的视图会导致未定义的变量
- javascript - Sails 的 Model.findOrCreate 在 for 循环中返回查询结果
- python - 定义为内部类的异常的限定名称