我正在使用“Debian GNU/Linuxstretch/sid”。
我正在尝试安装 AceStream,如下这些脚步。
但是当我将这一行添加到/etc/apt/sources.list
:
deb http://repo.acestream.org/debian/ sid main
并得到这样的公钥:
sudo wget -O - http://repo.acestream.org/keys/acestream.public.key | sudo apt-key add -
尝试apt-get install acestream-engine
失败,结果如下:
Following packages have unresolved dependencies:
acestream-engine : Requires: python2.7-apsw but cannot be installed
(这是从我的语言翻译而来,不是确切的结果)
我尝试过谷歌搜索python2.7-apsw
,但它是某种虚拟包我不知道如何处理这个问题
答案1
向 acestream 提交错误报告,他们的acestream-engine
包已损坏。 python2.7-apsw
debian sid 中不存在。他们应该依赖的包称为python-apsw
。
或者(或另外),您可以使用 debianequivs
包构建一个python2.7-apsw
没有内容但依赖于python-apsw
Package: equivs
Description-en: Circumvent Debian package dependencies
This package provides a tool to create trivial Debian packages.
Typically these packages contain only dependency information, but they
can also include normal installed files like other packages do.
.
One use for this is to create a metapackage: a package whose sole
purpose is to declare dependencies and conflicts on other packages so
that these will be automatically installed, upgraded, or removed.
.
Another use is to circumvent dependency checking: by letting dpkg
think a particular package name and version is installed when it
isn't, you can work around bugs in other packages' dependencies.
(Please do still file such bugs, though.)