从 Ubuntu 18.04 升级到 18.10 后,我的笔记本电脑出现错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up sendmail-base (8.15.2-11) ...
Saving current /etc/mail/sendmail.mc,cf to /var/backups
update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
update-inetd: error: --group is only relevant with --add
dpkg: error processing package sendmail-base (--configure):
installed sendmail-base package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
sendmail-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
nocturnal@nocturnal-Linux:~$
如果我sudo-apt get upgrade
在终端上写或任何方式。
任何人都可以帮助我吗?
我遵循了一位在此论坛上发表评论的用户的指示。
仅替换:
和:
在文件中
/var/lib/dpkg/info/sendmail-base.prerm
感谢@J.Demand 的回答
我也替换
和
在目录中
这是作品。谢谢