安装bcloud后运行不起,怀疑缺依赖,安装一些依赖似乎出错,求解!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
deii
帖子: 146
注册时间: 2018-04-24 20:06

安装bcloud后运行不起,怀疑缺依赖,安装一些依赖似乎出错,求解!

#1

帖子 deii » 2018-05-22 22:40

deii@deii-TVB01:~/下载$ sudo dpkg -i bcloud_3.9.3_all.deb
正在选中未选择的软件包 bcloud。
(正在读取数据库 ... 系统当前共安装有 266347 个文件和目录。)
正准备解包 bcloud_3.9.3_all.deb ...
正在解包 bcloud (3.9.3) ...
dpkg: 依赖关系问题使得 bcloud 的配置工作不能继续:
bcloud 依赖于 python3-crypto;然而:
未安装软件包 python3-crypto。
bcloud 依赖于 python3-pyinotify;然而:
未安装软件包 python3-pyinotify。
bcloud 依赖于 python3-keyring;然而:
未安装软件包 python3-keyring。

dpkg: 处理软件包 bcloud (--install)时出错:
依赖关系问题 - 仍未被配置
正在处理用于 hicolor-icon-theme (0.15-0ubuntu1) 的触发器 ...
正在处理用于 gnome-menus (3.13.3-6ubuntu3.1) 的触发器 ...
正在处理用于 desktop-file-utils (0.22-1ubuntu5.1) 的触发器 ...
正在处理用于 mime-support (3.59ubuntu1) 的触发器 ...
在处理时有错误发生:
bcloud
deii@deii-TVB01:~/下载$ sudo apt-get install -f
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在修复依赖关系... 完成
下列软件包是自动安装的并且现在不需要了:
chromium-codecs-ffmpeg-extra fonts-stix gimp-help-common libabw-0.1-1v5
libboost-date-time1.58.0 libboost-iostreams1.58.0 libcdr-0.1-1
libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libe-book-0.1-1
libeot0 libetonyek-0.1-1 libexttextcat-2.0-0 libexttextcat-data
libfreehand-0.1-1 libglew1.13 liblangtag-common liblangtag1 libmspub-0.1-1
libmwaw-0.3-3 libmythes-1.2-0 libneon27-gnutls libodfgen-0.1-1
liborcus-0.10-0v5 libpagemaker-0.0-0 libqpdf17 libraptor2-0 librasqal3
librdf0 librevenge-0.0-0 libtimezonemap-data libtimezonemap1 libvisio-0.1-1
libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libyajl2 lp-solve uno-libs3 ure
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
python3-crypto python3-keyring python3-pyinotify python3-secretstorage
建议安装:
python3-crypto-dbg python-crypto-doc python3-pykde4 python-pyinotify-doc
python-secretstorage-doc
下列【新】软件包将被安装:
python3-crypto python3-keyring python3-pyinotify python3-secretstorage
升级了 0 个软件包,新安装了 4 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 323 kB 的归档。
解压缩后会消耗 1,822 kB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://mirrors.aliyun.com/ubuntu xenial/main amd64 python3-pyinotify all 0.9.6-0fakesync1 [24.7 kB]
获取:2 http://mirrors.aliyun.com/ubuntu xenial/main amd64 python3-keyring all 7.3-1ubuntu1 [40.2 kB]
获取:3 http://mirrors.aliyun.com/ubuntu xenial/main amd64 python3-secretstorage all 2.1.3-1 [12.6 kB]
获取:4 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-crypto amd64 2.6.1-6ubuntu0.16.04.3 [246 kB]
已下载 323 kB,耗时 5秒 (60.7 kB/s)
正在选中未选择的软件包 python3-crypto。
(正在读取数据库 ... 系统当前共安装有 266468 个文件和目录。)
正准备解包 .../python3-crypto_2.6.1-6ubuntu0.16.04.3_amd64.deb ...
正在解包 python3-crypto (2.6.1-6ubuntu0.16.04.3) ...
正在选中未选择的软件包 python3-pyinotify。
正准备解包 .../python3-pyinotify_0.9.6-0fakesync1_all.deb ...
正在解包 python3-pyinotify (0.9.6-0fakesync1) ...
正在选中未选择的软件包 python3-keyring。
正准备解包 .../python3-keyring_7.3-1ubuntu1_all.deb ...
正在解包 python3-keyring (7.3-1ubuntu1) ...
正在选中未选择的软件包 python3-secretstorage。
正准备解包 .../python3-secretstorage_2.1.3-1_all.deb ...
正在解包 python3-secretstorage (2.1.3-1) ...
正在设置 python3-crypto (2.6.1-6ubuntu0.16.04.3) ...
正在设置 python3-pyinotify (0.9.6-0fakesync1) ...
正在设置 python3-keyring (7.3-1ubuntu1) ...
正在设置 bcloud (3.9.3) ...
正在设置 python3-secretstorage (2.1.3-1) ...
deii@deii-TVB01:~/下载$ cd
deii@deii-TVB01:~$ timedatectl set-local-rtc 1
deii@deii-TVB01:~$ timedatectl
Local time: 二 2018-05-22 21:30:34 CST
Universal time: 二 2018-05-22 13:30:34 UTC
RTC time: 二 2018-05-22 21:30:34
Time zone: Asia/Shanghai (CST, +0800)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
This mode can not be fully supported. It will create various problems
with time zone changes and daylight saving time adjustments. The RTC
time is never updated, it relies on external facilities to maintain it.
If at all possible, use RTC in UTC by calling
'timedatectl set-local-rtc 0'.
deii@deii-TVB01:~$ bcloud
bcloud:未找到命令
deii@deii-TVB01:~$ sudo apt-get update
[sudo] deii 的密码:
命中:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
获取:2 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [18.1 kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
命中:4 http://archive.canonical.com/ubuntu xenial InRelease
命中:5 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
获取:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
命中:7 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
获取:8 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
命中:9 https://packages.zorinos.com/patches xenial InRelease
命中:10 https://packages.zorinos.com/stable xenial InRelease
获取:11 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [783 kB]
获取:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [499 kB]
获取:13 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [442 kB]
获取:14 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [718 kB]
获取:15 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [215 kB]
获取:16 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
获取:17 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
获取:18 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [350 kB]
获取:19 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [301 kB]
获取:20 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [324 kB]
获取:21 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [130 kB]
获取:22 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [319 kB]
获取:23 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
获取:24 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [147 kB]
获取:25 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [224 kB]
获取:26 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [630 kB]
获取:27 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [577 kB]
获取:28 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [253 kB]
获取:29 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [246 kB]
获取:30 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [331 kB]
获取:31 http://cn.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,964 B]
获取:32 http://cn.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B]
获取:33 http://cn.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,088 B]
已下载 7,086 kB,耗时 24秒 (291 kB/s)
正在读取软件包列表... 完成
deii@deii-TVB01:~$ sudo apt-get install python3-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
chromium-codecs-ffmpeg-extra fonts-stix gimp-help-common libabw-0.1-1v5
libboost-date-time1.58.0 libboost-iostreams1.58.0 libcdr-0.1-1
libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libe-book-0.1-1
libeot0 libetonyek-0.1-1 libexttextcat-2.0-0 libexttextcat-data
libfreehand-0.1-1 libglew1.13 liblangtag-common liblangtag1 libmspub-0.1-1
libmwaw-0.3-3 libmythes-1.2-0 libneon27-gnutls libodfgen-0.1-1
liborcus-0.10-0v5 libpagemaker-0.0-0 libqpdf17 libraptor2-0 librasqal3
librdf0 librevenge-0.0-0 libtimezonemap-data libtimezonemap1 libvisio-0.1-1
libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libyajl2 lp-solve uno-libs3 ure
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
libexpat1-dev libpython3-dev libpython3.5-dev python3.5-dev
下列【新】软件包将被安装:
libexpat1-dev libpython3-dev libpython3.5-dev python3-dev python3.5-dev
升级了 0 个软件包,新安装了 5 个软件包,要卸载 0 个软件包,有 5 个软件包未被升级。
需要下载 37.9 MB 的归档。
解压缩后会消耗 54.9 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://mirrors.aliyun.com/ubuntu xenial/main amd64 libpython3-dev amd64 3.5.1-3 [6,926 B]
获取:2 http://mirrors.aliyun.com/ubuntu xenial/main amd64 python3-dev amd64 3.5.1-3 [1,186 B]
获取:3 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1-dev amd64 2.1.0-7ubuntu0.16.04.3 [115 kB]
获取:4 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-dev amd64 3.5.2-2ubuntu0~16.04.4 [37.3 MB]
获取:5 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5-dev amd64 3.5.2-2ubuntu0~16.04.4 [413 kB]
已下载 37.9 MB,耗时 1分 55秒 (327 kB/s)
正在选中未选择的软件包 libexpat1-dev:amd64。
(正在读取数据库 ... 系统当前共安装有 266714 个文件和目录。)
正准备解包 .../libexpat1-dev_2.1.0-7ubuntu0.16.04.3_amd64.deb ...
正在解包 libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.3) ...
正在选中未选择的软件包 libpython3.5-dev:amd64。
正准备解包 .../libpython3.5-dev_3.5.2-2ubuntu0~16.04.4_amd64.deb ...
正在解包 libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.4) ...
正在选中未选择的软件包 libpython3-dev:amd64。
正准备解包 .../libpython3-dev_3.5.1-3_amd64.deb ...
正在解包 libpython3-dev:amd64 (3.5.1-3) ...
正在选中未选择的软件包 python3.5-dev。
正准备解包 .../python3.5-dev_3.5.2-2ubuntu0~16.04.4_amd64.deb ...
正在解包 python3.5-dev (3.5.2-2ubuntu0~16.04.4) ...
正在选中未选择的软件包 python3-dev。
正准备解包 .../python3-dev_3.5.1-3_amd64.deb ...
正在解包 python3-dev (3.5.1-3) ...
正在处理用于 doc-base (0.10.7) 的触发器 ...
Processing 1 added doc-base file...
正在处理用于 man-db (2.7.5-1) 的触发器 ...
正在设置 libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.3) ...
正在设置 libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.4) ...
正在设置 libpython3-dev:amd64 (3.5.1-3) ...
正在设置 python3.5-dev (3.5.2-2ubuntu0~16.04.4) ...
正在设置 python3-dev (3.5.1-3) ...
deii@deii-TVB01:~$ sudo apt-get install python3-setuptools
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
chromium-codecs-ffmpeg-extra fonts-stix gimp-help-common libabw-0.1-1v5
libboost-date-time1.58.0 libboost-iostreams1.58.0 libcdr-0.1-1
libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libe-book-0.1-1
libeot0 libetonyek-0.1-1 libexttextcat-2.0-0 libexttextcat-data
libfreehand-0.1-1 libglew1.13 liblangtag-common liblangtag1 libmspub-0.1-1
libmwaw-0.3-3 libmythes-1.2-0 libneon27-gnutls libodfgen-0.1-1
liborcus-0.10-0v5 libpagemaker-0.0-0 libqpdf17 libraptor2-0 librasqal3
librdf0 librevenge-0.0-0 libtimezonemap-data libtimezonemap1 libvisio-0.1-1
libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libyajl2 lp-solve uno-libs3 ure
使用'sudo apt autoremove'来卸载它(它们)。
建议安装:
python-setuptools-doc
下列【新】软件包将被安装:
python3-setuptools
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 5 个软件包未被升级。
需要下载 88.0 kB 的归档。
解压缩后会消耗 439 kB 的额外空间。
获取:1 http://mirrors.aliyun.com/ubuntu xenial/main amd64 python3-setuptools all 20.7.0-1 [88.0 kB]
已下载 88.0 kB,耗时 0秒 (278 kB/s)
正在选中未选择的软件包 python3-setuptools。
(正在读取数据库 ... 系统当前共安装有 266889 个文件和目录。)
正准备解包 .../python3-setuptools_20.7.0-1_all.deb ...
正在解包 python3-setuptools (20.7.0-1) ...
正在设置 python3-setuptools (20.7.0-1) ...
deii@deii-TVB01:~$ sudo easy_install3 pip
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 10.0.1
Downloading https://files.pythonhosted.org/packages ... 3fdbd7ee68
Processing pip-10.0.1.tar.gz
Writing /tmp/easy_install-r516jr8x/pip-10.0.1/setup.cfg
Running pip-10.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-r516jr8x/pip-10.0.1/egg-dist-tmp-gcm9d5xu
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching '.landscape.yml'
warning: no previously-included files found matching 'src/pip/_vendor/Makefile'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching '*-requirements.txt'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'src/pip/_vendor/six'
warning: no previously-included files matching '*.pyi' found under directory 'src/pip/_vendor'
no previously-included directories found matching '.github'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'docs/build'
no previously-included directories found matching 'news'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
creating /usr/local/lib/python3.5/dist-packages/pip-10.0.1-py3.5.egg
Extracting pip-10.0.1-py3.5.egg to /usr/local/lib/python3.5/dist-packages
Adding pip 10.0.1 to easy-install.pth file
Installing pip3 script to /usr/local/bin
Installing pip3.5 script to /usr/local/bin
Installing pip script to /usr/local/bin

Installed /usr/local/lib/python3.5/dist-packages/pip-10.0.1-py3.5.egg
Processing dependencies for pip
Finished processing dependencies for pip
deii@deii-TVB01:~$ sudo pip3 install --upgrade pycrypto
The directory '/home/deii/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/deii/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already up-to-date: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
deii@deii-TVB01:~$ sudo pip3 install --upgrade keyring
The directory '/home/deii/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/deii/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting keyring
Downloading https://files.pythonhosted.org/packages ... ne-any.whl
Collecting entrypoints (from keyring)
Downloading https://files.pythonhosted.org/packages ... ne-any.whl
Requirement not upgraded as not directly required: secretstorage; sys_platform == "linux" and python_version >= "3.5" in /usr/lib/python3/dist-packages (from keyring) (2.1.3)
Installing collected packages: entrypoints, keyring
Found existing installation: keyring 7.3
Uninstalling keyring-7.3:
Successfully uninstalled keyring-7.3
Successfully installed entrypoints-0.2.3 keyring-12.2.1
头像
九天星
帖子: 1440
注册时间: 2007-07-14 20:45

Re: 安装bcloud后运行不起,怀疑缺依赖,安装一些依赖似乎出错,求解!

#2

帖子 九天星 » 2018-05-23 9:03

代码: 全选

python3 bcloud
deii
帖子: 146
注册时间: 2018-04-24 20:06

Re: 安装bcloud后运行不起,怀疑缺依赖,安装一些依赖似乎出错,求解!

#3

帖子 deii » 2018-05-23 17:33

九天星 写了:

代码: 全选

python3 bcloud
deii@deii-TVB01:~$ python3 bcloud
python3: can't open file 'bcloud': [Errno 2] No such file or directory
不行
回复