How to disable grub-mkconfig once and forever?

Tom H tomh0665 at gmail.com
Sat Jul 9 18:37:36 UTC 2016


On Sat, Jul 9, 2016 at 12:53 PM, Ralf Mardorf <silver.bullet at zoho.com> wrote:
> On Sat, 9 Jul 2016 12:33:00 -0400, Tom H wrote:
>> On Sat, Jul 9, 2016 at 12:03 PM, Ralf Mardorf <silver.bullet at zoho.com>
>>>
>>> optional Standards-Version: 3.9.2
>>>
>>> Package: grub-pc
>>> Version: 2015:09-06-moonstudio
>>> Maintainer: Weremouse <silver.bullet at zoho.com>
>>> Architecture: all
>>> Description: Dummy package
>>
>> You should've kept the dummy package.
>
> Perhaps. Likely the epoch 2015 would have prevented an upgrade/install.

Perhaps, but I don't see why.


>> When I use equivs, I name the package replacing $PACKAGE
>> "local-$PACKAGE" and have
>>
>> Package: local-$PACKAGE
>> Version: 1.0
>> Replaces: $PACKAGE
>> Provides: $PACKAGE
>>
>> in the control file.
>
> Thank you.

You're welcome.


> I will build the dummy packages this way for 16.04.
>
> So, since there is no package "local-grub-pc"of any version peovidedby
> official repositories and it replaces and provides "grub-pc" without
> mentioning what version of grub-pc, this might be safer, than a high
> epoch number of a package named "grub-pc".
>
> I suspect you call it "local-", because it's a local package, it
> isn't a special flag, naming it "foo-" does also work.

The high epoch number's OK.

I've used "local-" once in the past but I usually use "tomh-" at my
home and "xyz-" at company XYZ.

You can also use "-local" (or whatever) as a suffix rather than as a prefix.




More information about the ubuntu-users mailing list