更新固件时遇到问题“处理存档时出错”

更新固件时遇到问题“处理存档时出错”

在 Ubuntu 操作系统上

sudo apt-get 升级

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  linux-firmware
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/24.9 MB of archives.
After this operation, 322 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 294300 files and directories currently installed.)
Preparing to unpack .../linux-firmware_1.143.6_all.deb ...
Unpacking linux-firmware (1.143.6) over (1.143.3) ...
dpkg: error processing archive /var/cache/apt/archives/linux-firmware_1.143.6_all.deb (--unpack):
 unable to create `/lib/firmware/brcm/bcm4329-fullmac-4.bin.dpkg-new' (while processing `./lib/firmware/brcm/bcm4329-fullmac-4.bin'): Permission denied
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-firmware_1.143.6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

lsattr -R /lib/固件

如果我输入该命令,它会提取数千个文件,我无法重新发布那么多材料。

相关内容