Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sof-firmware-1.6.1_2: directory `./usr/lib/firmware/intel/sof-tplg' can not be deleted. #29221

Closed
Piraty opened this issue Mar 4, 2021 · 2 comments

Comments

@Piraty
Copy link
Member

Piraty commented Mar 4, 2021

System

  • xuname: Void 5.10.19_1 x86_64 GenuineIntel notuptodate hold rrDFFF
  • package: sof-firmware-1.6.1_2

Related

Expected behavior

update sof-firmware

Actual behavior

xbps can't update sof-firmware.

# sudo xbps-install -Su -vd -y
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ...
Found sof-firmware-1.6.1_2 in repository https://alpha.de.repo.voidlinux.org/current
1 package will be updated:

  sof-firmware (1.6.1_1 -> 1.6.1_2) 

Size required on disk:        7669KB

<...>
[DEBUG] [trans] verifying 1 packages.
[DEBUG] [obsoletes] sof-firmware: removes file: /usr/lib/firmware/intel/sof-tplg/sof-tgl-rt5682-ssp0-max98373-ssp2.tplg
<...> // many files of sof-firmware
[DEBUG] [obsoletes] sof-firmware: removes file: /usr/lib/firmware/intel/sof/sof-cht-v1.6.1.ri
[DEBUG] [obsoletes] sof-firmware: removes directory: /usr/lib/firmware/intel/sof/public-signed
[DEBUG] [obsoletes] sof-firmware: removes directory: /usr/lib/firmware/intel/sof/intel-signed
[DEBUG] [files] sof-firmware-1.6.1_2: directory changed to symlink: ./usr/lib/firmware/intel/sof-tplg
ERROR: sof-firmware-1.6.1_2: directory `./usr/lib/firmware/intel/sof-tplg' can not be deleted.
[DEBUG] [trans] failed to verify transaction files: Directory not empty
Transaction failed! see above for errors.
@Piraty
Copy link
Member Author

Piraty commented Mar 4, 2021

Solution: uninstall, install

@Piraty Piraty closed this as completed Mar 4, 2021
@ericonr
Copy link
Member

ericonr commented Mar 4, 2021

For this to work XBPS would have to get more agressive about pruning directories, I think. The issue was that a directory was replaced by a symlink or file, iirc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants