我不知道我的电脑经历了什么,但在安装时出现了这些输出openssh
,我尝试了很多方法但无法解决。我希望收到分步指导来帮助我解决这个问题。(Ubuntu 22.04 LTS)
(base) jhluo@lab0:~$ sudo apt install openssh-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
molly-guard monkeysphere ssh-askpass
The following NEW packages will be installed:
openssh-server
0 upgraded, 1 newly installed, 0 to remove and 27 not upgraded.
Need to get 0 B/434 kB of archives.
After this operation, 1,537 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package openssh-server.
dpkg: warning: files list file for package 'libctf0:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'cups-ipp-utils' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'fonts-noto-cjk-extra' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgme0:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnet-ssleay-perl:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'fonts-smc' missing; assuming package
has no files currently installed
dpkg: warning: files list file for package 'python3-pkg-resources' missing; assu
ming package has no files currently installed
dpkg: warning: files list file for package 'libjpeg8:amd64' missing; assuming pa
ckage has no files currently installed
...
dpkg: warning: files list file for package 'libkmldom1:amd64' missing; assuming
package has no files currently installed
dpkg: warning: files list file for package 'libwayland-client0:amd64' missing; a
ssuming package has no files currently installed
(Reading database ... 22942 files and directories currently installed.)
Preparing to unpack .../openssh-server_1%3a8.9p1-3ubuntu0.3_amd64.deb ...
Unpacking openssh-server (1:8.9p1-3ubuntu0.3) ...
Setting up openssh-server (1:8.9p1-3ubuntu0.3) ...
dpkg: error processing package openssh-server (--configure):
installed openssh-server package post-installation script subprocess returned e
rror exit status 10
Processing triggers for ufw (0.36.1-4build1) ...
Errors were encountered while processing:
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
(base) jhluo@lab0:~$