问题定位:
Fix: 'Sub-process /usr/bin/dpkg returned an error code (1)' Ubuntu
:看了这里面一点儿内容,看到是chrome的原因。
解决方案:
然后我就果断删除chrome
Command:
-
Run the following command to remove Google Chrome along with any dependencies:
sudo apt purge --auto-remove google-chrome-stable
How to uninstall Google Chrome browser? - Ask Ubuntu
结语:
反正用edge,
之后啥事儿没有,sudo apt-get software:安装npm\nodejs,都挺好的,没有那个命令报错
反正呀,遇到问题,别老是看优快云,你看歪果仁多厉害,原因分析得很到位,然后再用措施,哪有一上来就咔咔用命令,搞得云里雾里的。