linux-cpupower包和linux-tools-common包中同時(shí)包含了文件/usr/bin/cpupower读拆。導(dǎo)致在已經(jīng)安裝了linux-cpupower的環(huán)境上咖驮,安裝linux-tools-common包報(bào)錯(cuò)。
正在解包 linux-tools-common (4.15.0-30deepin.31) ...
dpkg: 處理歸檔 /var/cache/apt/archives/linux-tools-common_4.15.0-30deepin.31_all.deb (--unpack)時(shí)出錯(cuò):
正試圖覆蓋 /usr/bin/cpupower,它同時(shí)被包含于軟件包 linux-cpupower 4.9.130-2
dpkg-deb: 錯(cuò)誤: 子進(jìn)程 粘貼 被信號(hào)(斷開(kāi)的管道) 終止了
在處理時(shí)有錯(cuò)誤發(fā)生:
處理辦法:
cd /var/lib/dpkg/info/
sudo rm linux-cpupower.*
sudo rm linux-tools-4.15.0-30deepin*
sudo apt-get -f install
說(shuō)明:這種方法很流氓。。睛挚。