Re: flavors: stupid install/upgrade questions

2009-09-12 Thread Marc Espie
On Thu, Sep 10, 2009 at 11:26:33AM +0200, Toni Mueller wrote: I'd also like to be able to specify that pkg_add should take the *latest* of a given package in case there are several versions. Eg. I often have several versions of nginx or other packages in my repository, and both private and

flavors: stupid install/upgrade questions

2009-09-10 Thread Toni Mueller
Hi, I learnt that I can say pkg_add -ui to get the latest of everything in my already-installed packages (right?). But I have to install a certain package first, and that's where the question begins: I'd like to be able to eg. say pkg_add vim_no-x11 and let the package system figure out which

Re: flavors: stupid install/upgrade questions

2009-09-10 Thread Kami Petersen
On 2009-09-10 11:26, Toni Mueller wrote: Hi, I learnt that I can say pkg_add -ui to get the latest of everything in my already-installed packages (right?). But I have to install a certain package first, and that's where the question begins: I'd like to be able to eg. say pkg_add vim_no-x11

Re: flavors: stupid install/upgrade questions

2009-09-10 Thread Chris Bennett
Kami Petersen wrote: On 2009-09-10 11:26, Toni Mueller wrote: Hi, I learnt that I can say pkg_add -ui to get the latest of everything in my already-installed packages (right?). But I have to install a certain package first, and that's where the question begins: I'd like to be able to eg.

Re: flavors: stupid install/upgrade questions

2009-09-10 Thread Stuart Henderson
On 2009/09/10 08:17, Chris Bennett wrote: Kami Petersen wrote: On 2009-09-10 11:26, Toni Mueller wrote: Hi, I learnt that I can say pkg_add -ui to get the latest of everything in my already-installed packages (right?). But I have to install a certain package first, and that's where

Re: flavors: stupid install/upgrade questions

2009-09-10 Thread Mikolaj Kucharski
On Thu, Sep 10, 2009 at 11:26:33AM +0200, Toni Mueller wrote: Hi, I learnt that I can say pkg_add -ui to get the latest of everything in my already-installed packages (right?). But I have to install a certain package first, and that's where the question begins: I'd like to be able to eg.

Re: flavors: stupid install/upgrade questions

2009-09-10 Thread Toni Mueller
Hi Nikolaj, On Thu, 10.09.2009 at 15:08:36 +0100, Mikolaj Kucharski miko...@kucharski.name wrote: Not sure will that help you, but try addapt attached port for your needs. I'm using this approach for months. this is a neat idea and easy to implement. I only don't see how to select specific

Re: flavors: stupid install/upgrade questions

2009-09-10 Thread Toni Mueller
On Thu, 10.09.2009 at 17:46:55 +0200, Toni Mueller openbsd-po...@oeko.net wrote: I only don't see how to select specific flavors this way. But maybe I'll see it later, after re-reading the various ports related man pages. I have to swallow my words. Stuart's hint does exactly that, emit all

Re: flavors: stupid install/upgrade questions

2009-09-10 Thread Mikolaj Kucharski
On Thu, Sep 10, 2009 at 05:57:27PM +0200, Toni Mueller wrote: I have to swallow my words. Stuart's hint does exactly that, emit all relevant flavors (thus illustrating how to specify them, too). My run_depends from meta port aren't to tight in terms of flavours or subpackage names, but you can

Re: flavors: stupid install/upgrade questions

2009-09-10 Thread Chris Bennett
Mikolaj Kucharski wrote: On Thu, Sep 10, 2009 at 05:57:27PM +0200, Toni Mueller wrote: I have to swallow my words. Stuart's hint does exactly that, emit all relevant flavors (thus illustrating how to specify them, too). My run_depends from meta port aren't to tight in terms of