Re: Install latest package without prompts on OpenBSD 7.0

2022-01-11 Thread Alexis
Jeffrey Walton writes: How do I tell pkg_add to install the latest version without prompting me? Proof-of-concept wrapper script, written in Perl: https://gist.github.com/flexibeast/816610233ebbb3745ec43852a96b9248 Alexis.

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Crystal Kolipe
On Tue, Jan 11, 2022 at 01:13:27AM -, Stuart Henderson wrote: > On 2022-01-10, Ian Darwin wrote: > > On Mon, Jan 10, 2022 at 06:28:38PM -0300, Crystal Kolipe wrote: > >> On Mon, Jan 10, 2022 at 07:15:25PM +0100, Andreas Kusalananda Khri wrote: > >> > Which one is the "latest" here? > >> > >

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Stuart Henderson
On 2022-01-10, Ian Darwin wrote: > On Mon, Jan 10, 2022 at 06:28:38PM -0300, Crystal Kolipe wrote: >> On Mon, Jan 10, 2022 at 07:15:25PM +0100, Andreas Kusalananda Khri wrote: >> > Which one is the "latest" here? >> > >> >$ doas pkg_add bogofilter >> >doas (kk@box) password: >> >

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Stuart Henderson
On 2022-01-10, Andreas Kusalananda Kähäri wrote: > Which one is the "latest" here? > > $ doas pkg_add bogofilter > doas (kk@box) password: > quirks-4.92 signed on 2022-01-07T13:45:06Z > Ambiguous: choose package for bogofilter > a 0: > 1:

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Marc Espie
On Mon, Jan 10, 2022 at 10:54:22AM -0500, Ian Darwin wrote: > > > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > > > > of developer tools I use, like GCC and Git. When I attempt to install > > > > GCC I am prompted: > > > > > > > > $ sudo pkg_add gcc g++ > > > >

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Ian Darwin
On Mon, Jan 10, 2022 at 06:28:38PM -0300, Crystal Kolipe wrote: > On Mon, Jan 10, 2022 at 07:15:25PM +0100, Andreas Kusalananda Khri wrote: > > Which one is the "latest" here? > > > > $ doas pkg_add bogofilter > > doas (kk@box) password: > > quirks-4.92 signed on 2022-01-07T13:45:06Z

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Crystal Kolipe
On Mon, Jan 10, 2022 at 07:15:25PM +0100, Andreas Kusalananda Khri wrote: > Which one is the "latest" here? > > $ doas pkg_add bogofilter > doas (kk@box) password: > quirks-4.92 signed on 2022-01-07T13:45:06Z > Ambiguous: choose package for bogofilter > a 0: >

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Andreas Kusalananda Kähäri
On Mon, Jan 10, 2022 at 10:54:22AM -0500, Ian Darwin wrote: > > > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > > > > of developer tools I use, like GCC and Git. When I attempt to install > > > > GCC I am prompted: > > > > > > > > $ sudo pkg_add gcc g++ > > > >

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Ian Darwin
> > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > > > of developer tools I use, like GCC and Git. When I attempt to install > > > GCC I am prompted: > > > > > > $ sudo pkg_add gcc g++ > > > quirks-4.54 signed on 2022-01-09T19:08:35Z > > > Ambiguous: choose

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Marc Espie
[forgot to Cc the list] On Mon, Jan 10, 2022 at 11:36:04AM +0100, Marc Espie wrote: > On Sun, Jan 09, 2022 at 10:03:01PM -0500, Jeffrey Walton wrote: > > Hi Everyone, > > > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > > of developer tools I use, like GCC and Git. When

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Daniel Gracia
El lun, 10 ene 2022 a las 4:10, Jeffrey Walton () escribió: > Hi Everyone, > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > of developer tools I use, like GCC and Git. When I attempt to install > GCC I am prompted: > > $ sudo pkg_add gcc g++ > quirks-4.54 signed

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Daniel Gracia
El lun, 10 ene 2022 a las 4:10, Jeffrey Walton () escribió: > > Hi Everyone, > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > of developer tools I use, like GCC and Git. When I attempt to install > GCC I am prompted: > > $ sudo pkg_add gcc g++ > quirks-4.54 signed

Install latest package without prompts on OpenBSD 7.0

2022-01-09 Thread Jeffrey Walton
Hi Everyone, I am working on OpenBSD 7.0, x86_64. I'm trying to script an install of developer tools I use, like GCC and Git. When I attempt to install GCC I am prompted: $ sudo pkg_add gcc g++ quirks-4.54 signed on 2022-01-09T19:08:35Z Ambiguous: choose package for gcc a0: