[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#810697: fwupdate: unowned files after purge (policy 6.8, 10.8): /var/cache/fwupdate/done

Followup-For: Bug #810697
Control: found -1 0.5-3


the recently added cleanup during purge fails if the fw directory is
missing. rmdir --ignore-fail-on-non-empty still fails in that case:

0m54.2s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpYBfrjy', 'dpkg', '--purge', 'fwupdate']
0m54.2s DUMP: 
  (Reading database ... 7352 files and directories currently installed.)
  Removing fwupdate (0.5-3) ...
  Purging configuration files for fwupdate (0.5-3) ...
  rmdir: failed to remove '/boot/efi/EFI/debian/fw': No such file or directory
  dpkg: error processing package fwupdate (--purge):
   subprocess installed post-removal script returned error exit status 1
  Errors were encountered while processing:
0m54.2s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/tmp/piupartss/tmpYBfrjy', 'dpkg', '--purge', 'fwupdate']

This was observed after an upgrade from testing to sid.

Also note that you should somehow fix old installation that were made without
lsb-release installed, EFIDIR will have been empty upon installation in that
case, creating this structure:

# find /boot


Reply to: