How to disable grub-mkconfig once and forever?
silver.bullet at zoho.com
Sat Jul 9 16:03:52 UTC 2016
On Sat, 9 Jul 2016 11:15:52 -0400, Tom H wrote:
>On Fri, Jul 8, 2016 at 8:48 AM, Ralf Mardorf <silver.bullet at zoho.com>
>> On Fri, 8 Jul 2016 08:25:34 -0400, Tom H wrote:
>>> On Fri, Jul 8, 2016 at 3:55 AM, Ralf Mardorf wrote:
>>>> since there seems to be no way to prevent Ubuntu from enforcing to
>>>> install GRUB
>>> Why can't you pin grub (and other bootloaders) to "-1"?
>> Does this prevent do-release-upgrade from installing GRUB?
>If grub-install isn't installed, it can't be run.
>[If pinning prevents a package or a task from being installed, you can
>create an equivs package to provide all the relevant grub packages.]
Actually I had a dummy package installed . I decided to remove the
dummy package before running do-release-upgrade. IOW grub-install
wasn't installed before the release upgrade, it was installed by the
release upgrade. FWIW there was no reason to use any of the dummy
packages with 15.10. I could remove them, since nothing required
grub-pc, gvfs or pulseaudio. They were installed just in case something
should require one of those packages. The grub-pc package is a
recommended dependency for the Ubuntu kernels. Assumed I should have
kept the grub-pc dummy package installed, perhaps with a very high
version number, perhaps epoch 2015 , wouldn't the release upgrade be
confused by such a dummy package?
[rocketmouse at archlinux ~]$ ls -hAl /mnt/moonstudio/usr/src/15.04_wily/dummies/
-rw-r--r-- 1 root root 185 Sep 6 2015 grub-pc
-rw-r--r-- 1 root root 2.0K Sep 6 2015 grub-pc_09-06-moonstudio_all.deb
-rw-r--r-- 1 root root 182 Sep 6 2015 gvfs
-rw-r--r-- 1 root root 2.0K Sep 6 2015 gvfs_09-06-moonstudio_all.deb
-rw-r--r-- 1 root root 188 Sep 6 2015 pulseaudio
-rw-r--r-- 1 root root 2.0K Sep 6 2015 pulseaudio_09-06-moonstudio_all.deb
[rocketmouse at archlinux ~]$ cat /mnt/moonstudio/usr/src/15.04_wily/dummies/grub-pc
Maintainer: Weremouse <silver.bullet at zoho.com>
Description: Dummy package
More information about the ubuntu-users