[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preventing installation of specific virtual packages



On Sat, Nov 20, 2010 at 10:03 PM, Mark Allums <mark@allums.com> wrote:
> On 11/20/2010 4:10 AM, Boyd Stephen Smith Jr. wrote:
>>
>> On Saturday 20 November 2010 02:58:32 Jason Heeris wrote:
>>>
>>> On 20 November 2010 07:58, Javier Barroso<javibarroso@gmail.com>  wrote:
>>>>>
>>>>> How can be blocked the installation of a package that is not installed?
>>>>
>>>> Pinning it to a negative number [1]? (I didn't try it)
>>>
>>> This will work for a normal package, but not for a virtual package,
>>> which is my original problem.
>>
>> I think you'll just have to use this method to blacklist all the providers
>> of
>> that virtual package, sorry.
>>
>> It is easy enough to find a list of the current providers of a virtual,
>> but
>> you might have to update you pinning whenever a new package is added that
>> provides the virtual you don't want pulled in as a recommend.
>
>
> I'm unsure whether I have ever fully grasped the whole apt system, in all
> it's glory, but why would a recommends ever be automatically pulled in?
>  Wouldn't it give the admin complete control over his system to notify only,
> and take control away from him to automatically install anything?  What is
> the point of Linux, anyway, if we can't control what goes on our computer.
>  Might as well be running Windows.
You can control what is going to be installed in your debian, if you
don't want recommendations to be installed automatically, simply turn
off this option in apt configuration.

Regards,


Reply to: