我正在使用 Ubuntu 17.10,我正在尝试安装 kxstudio。当我尝试通过软件中心激活 kxstudio-repos-gcc5 时弹出以下消息,我收到以下错误弹出窗口
Got unknown content type (null) from reviews.ubuntu.com on ubuntu 17.10
并使用以下命令使用终端执行相同的任务
sudo dpkg -i kxstudio-repos-gcc5_9.4.6~kxstudio1_all.deb
我收到以下错误
Preparing to unpack kxstudio-repos-gcc5_9.4.6~kxstudio1_all.deb ...
Unpacking kxstudio-repos-gcc5 (9.4.6~kxstudio1) over (9.4.6~kxstudio1) ...
dpkg: dependency problems prevent configuration of kxstudio-repos-gcc5:
kxstudio-repos-gcc5 depends on kxstudio-repos; however:
Package kxstudio-repos is not installed.
dpkg: error processing package kxstudio-repos-gcc5 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
kxstudio-repos-gcc5
我该如何修复这个错误?
答案1
使用存储库而不是下载 .deb
这里有一个关于如何执行此操作的详细页面 -http://kxstudio.linuxaudio.org/Repositories
对于您丢失的包裹:
所有 Debian 和 Ubuntu 用户都可以通过安装此 deb 文件来启用我们的存储库:kxstudio-repos.deb
和说明
# Install required dependencies if needed
sudo apt-get install apt-transport-https software-properties-common wget
# Download package file
wget https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_9.4.6~kxstudio1_all.deb
# Install it
sudo dpkg -i kxstudio-repos_9.4.6~kxstudio1_all.deb