DPKG在Ubuntu Server上失败22.04 LTS
我的Ubuntu 22.04 LTS似乎在DPKG上有问题,我在网上找不到与我相同的问题的人。这使我无法安装软件包,我只是不知道如何解决此问题。
Setting up dpkg (1.21.1ubuntu2.1) ...
head: error reading 'info_silent': Is a directory
dpkg: error processing package dpkg (--configure):
installed dpkg package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
dpkg
E: Sub-process /usr/bin/dpkg returned an error code (1)
我的Ubuntu Server版本:
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
我已经读到重新安装是一种选择,但是我也找不到可以在不丢失数据的情况下重新安装LTS的好方法。
My Ubuntu 22.04 LTS seems to have problems with dpkg and I can't find anyone online that has the same issue as me. It makes me not able to install packages and I just don't know how to fix this.
Setting up dpkg (1.21.1ubuntu2.1) ...
head: error reading 'info_silent': Is a directory
dpkg: error processing package dpkg (--configure):
installed dpkg package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
dpkg
E: Sub-process /usr/bin/dpkg returned an error code (1)
My Ubuntu Server version:
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
I've read that a reinstall is an option, but I also can't find a good way to reinstall LTS without losing my data.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我终于解决了这个问题,找到了一个YouTube视频,可以解决我的问题。
这些是解决我问题的命令:
I finally got this fixed, I found a YouTube video that fixed my issue.
These are the commands that fixed my problem: