Don't know what's wrong with the pkg database (/var/db/pkg/) on your
system, but on mine the shared-mime-info-2.2 package includes a definition
for the update-mime-info tag, so if yours lacks that then something in
there got hosed during your upgrade.  Could be data loss from disk failure,
could be something pruned critical info from /var/db/pkg/, could be
something I can't think of.

So, I would suggest starting with verifying your confidence in your storage
(no kernel log error messages about I/O errors?  If this machine has
suffered any file system issues then maybe backup, verify-backup, newfs and
restore?)

Then I would probably reinstall *all* packages, but since I don't (fully)
trust the pkg database, I would probably do it with the
1) pkg_info -mz > manual
2) cd /var/db/pkg && pkg_delete *
3) make sure nothing unexpected has been left behind in /var/db/pkg/ or
/usr/local/*
4) pkg_add -l manual


Or maybe now's a good time to do a fresh install.  <shrug>


Philip Guenther


On Sun, Oct 22, 2023 at 3:34 PM Mark <[email protected]> wrote:

> Tried changing the installurl, an another mirror, but didn't help.
>
> Here's what actually happens;
>
> https://i.ibb.co/G0wbGf5/terminal-sshot.png
>
> Regards.
>
> Mark <[email protected]>, 23 Eki 2023 Pzt, 01:16 tarihinde şunu
> yazdı:
>
> > pkg_add ImageMagick-6.9.12.88p0 gives me;
> >
> > (after fetching few libraries)
> >
> > "Can't install ImageMagick-6.9.12.88p0: can't resolve
> > djvulibre-3.5.28p1,libheif-1.16.2p0"
> >
> > and then;
> > "Couldn't install ImageMagick-6.9.12.88p0 djvulibre-3.5.28p1
> > libheif-1.16.2p0."
> >
> > This is a fresh OpenBSD 7.4 amd64 release. My installurl is pointed to
> > cdn.openbsd.org/pub/OpenBSD.
> >
> > Any other php packages were installed fine. But both
> > pecl80-imagick-3.7.0p1 and ImageMagick fail.
> >
> > Some idea would be much appreciated!
> >
> > Regards.
> >
>

Reply via email to