dpkgdeb: error: paste subprocess was killed by signal (Broken pipe) 错误解决方法

错误描述
dpkg: error processing archive /var/cache/apt/archives/mongodb-org-server_4.2.19_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/mongod', which is also in package mongodb-server-core 1:3.6.3-0ubuntu1.4

解决办法

使用下面指令,它将解决“试图覆盖错误”与强大的dpkg的力量。

sudo dpkg -i --force-overwrite /var/cache/apt/archives/mongodb-org-server_4.2.19_amd64.deb (/var....amd64.deb,错误的文件路径)

运行下面指令,修复任何损坏的包。

sudo apt -f install

你可能感兴趣的:(ubuntu,linux,运维)