On Fri, Nov 15, 2024 at 07:36:25AM +0000, bsdbsdbsd1 wrote:
> Please, why is this?
> 
> pkg_add minidlna
> quirks-7.50 signed on 2024-11-14T21:43:11Z
> Can't install minidlna-1.3.3 because of libraries
> |library jpeg.71.0 not found
> | /usr/local/lib/libjpeg.so.70.2 (jpeg-3.0.2v0): bad major
> Direct dependencies for minidlna-1.3.3 resolve to flac-1.4.3 
> libid3tag-0.15.1bp6 ffmpeg-4.4.4p3v1 sqlite3-3.44.2 libexif-0.6.24 
> jpeg-3.0.2v0
> Full dependency tree is fribidi-1.0.13 libid3tag-0.15.1bp6 flac-1.4.3 
> x264-20221028p3 graphite2-1.3.14 libvorbis-1.3.7 speex-1.2.1 pcre2-10.37p2 
> png-1.6.43 libsamplerate-0.2.2p0 libass-0.17.1p0 libogg-1.3.5 harfbuzz-8.3.0 
> sqlite3-3.44.2 libexif-0.6.24 speexdsp-1.2.1 lame-3.100p2 xvidcore-1.3.7 
> libunibreak-5.1 cairo-1.18.0 sdl2-2.30.0p1 glib2-2.78.6 jpeg-3.0.2v0 
> libffi-3.4.4p1 python-3.10.14 opus-1.4 bzip2-1.0.8p0 gsm-1.0.22 aom-3.8.3 
> gettext-runtime-0.22.5 zimg-3.0.5 libvpx-1.14.1v0 libtheora-1.2.20190601p0 
> libxml-2.12.9 dav1d-1.2.1p3 ffmpeg-4.4.4p3v1 libiconv-1.17 libv4l-1.24.1 
> x265-3.5p3 libvidstab-1.1.0 lzo2-2.10p2 xz-5.4.5Couldn't install 
> minidlna-1.3.3
> 
> Thank you.

If you are following -current:
  You installed from a snapshot (a -current version at some point in
  time, `dmesg | head -1` will tell you when), and so the packages you
  have installed were build at that point in time.  But, as the name
  implies, -current moves forward, new snapshots are built, and the
  packages get upgrades.
  So now you are trying to install a recently-built package, from a more
  recent snapshot, and it calls for more recent libraries that those you
  have installed.  You need to upgrade the system to make it -current
  again (really easy with `sysupgrade`), and then install minidlna.

If you installed a release or are following -stable:
  Practically the same as above: you are probably trying to install a
  package built for a snapshot, and so your libraries are older than
  that.  In this case, either make sure `pkg_add` is searching check the
  TRUSTED_PKG_PATH and/or PKG_PATH are either undefined, or pointing to
  a release packages directory (e.g.
  https://cdn.openbsd.org/pub/OpenBSD/7.6/packages/amd64) or upgrade to
  a snapshot, to start following -current (with all that implies).
-- 
 

Reply via email to