首页 > 解决方案 > 无法在 Lubuntu 上安装任何东西

问题描述

我正在运行最新版本的 Lubuntu,每次尝试安装时都会出现相同的错误::

    Errors were encountered while processing:
 python3
 python3-cffi-backend
 python3-keyring
 python3-crypto
 python3-idna
 python3-xdg
 python3-keyrings.alt
 python3-six
 python3-dev
 python3-wheel
 python3-pkg-resources
 python3-gi
 python3-asn1crypto
 python3-pip
 python3-setuptools
 python3-lib2to3
 python3-secretstorage
 dh-python
 python3-distutils
 python3-cryptography
 python3-dbus
E: Sub-process /usr/bin/dpkg returned an error code (1)

请帮帮我,我明天在我的大学有一个 Python 测试,这真的让我很难过,我需要练习代码。

编辑:: 我不知道为什么,但这里只有 python 给我一个问题

更新:: 现在它给了我一个不同的错误:

在这里,我尝试使用以下方法安装 Spyder3:sudo apt-get install spyder3

Setting up systemd (237-3ubuntu10.3) ...
cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are the same file
dpkg: error processing package systemd (--configure):
 installed systemd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)

标签: pythonubuntuspydersystemddbus

解决方案


尝试删除/etc/resolv.conf

在删除之前备份文件。


推荐阅读