error: subprocess paste was killed by signal (Broken pipe)


e,好像還是有點問題,大家伙給點意見。。

first of all:將樹莓派的boot分區的內容備個份,也是防止坑太深。

1. 錯誤如下:

Preparing to unpack .../linux-firmware_1.157.14_all.deb ... Unpacking linux-firmware (1.157.14) over (1.157) ... dpkg: error processing archive /var/cache/apt/archives/linux-firmware_1.157.14_all.deb (--unpack): trying to overwrite '/lib/firmware/brcm/brcmfmac43430-sdio.bin', which is also in package linux-firmware-raspi2 1.20161020-0ubuntu1~0.2~rpi3 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/linux-firmware_1.157.14_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

網上給出的建議和執行修正命令:

For every-body who has this issue, the following command works around it until the package maintainers find a solution:

sudo dpkg-divert --divert /lib/firmware/brcm/brcmfmac43430-sdio-2.bin --package linux-firmware-raspi2 --rename --add /lib/firmware/brcm/brcmfmac43430-sdio.bin

Please note that this will set up a diversion for the conflicting file in your system and may have to be un-done once a permanent solution is found. If the chosen solution is to remove the file from linux-firmware and leave it in linux-firmware-raspi2, then the file /lib/firmware/brcm/brcmfmac43430-sdio.bin will end up missing in your system. In this case you can remove the diversion by replacing --add with --remove in the above command.

 

2. 樹莓派upgrade 后就是不能重啟了

網上說因為upgrade命令有變:

sudo apt-get update  && sudo apt-get -y dist-upgrade 

 3.寫在這里也是迫不得已,前頭幾個都配合着網上做了,然后還是reboot死機了

將剛才備份的boot分區考回去,然后再上電,樹莓派正常運行,我就當什么都沒有發生過,繼續挖坑吧。。。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM