How to disable grub-mkconfig once and forever?

Tom H tomh0665 at gmail.com
Wed Jul 13 12:36:30 UTC 2016


On Wed, Jul 13, 2016 at 8:06 AM, Ralf Mardorf <silver.bullet at zoho.com> wrote:
> On Sat, 9 Jul 2016 12:33:00 -0400, Tom H wrote:
>>>
>>> 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.
>>
>> 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.
>
> your dummy packages do not prevent against an unwanted install, but my
> dummy packages do :p.

Unless you add a "Conflicts: $PACKAGE", you'll still be able to
install $PACKAGE, but that shouldn't be necessary.

The "Provides: $PACKAGE" prevents $PACKAGE from being pulled in as a dependency.




More information about the ubuntu-users mailing list