Comment 47 for bug 1820768

Revision history for this message
Mario Limonciello (superm1) wrote :

> /boot/efi/EFI/ubuntu

'Yes, looks like that was missed in the conversion to a transition package.
It used to be cleaned up like this: https://salsa.debian.org/efi-team/fwupdate/commit/b4daba89c567d4cf52f5deaab1ea2ee13039d03f#d0f1e7a780c0b1a978596fc9585a70ce84d2602d

I think we can bring that exact same code into the fwupdate preinst for cleanup purposes.

> /var/lib/fwupdate, /var/cache/fwupdate

The files created by fwupdate (*/done) are supposed to be cleaned up by the preinst already: https://salsa.debian.org/efi-team/fwupdate/blob/debian/debian/preinst

The directories aren't owned by the package anymore (https://salsa.debian.org/efi-team/fwupdate/commit/b4daba89c567d4cf52f5deaab1ea2ee13039d03f#335341f84c0e86d9e8f700882e5d743e69a4820c) so is there something else that got created that needed to be cleaned up?

I guess we can just put rm -fr /var/lib/fwupdate /var/cache/fwupdate instead of just removing */done.