On Ubuntu OS   sudo apt-get upgradeReading package lists... DoneBuilding dependency tree       Reading state information... DoneCalculating upgrade... DoneThe following packages will be upgraded:  linux-firmware1 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 denieddpkg-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.debE: Sub-process /usr/bin/dpkg returned an error code (1)lsattr -R /lib/firmwareIf I put in that command it pulls up thousands of files, I can't re-post that much material. 
Having trouble updating my firmware Error processing Archive
ubuntu;permissions;system installation;upgrade;firmware