On Sat, Mar 09, 2024 at 02:27:36PM +0500, ofthecentury wrote:
> I had a similar problem this week, for amd64.
> The 'packages/amd64' folder on the OpenBSD
> mirrors for 7.5 snapshot is also empty. So I
> just manually set PKG_PATH to 7.4 packages
> folder for the time being.

This will likely break things. You would be effectively mixing an
almost-7.5 base with 7.4 packages. The solution is to point at the
snapshots packages directory, which is what -Dsnap does for you.

> On Sat, Mar 9, 2024 at 2:15 PM Dmitry Matveyev <pub...@greenfork.me> wrote:
> >
> > Hi,
> >
> > I was running an OpenBSD with this description of the iso: OpenBSD
> > 7.4-current 2023-11-03 (arm64). A week ago I started getting an error
> > trying to install any package:
> >
> > # pkg_add -Uvi colorls
> > Update candidates: quirks-7.12 -> quirks-7.12
> > Update candidates: updatedb-0p0 -> updatedb-0p0
> > quirks-7.12 signed on 2024-03-05T14:52:30Z
> > Can't install colorls-7.4 because of libraries
> > |library c.99.0 not found
> > | /usr/lib/libc.so.98.0 (system): bad major
> > Couldn't install colorls-7.4
> >
> > Here I have an older version whereas the package requires a newer
> > version.
> >
> > I've read that it might be due to using -current and that I need to
> > upgrade my system to the latest snapshot. I have run sysupgrade and now
> > uname says that I'm on OpenBSD 7.5 GENERIC.MP#128 arm64. And now I can't
> > install anything at all because pkg_add complains that it can't find a
> > directory https://ftp.hostserver.de/pub/OpenBSD/7.5/packages/aarch64/. I
> > have checked several mirrors at https://www.openbsd.org/ftp.html and
> > they indeed don't have any packages under 7.5.
> >
> > How do I fix this?
> >
> 

Reply via email to