> dpkg: warning: unable to delete old directory '/lib/firmware/amdtee':
Directory not empty

This is expected and normal behavior. Different packages can install
files into the same directory and if one or multiple 'own' the directory
you'll get this message on upgrade or removal.

> dpkg -S /lib/firmware/amdtee/*
> shows that the .bin.zst files and symlinks are owned by 
> linux-firmware-amd-misc, while the corresponding uncompressed .bin files and 
> symlinks appear to be unowned.

The uncompressed bins are provided by the amd64-microcode package. Your
command didn't list it because the bins are installed to
/usr/lib/firmware but due to the /lib link they end up in the same
directory.

$ dpkg -S /usr/lib/firmware/amdtee/
amd64-microcode: /usr/lib/firmware/amdtee


Having said that, the real bug is that linux-firmware-amd-misc provides amdtee 
firmware which it shouldn't.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166519

Title:
  linux-firmware-amd-misc upgrade leaves unowned amdtee firmware files
  and causes dpkg warning

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to