尝试从 Kubuntu 20.04.1 升级到 20.10 时出现问题

尝试从 Kubuntu 20.04.1 升级到 20.10 时出现问题

您好,我在尝试从 20.04.1 LTS 升级到 20.10 时遇到问题。升级过程停止并返回到原始状态。这是我收到的错误:

Error in function: install

apt_pkg. Error: E:Unable to configure "libc6:amd64". , E:Configuration could not be performed immediately on "libnss-nis:amd64". For more information, see "man 5 apt.conf" in the "APT::Immediate-Configure" section (2).
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
    self.write(f) method
  File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
    block = f.read(1048576)
  File "/usr/lib/python3.8/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Original exception was:
apt_pkg. Error: E:Unable to configure "libc6:amd64". , E:Configuration could not be performed immediately on "libnss-nis:amd64". For more information, see "man 5 apt.conf" in the "APT::Immediate-Configure" section (2).
Error in function: install

apt_pkg. Error: E:Setup could not be performed immediately on "libffi8ubuntu1:amd64". For more information, see "man 5 apt.conf" in the "APT::Immediate-Configure" section (2).
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
    self.write(f) method
  File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
    block = f.read(1048576)
  File "/usr/lib/python3.8/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Original exception was:
apt_pkg. Error: E:Setup could not be performed immediately on "libffi8ubuntu1:amd64". For more information, see "man 5 apt.conf" in the "APT::Immediate-Configure" section (2).

Unable to install version feeds 

The progress has stopped: the system may be in a 
been unusable. a restore will start (dpkg --configure 
-a). 

Impassable progress 

Progress has not been completed: errors have occurred 
during processing. 

Restoring the original state of the system

我不知道为什么会发生这种事。

编辑:英文翻译

相关内容