pra*_*yan 4 package-management apt dependencies software-installation
$ apt install bookworm
Reading package lists... Done
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:
bookworm : Depends: libgranite3 (>= 0.2.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
$ apt policy bookworm libgranite3
bookworm:
Installed: (none)
Candidate: 0.6-0~42~ubuntu16.04.1
Version table:
0.6-0~42~ubuntu16.04.1 500
500 http://ppa.launchpad.net/bookworm-team/bookworm/ubuntu xenial/main amd64 Packages
libgranite3:
Installed: (none)
Candidate: (none)
Version table:
Run Code Online (Sandbox Code Playgroud)
$ lsb_release -sd
Ubuntu 16.04.3 LTS
Run Code Online (Sandbox Code Playgroud)
我联系了ppa:bookworm-team/bookworm背后的开发人员,但显然他不再维护 bookworm 了。相反,他将我指向ppa:bablu-boy/bookworm-daily,该软件在维护状态下可用。
要卸载(痕迹)旧程序并删除有问题的 PPA,请按照下列步骤操作:
卸载程序
sudo apt remove bookworm
Run Code Online (Sandbox Code Playgroud)删除旧的 PPA
sudo add-apt-repository -r ppa:bookworm-team/bookworm
Run Code Online (Sandbox Code Playgroud)要添加新的 PPA 并安装程序,请执行以下操作:
添加新的 PPA
sudo add-apt-repository ppa:bablu-boy/bookworm-daily
Run Code Online (Sandbox Code Playgroud)更新包源
sudo apt update
Run Code Online (Sandbox Code Playgroud)安装 bookworm
sudo apt install bookworm
Run Code Online (Sandbox Code Playgroud)| 归档时间: |
|
| 查看次数: |
4498 次 |
| 最近记录: |