• 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分区考回去,然后再上电,树莓派正常运行,我就当什么都没有发生过,继续挖坑吧。。。

  • 相关阅读:
    107.JsonResponse
    106.HttpResponse对象详解
    前端学习笔记系列一:2 Vue的单文件组件
    前端学习笔记系列一:1.export default / export const
    @vue-cli的安装及vue项目创建
    Github版本控制系统
    C# 篇基础知识11——泛型和集合
    C# 篇基础知识10——多线程
    C# 篇基础知识9——特性、程序集和反射
    C# 篇基础知识8——正则表达式
  • 原文地址:https://www.cnblogs.com/Hocker/p/8075939.html
Copyright © 2020-2023  润新知