Sunday, May 03, 2020

Re: pkg_add can't resolve package - bad major

Ian Darwin wrote:
> On Sun, May 03, 2020 at 01:07:40PM +0000, katzeilla wrote:
>> I am using OpenBSD 6.6 and I noticed that pkg_add can't install any new
>> package:
>>
>> $ doas pkg_add emacs-26.3-no_x11
>>
>> quirks-3.185 signed on 2020-04-30T09:14:52Z
>> Can't install libxml-2.9.9 because of libraries
>>|library iconv.7.0 not found
>>| /usr/local/lib/libiconv.so.6.0 (libiconv-1.14p3): bad major
>
> Usual cause, and first thing to check, is using snapshot packages
> on a -stable system. All ports development is done on -current
> so newly-built ports can usually not be installed on the stable
> version due to libraries.

libiconv-1.16p0 is in 6.6 stable.
libiconv-1.14p3 is in 6.5 stable.

Did you forget to run "pkg_add -u" after the upgrade?

Cheers,
Stefan

No comments:

Post a Comment