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

Re: Bug#843727: fix inside



On 11/10/2016 01:28 PM, Cyril Brulebois wrote:
Hi Aurélien,

Aurélien COUDERC <zecoucou@free.fr> (2016-11-10):
Committed, thanks.

@all, in postinst I see that update-grub is called with
         update-grub || true
to ensure package installation succeeds even if it returns an error.

Shouldn't we do the same with update-initramfs -u ?
Currently it's called as is so if returns non-zero it'll break package
install like #843727 due to set -e.

I don't think that's reasonable. Debian Policy mandates proper error
reporting, so as to stop the installation/update process if errors are
encountered, see Debian Policy 6.1:

  https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html

System without initramfs will then fail installing the packages. I'm not sure it is normal for desktop-base to mandate update-initramfs or it should explicitly depend on it (and on grub BTW).

-- eric



Reply to: