广告

Ubuntu下卸载vsftpd出现dpkg报错处理方法

2024-03-06

1.卸载vsftpd出错

 

apt remove vsftpd

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following package was automatically installed and is no longer required:

 ssl-cert

Use 'apt autoremove' to remove it.

The following packages will be REMOVED:

 vsftpd

0 upgraded, 0 newly installed, 1 to remove and 56 not upgraded.

1 not fully installed or removed.

After this operation, 326 kB disk space will be freed.

Do you want to continue? [Y/n] Y

(Reading database ... 105321 files and directories currently installed.)

Removing vsftpd (3.0.5-0ubuntu1) ...

dpkg: error processing package vsftpd (--remove):

Processing was halted because there were too many errors.

E: Sub-process /usr/bin/dpkg returned an error code (1)

卸载vsftpd出错

 

2.解决方法

 

\# 手动删除用户ftp

sudo deluser --system ftp

手动删除用户ftp

 

如果提示 The userftp’ is not a system user. Exiting.`,可以执行一下命令

 

sudo deluser ftp

\# 删除vsftpd

sudo apt remove vsftpd

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。本站原创内容未经允许不得转载,或转载时需注明出处!

上一篇:Ubuntu18.04系统中如何安装命令行浏览器elinks

下一篇:Ubuntu系统如何安装跟使用tcping命令

这条帮助是否解决了您的问题?已解决未解决

提交成功!非常感谢您的反馈,我们会继续努力做到更好!很抱歉未能解决您的疑问。我们已收到您的反馈意见,同时会及时作出反馈处理!

立即注册91VPS账号,免费体验多款产品
立即注册
联系我们
全国咨询热线:
0712-5319406
QQ客服:
800193021
91VPS微信客服

扫码联系微信客服