下载 google play 下载器时出现依赖问题

下载 google play 下载器时出现依赖问题

我正在尝试下载并安装适用于 ubuntu 的 Google Play 下载器。我已下载谷歌播放下载器这里。我尝试使用sudo dpkg -i googleplaydownloader_1.7-1_all.deb我的下载文件夹。但我刚刚收到以下依赖性错误。

dpkg: dependency problems prevent configuration of googleplaydownloader:
googleplaydownloader depends on python-configparser; however:
Package python-configparser is not installed.
googleplaydownloader depends on python-ndg-httpsclient; however:
Package python-ndg-httpsclient is not installed.
googleplaydownloader depends on python-protobuf (>= 2.4); however:
Package python-protobuf is not installed.
googleplaydownloader depends on python-pyasn1; however:
Package python-pyasn1 is not installed.

dpkg: error processing package googleplaydownloader (--install):
dependency problems - leaving unconfigured
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
googleplaydownloader

我尝试使用sudo apt-get -f install。使用后,我sudo dkpg -i googleplaydownloader_1.7-1_all.deb再次尝试。然而,我得到了一些错误,如下所示。

Selecting previously unselected package googleplaydownloader.
(Reading database ... 294372 files and directories currently installed.)
Preparing to unpack googleplaydownloader_1.7-1_all.deb ...
Unpacking googleplaydownloader (1.7-1) ...
dpkg: dependency problems prevent configuration of googleplaydownloader:
googleplaydownloader depends on python-ndg-httpsclient; however:
Package python-ndg-httpsclient is not installed.

dpkg: error processing package googleplaydownloader (--install):
dependency problems - leaving unconfigured
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
googleplaydownloader

帮助我克服这些错误并成功安装 Google Play 下载器。


更新 1:

我已经下载了python-ndg-httpclient这里。我尝试用这个命令安装它:sudo dpkg -i python-ndg-httpsclient_0.3.2-1_all.deb。这次我又遇到了一组依赖问题。我不知道还要等多久!以下是错误。

dpkg: dependency problems prevent configuration of python-ndg-httpsclient:
python-ndg-httpsclient depends on python-support (>= 0.90.0); however:
Package python-support is not installed.

dpkg: error processing package python-ndg-httpsclient (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-ndg-httpsclient 

答案1

自下而上!

  1. python-ndg-httpsclient 依赖于 python-support

  2. googleplaydownloader 依赖于 python-ndg-httpsclient

  3. googleplaydownloader 终于

    • 你有下载已经编辑了
    • 立即安装:sudo dpkg -i googleplaydownloader_1.7-1_all.deb

就是这样,竖起大拇指:)

答案2

在终端中执行以下命令

sudo apt-get install python-configparser python-protobuf python-pyasn1

然后安装已下载的 python-ndg-httpsclient,然后安装 googleplaydownloader_1.7-1_all.deb,sudo dpkg -i x.deb其中 x=package name

相关内容