Re: Preventing installation of specific virtual packages

2010-11-21 Thread Bob Proulx
Boyd Stephen Smith Jr. wrote: > The first task of a package manager is to ensure a consistent system > state by enforcing Depends. However, it is also supposed to make it > easy to install new software; most users and developers want > Recommends installed, since without them some advertised featu

Re: Preventing installation of specific virtual packages

2010-11-21 Thread Andrei Popescu
On Sb, 20 nov 10, 17:22:39, Boyd Stephen Smith Jr. wrote: > > I end up installing most Recommends, but I do configure my systems so > they are not installed automatically. I tend to install Recommends by default and just disable individual packages that seem useless for me. On minimal system

Re: Preventing installation of specific virtual packages

2010-11-20 Thread Boyd Stephen Smith Jr.
In <4ce83c26.7000...@allums.com>, Mark Allums wrote: >On 11/20/2010 3:12 PM, Javier Barroso wrote: >> On Sat, Nov 20, 2010 at 10:03 PM, Mark Allums wrote: >>> 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

Re: Preventing installation of specific virtual packages

2010-11-20 Thread Javier Barroso
On Sat, Nov 20, 2010 at 10:22 PM, Mark Allums wrote: > On 11/20/2010 3:12 PM, Javier Barroso wrote: >> >> On Sat, Nov 20, 2010 at 10:03 PM, Mark Allums  wrote: > >>> >>> 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 aut

Re: Preventing installation of specific virtual packages

2010-11-20 Thread Mark Allums
On 11/20/2010 3:12 PM, Javier Barroso wrote: On Sat, Nov 20, 2010 at 10:03 PM, Mark Allums wrote: 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 ov

Re: Preventing installation of specific virtual packages

2010-11-20 Thread Javier Barroso
On Sat, Nov 20, 2010 at 10:03 PM, Mark Allums 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  wrote: > > How can be blocked the installation of a package that is

Re: Preventing installation of specific virtual packages

2010-11-20 Thread Mark Allums
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 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) Thi

Re: Preventing installation of specific virtual packages

2010-11-20 Thread Boyd Stephen Smith Jr.
On Saturday 20 November 2010 02:58:32 Jason Heeris wrote: > On 20 November 2010 07:58, Javier Barroso 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 no

Re: Preventing installation of specific virtual packages

2010-11-20 Thread Jason Heeris
On 20 November 2010 07:58, Javier Barroso 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. Cheers, Jason -

Re: Preventing installation of specific virtual packages

2010-11-19 Thread Javier Barroso
On Fri, Nov 19, 2010 at 11:17 AM, Camaleón wrote: > On Fri, 19 Nov 2010 14:25:27 +0800, Jason Heeris wrote: > >> On 19 November 2010 14:03, Alan Ianson wrote: >>> Aptitude installs recommends by default. That can be turned off in >>> "Options -> Preferences -> Dependency handling -> Install recom

Re: Preventing installation of specific virtual packages

2010-11-19 Thread Jason Heeris
On 19 November 2010 18:39, Camaleón wrote: >> On 19 November 2010 18:17, Camaleón wrote: > It has to be global in order to affect all package manager tools. If not, > when a user installs a package by other means, the "tabu" one could be > also installed and that should be prevented. Well, I'm sp

Re: Preventing installation of specific virtual packages

2010-11-19 Thread Camaleón
On Fri, 19 Nov 2010 18:24:36 +0800, Jason Heeris wrote: > On 19 November 2010 18:17, Camaleón wrote: >> Something like having a "global switch" that prevents any of dpkg, apt- >> get, aptitude... to get a package going through and warns the user >> about it. > > It doesn't need to be global, some

Re: Preventing installation of specific virtual packages

2010-11-19 Thread Jason Heeris
On 19 November 2010 18:17, Camaleón wrote: > Something like having a "global switch" that prevents any of dpkg, apt- > get, aptitude... to get a package going through and warns the user about > it. It doesn't need to be global, something that works with either apt or aptitude will do, since these

Re: Preventing installation of specific virtual packages

2010-11-19 Thread Camaleón
On Fri, 19 Nov 2010 14:25:27 +0800, Jason Heeris wrote: > On 19 November 2010 14:03, Alan Ianson wrote: >> Aptitude installs recommends by default. That can be turned off in >> "Options -> Preferences -> Dependency handling -> Install recommended >> packages automatically". > > I still want to i

Re: Preventing installation of specific virtual packages

2010-11-18 Thread Jason Heeris
On 19 November 2010 14:03, Alan Ianson wrote: > Aptitude installs recommends by default. That can be turned off in > "Options -> Preferences -> Dependency handling -> Install recommended > packages automatically". I still want to install *most* recommends, just not quite *all*. So turning this op

Re: Preventing installation of specific virtual packages

2010-11-18 Thread Alan Ianson
On Fri, 2010-11-19 at 13:55 +0800, Jason Heeris wrote: > This originally arose from a discussion on debian-live[1] (sorry to > anyone who reads both lists, but it seemed more appropriate to > continue this tangent here). > > I wanted to block installation of a couple of recommended packages in > t

Preventing installation of specific virtual packages

2010-11-18 Thread Jason Heeris
This originally arose from a discussion on debian-live[1] (sorry to anyone who reads both lists, but it seemed more appropriate to continue this tangent here). I wanted to block installation of a couple of recommended packages in the chroot stage of a live-build, while letting all other recommends