r/openbsd • u/Kona_Kona1 • 20d ago
Dependency
When im trying to update,this pop up and say cant update. Can someone explain this to me and help me pls?
15
Upvotes
r/openbsd • u/Kona_Kona1 • 20d ago
When im trying to update,this pop up and say cant update. Can someone explain this to me and help me pls?
6
u/Run-OpenBSD 20d ago
doas pkg_add -u
If it continues consider changing your mirror in the /etc/installurl file to a more updated mirror...
5
u/emiliot490 20d 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.
3
u/Izder456 20d 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...