在全新安装的 kubuntu 中,我无法从发现中安装程序,也无法从命令行进行更新

在全新安装的 kubuntu 中,我无法从发现中安装程序,也无法从命令行进行更新

系统要求我输入密码。我输入密码后,系统提示正在安装,但随后系统提示安装失败,安装又变成了安装。我尝试从命令行更新,系统提示我应该运行--fix-broken installation,我照做了,得到了以下输出:

Segmentation fault (core dumped)
dpkg: error processing package python3-minimal (--configure):
 installed python3-minimal package post-installation script subprocess returned error exit status 139

Errors were encountered while processing:
 python3-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

虽然我不明白其中的大部分内容,但我感觉这不是一个健康的安装。我会刻录另一张 DVD 并重新开始,但我没有刻录软件。所以这是一个警示故事:在清除系统之前,请多备份一些。有人知道安装怎么会变得这么混乱吗?我安装的 DVD 很干净,没有明显的缺陷。

我之前用过这个 DVD,所以没问题。我刚刚尝试用 apt 更新,结果如下:

To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details.   
billie@arachne:~$ sudo apt update && sudo apt upgrade -y 
[sudo] password for billie:  
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease   
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 
Get:3 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] 
Fetched 247 kB in 11s (23.4 kB/s)                            
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 2
78 packages can be upgraded. Run 'apt list --upgradable' to see them. 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
You might want to run 'apt --fix-broken install' to correct these. 
The following packages have unmet dependencies:  
 abiword : Depends: libabiword-3.0 (>= 3.0.2) but it is not installed  abiword-plugin-grammar : Depends: libabiword-3.0 (>= 3.0.2) but it is not installed 
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). 
billie@arachne:~$ sudo apt --fix-broken install 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
Correcting dependencies... Done 
The following additional packages will be installed:   
libabiword-3.0 The following NEW packages will be installed: libabiword-3.0 
0 upgraded, 1 newly installed, 0 to remove and 278 not upgraded. 23 not fully installed or removed. 
Need to get 0 B/1,995 kB of archives. 
After this operation, 7,737 kB of additional disk space will be used. 
Do you want to continue? [Y/n] y 
Setting up base-files (10.1ubuntu2.1) ... 
Installing new version of config file /etc/issue ... 
Installing new version of config file /etc/issue.net ... 
Installing new version of config file /etc/lsb-release ... 
motd-news.service is a disabled or a static unit, not starting it. 
(Reading database ... 262286 files and directories currently installed.)    
Preparing to unpack .../libabiword-3.0_3.0.2-6_amd64.deb ...   
Unpacking libabiword-3.0:amd64 (3.0.2-6) ... 
dpkg-deb (subprocess): decompressing archive member: lzma error:
 compressed data is corrupt dpkg-deb: error: <decompress> subprocess returned error exit status 2 
dpkg: error processing archive /var/cache/apt/archives/libabiword-3.0_3.0.2-6_amd64.deb (--unpack):  
 cannot copy extracted data for './usr/lib/x86_64-linux-gnu/libabiword-3.0.so' to '/usr/lib/x86_64-linux-gnu/libabiword-3.0.so.dpkg-new':
 unexpected end of file or stream Errors were encountered while processing:  
 /var/cache/apt/archives/libabiword-3.0_3.0.2-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)   
billie@arachne:~$   

我完全不知所措了。我从来没有遇到过这种情况。顺便说一句,我重新安装了,但还是遇到了同样的问题。

相关内容