Page MenuHomePhabricator

No postinst, preinst, etc for linux-image-3.19.0-2-amd64
Closed, ResolvedPublic


Installing linux-image-3.19.0-2-amd64 doesn't update initramfs or grub, and it turns out...:

02:16 	<akosiaris>	root@congratulatory-green-hair:/var/lib/dpkg/info# ls -l linux-image-3.19.0-
02:16 	<akosiaris>	linux-image-3.19.0-1-amd64.list       linux-image-3.19.0-1-amd64.postrm     linux-image-3.19.0-1-amd64.templates
02:16 	<akosiaris>	linux-image-3.19.0-1-amd64.md5sums    linux-image-3.19.0-1-amd64.preinst    linux-image-3.19.0-2-amd64.list
02:16 	<akosiaris>	linux-image-3.19.0-1-amd64.postinst   linux-image-3.19.0-1-amd64.prerm      linux-image-3.19.0-2-amd64.md5sums

so the -2 package is missing a bunch of things (preinst, postinst, pre/postrm, templates)

Event Timeline

yuvipanda raised the priority of this task from to Needs Triage.
yuvipanda updated the task description. (Show Details)
yuvipanda added a project: Operations.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 23 2015, 10:19 AM

Test instance with this package installed (but still older kernel) is congratulatory-green-hair.eqiad.wmflabs.

Interesting, I'll check what went wrong after my vacation. In the mean time using the meta package linux-meta will fix this as well; it handles the update of the initramfs and grub as well (but I'll also fix the isolated image postinst)

MoritzMuehlenhoff set Security to None.

I think I've found the problem, will be folded in the next round of 3.19 kernel updates.

@MoritzMuehlenhoff I upgraded a bunch of new servers to the latest kernel (-2). Does it impact those or I should not worry if it works for me?

@jcrespo: These are all fine, this is only a cornercase scenario for installations which don't use linux-meta (which takes care of updating the initrd)

Change 262455 had a related patch set uploaded (by Muehlenhoff):
Add maintainer scripts for 3.19 kernels

Change 262455 merged by Muehlenhoff:
Add maintainer scripts for 3.19 kernels

MoritzMuehlenhoff closed this task as Resolved.Mar 18 2016, 2:35 PM

This is fixed in the 4.4 package, I won't fix that in the 3.19 kernel any more (the kernel meta package solves that anyway)