Re: No longer able to install packages on -current

2023-09-27 Thread Julian Gindi
On 09-27-23 19:12:34, Mikhail wrote:
> On Wed, Sep 27, 2023 at 09:10:22AM -0700, Julian Gindi wrote:
> > Hello,
> > 
> > As of yesterday, I am no longer able to install any packages using
> > "pkg_add". I am greated with the following error (using tree as an
> > example. I am not able to get any packages to install):
> > 
> > > $ doas pkg_add -u tree
> > > Can't find tree
> > > Problem finding tree
> > > https://cdn.openbsd.org/pub/OpenBSD/7.4/packages/amd64/: no such dir
> > 
> > This seemed to correspond to my sysupgrade also no longer working
> > without passing in the "-s" flag. Is there anything I need to do locally
> > to fix this? This is my first time running -current, so there might be
> > some manual steps I'm missing. Thanks for any help!
> 
> Add "-D snap" to the pkg_add command
Amazing! Thanks, this fixed my issue. The mailing lists are extremely helpful
yet again!

- Julian



Re: No longer able to install packages on -current

2023-09-27 Thread Gabriel Busch de Brito
Try "pkg_add -D snap -u".

Best,
g



Re: No longer able to install packages on -current

2023-09-27 Thread Mikhail
On Wed, Sep 27, 2023 at 09:10:22AM -0700, Julian Gindi wrote:
> Hello,
> 
> As of yesterday, I am no longer able to install any packages using
> "pkg_add". I am greated with the following error (using tree as an
> example. I am not able to get any packages to install):
> 
> > $ doas pkg_add -u tree
> > Can't find tree
> > Problem finding tree
> > https://cdn.openbsd.org/pub/OpenBSD/7.4/packages/amd64/: no such dir
> 
> This seemed to correspond to my sysupgrade also no longer working
> without passing in the "-s" flag. Is there anything I need to do locally
> to fix this? This is my first time running -current, so there might be
> some manual steps I'm missing. Thanks for any help!

Add "-D snap" to the pkg_add command