Last update at :2024-06-26,Edit by888u
When Snail installed Let\\'s Encrypt domain name SSL in VPS twice before, it was operated in CentOS without much problem, but this time when installing on Ubuntu system, "E: Sub -process /usr/bin/dpkg returned an error code\\” seems to be caused by a problem somewhere.
Solution:
1. If there is important data in our system, it is recommended to back it up to prevent accidents. Because I have an empty system test environment here, I don’t have to worry about any problems.
2. Operation commands
mv /var/lib/dpkg/info /var/lib/dpkg/info.bak
mkdir /var/lib/dpkg/info
apt-get update -y
At this time, no error was reported when I went to apt-get to install the software.
3. Other methods (no verification)
apt-get update –fix-missingapt-get autoremove && apt-get clean && apt-get install -f
I found another method online, but I solved it using the above method, so this method has not been tested.
Recommended site searches: China Unicom virtual host, domain name purchase, website query domain name national mixed server, domain name registration, what is domain name resolution domain name registration information query, Korean cn2 server, dynamic ip server, US free hosting,
发表评论