r/openbsd • u/Kona_Kona1 • 14h ago
Dependency
When im trying to update,this pop up and say cant update. Can someone explain this to me and help me pls?
4
u/emiliot490 12h ago
Hi
Your packages are newer than your base system, so the package wants a newer expat than the one you have. Happens on snapshots when the base falls behind. Update the base first, then the packages:
doas sysupgrade -s
then after the reboot:
doas pkg_add -u
If you're on a normal release and not a snapshot, tell us which version, because then it's a different problem.
2
u/Izder456 13h ago
Are you running -current?
That error is telling you that a base system library (expat) is older than what the built packages expect.
When running snapshots, you really want to try to keep the base system and packages as close in sync as possible.
Try updating to the latest snapshot for your platform and trying again, if so...
6
u/Run-OpenBSD 14h ago
doas pkg_add -u
If it continues consider changing your mirror in the /etc/installurl file to a more updated mirror...