Ubuntu下卸载vsftpd出现dpkg报错处理方法
时间:2024/5/7 13:37:03 来源:米安网络 作者:云主机配置专家 点击:257次
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)
2.解决方法 \# 手动删除用户ftp sudo deluser --system ftp
如果提示 `The user `ftp' is not a system user. Exiting.`,可以执行一下命令 sudo deluser ftp \# 删除vsftpd sudo apt remove vsftpd
版权保护: 本文「Ubuntu下卸载vsftpd出现dpkg报错处理方法」由 云主机配置专家 原创,转载请保留链接: https://www.miandns.com/docs/system/366.html