Re: apt pinning to blacklist a package

2009-07-11 Thread Rob Owens
On Fri, Jul 10, 2009 at 09:58:23AM +0300, Andrei Popescu wrote: > On Thu,09.Jul.09, 21:50:43, Rob Owens wrote: > > > > > That doesn't work either. libmono0 is still installable. > > > > apt-cache policy libmono0 > > > > libmono0: > > Installed: (none) > > Candidate: 1.9.1+dfsg-6 > > Packa

Re: apt pinning to blacklist a package

2009-07-09 Thread Andrei Popescu
On Thu,09.Jul.09, 21:50:43, Rob Owens wrote: > > > That doesn't work either. libmono0 is still installable. > > apt-cache policy libmono0 > > libmono0: > Installed: (none) > Candidate: 1.9.1+dfsg-6 > Package pin: (not found) > Version table: > 2.0.1-6 -1 > 500 http://ftp.us

Re: apt pinning to blacklist a package

2009-07-09 Thread Rob Owens
On Thu, Jul 09, 2009 at 09:51:54AM +0300, Andrei Popescu wrote: > [You wrote to me directly instead of the list. I'm putting it back, > untrimmed, because others could help] > That was unintentional. Thanks for forwarding it to the list. > On Wed,08.Jul.09, 20:20:14, Rob Owens wrote: > > On Wed

Re: apt pinning to blacklist a package

2009-07-08 Thread Andrei Popescu
[You wrote to me directly instead of the list. I'm putting it back, untrimmed, because others could help] On Wed,08.Jul.09, 20:20:14, Rob Owens wrote: > On Wed, Jul 08, 2009 at 01:24:35PM +0300, Andrei Popescu wrote: > > On Tue,07.Jul.09, 21:38:57, Rob Owens wrote: > > > > > > Since "fakerepo" i

Re: apt pinning to blacklist a package

2009-07-08 Thread Andrei Popescu
On Tue,07.Jul.09, 21:38:57, Rob Owens wrote: > > Since "fakerepo" is not a valid release, "somepackage" is never > installable. I'm still not sure why my original scheme didn't work. Sounds kind of hackish. When you have troubles with pinning the output of 'apt-cache policy ' helps a lot. Rega

Re: apt pinning to blacklist a package

2009-07-07 Thread Rob Owens
On Tue, Jul 07, 2009 at 09:12:39PM -0400, Rob Owens wrote: > I can't figure out what I'm doing wrong... > > I want to prevent a particular package from ever being installed. In > /etc/apt/preferences I have: > > Package: somepackage > Pin: version * > Pin-Priority: -1 > > But the package can s

apt pinning to blacklist a package

2009-07-07 Thread Rob Owens
I can't figure out what I'm doing wrong... I want to prevent a particular package from ever being installed. In /etc/apt/preferences I have: Package: somepackage Pin: version * Pin-Priority: -1 But the package can still be installed by either command: apt-get install somepackage apt-get insta