Thanks @mkaya387 that worked prefectly for me.

I understand that chattr is the command in the GNU operating system
(with Linux kernel) that allows a user to set certain attributes of a
file.

But can you elaborate on your solution of this issue?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1877878

Title:
  package linux-firmware 1.183.5 failed to install/upgrade: unable to
  create '/lib/firmware/brcm/BCM-0bb4-0306.hcd.dpkg-new' (while
  processing './lib/firmware/brcm/BCM-0bb4-0306.hcd'): Operation not
  permitted

Status in linux-firmware package in Ubuntu:
  Confirmed

Bug description:
  since my Bluetooth card was not working so I had to download the .hcd
  file for my specific card and make the directory lib/firmware/brcm
  mutable and copy the file then make it unmutable  "sudo chattr +i
  /lib/firmware/brcm" during my update to ubuntu 20 I faced this issue
  so now ill try removing this file and updating the packages again

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: linux-firmware 1.183.5
  ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
  Uname: Linux 5.4.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia wl
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sun May 10 23:40:47 2020
  Dependencies:

  DuplicateSignature:
   package:linux-firmware:1.183.5
   Unpacking linux-firmware (1.187) over (1.183.5) ...
   dpkg: error processing archive 
/tmp/apt-dpkg-install-Y0df9D/409-linux-firmware_1.187_all.deb (--unpack):
    unable to create '/lib/firmware/brcm/BCM-0bb4-0306.hcd.dpkg-new' (while 
processing './lib/firmware/brcm/BCM-0bb4-0306.hcd'): Operation not permitted
  ErrorMessage: unable to create 
'/lib/firmware/brcm/BCM-0bb4-0306.hcd.dpkg-new' (while processing 
'./lib/firmware/brcm/BCM-0bb4-0306.hcd'): Operation not permitted
  InstallationDate: Installed on 2020-02-08 (92 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 
3.8.2-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 
2.7.17-4
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.2
  SourcePackage: linux-firmware
  Title: package linux-firmware 1.183.5 failed to install/upgrade: unable to 
create '/lib/firmware/brcm/BCM-0bb4-0306.hcd.dpkg-new' (while processing 
'./lib/firmware/brcm/BCM-0bb4-0306.hcd'): Operation not permitted
  UpgradeStatus: Upgraded to focal on 2020-05-10 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1877878/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to