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)
網上給出的建議和執行修正命令:linux
For every-body who has this issue, the following command works around it until the package maintainers find a solution:ubuntu
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.ui
2. 樹莓派upgrade 後就是不能重啓了this
網上說由於upgrade命令有變:spa
sudo apt-get update && sudo apt-get -y dist-upgrade
3.寫在這裏也是無可奈何,前頭幾個都配合着網上作了,而後仍是reboot死機了code
將剛纔備份的boot分區考回去,而後再上電,樹莓派正常運行,我就當什麼都沒有發生過,繼續挖坑吧。。。blog