On 2017-06-27 17:37 +0200, Floris wrote: > Just wondering, why has the grub2-common package two update-grub files? > > One is just a symlink to the other > ls -asl update-grub* > 4 -rwxr-xr-x 1 root root 64 jun 23 12:35 update-grub > 0 lrwxrwxrwx 1 root root 11 jun 23 14:47 update-grub2 -> update-grub > > If there are programs depending on update-grub2, a small transition > might have been a nicer solution.
I think the reason is that update-grub is also shipped in grub-legacy, and packages might want to call the script under the update-grub2 name to avoid the one from Grub 1. See bugs #460078[1] and #460079[2], for instance. Cheers, Sven 1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460078 2. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460079