Ubuntu下卸載vsftpd出現(xiàn)dpkg報錯處理方法
時間:2024/5/7 13:37:03 來源:米安網(wǎng)絡(luò) 作者:云主機(jī)配置專家 點(diǎn)擊:264次
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.`,可以執(zhí)行一下命令 sudo deluser ftp \# 刪除vsftpd sudo apt remove vsftpd
版權(quán)保護(hù): 本文「Ubuntu下卸載vsftpd出現(xiàn)dpkg報錯處理方法」由 云主機(jī)配置專家 原創(chuàng),轉(zhuǎn)載請保留鏈接: http://www.iqcg.cn/docs/system/366.html