Yes, I do believe the pkg_add -u is failing.
For starters here is my current package source info.
=============================================
farm# echo $PKG_PATH
farm# cat /etc/installurl
https://cdn.openbsd.org/pub/OpenBSD
farm#
=============================================
However, at some point earlier I had used
#export PKG_PATH=http://ftp.vim.org/OpenBSD/6.6/packages/amd64/
[Now commented out in the .profile]
I had gotten behind in making updates, and so started using packages from
there.
My fault certainly. But hoping I could recover, and in the process
learning a bit more about how the structure can get damaged, and hence
understand better how it all works.
Will have to run the full pkg_add -u, under current conditions, later
today, as I have to run across the border shortly.
If it becomes probable that I am wasting you folks time with too unique a
circumstance feel free to say so.
Meanwhile, I really appreciate such shared insights as helps my general
orientation.
Regards,
Austin
On Thu, 30 Jul 2020, Solene Rapenne wrote:
> On Thu, 30 Jul 2020 09:32:53 -0600 (MDT)
> Austin Hook <[email protected]>:
>
> > Here's the output of pkg_check
> >
> > farm# pkg_check
> > Packing-list sanity: ok
> > Direct dependencies: ok
> > --- gcj-4.9.4p12 -------------------
> > dependency lang/gcc/4.9,-main:gcc->=4.9,<4.10:gcc-4.9.4p12 does not match
> > any installed package
> > Reverse dependencies: ok
> > Files from packages: ok
>
> gcj is non existent in 6.6, it was removed. The removal reason
> should be displayed as the last line of pkg_add -u output IIRC.
>
> Are you sure you did run pkg_add -u and it worked correctly?
>
On Thu, 30 Jul 2020, Stuart Henderson wrote:
> On 2020/07/29 09:36, Austin Hook wrote:
> >
> > Probably got my packages messed up at some point, and should just stop
> > doing endless "upgrades", and start clean with 6.7, but for learning
> > purposes and perspective, would appreciate tips on why doing a pkg_add of
> > firefox under 6.6 would fail, while looking for a version of atk that that
> > is not in the packages for 6.6?
> >
> >
> > farm# pkg_add firefox
> > quirks-3.187 signed on 2020-05-19T14:41:48Z
> > Can't install firefox-72.0.2 because of libraries
> > |library atk-1.0.21809.3 not found
> > ...
> >
> > But looking at:
> >
> > https://ftp.openbsd.org/pub/OpenBSD/6.6/packages/amd64/
> >
> > I only see: atk-2.... and no atk-1....
>
> atk-1.0.21809.3 reported by pkg_add in the "library not found" line refers
> to the library version (file /usr/local/lib/libatk-1.0.so.21809.3) not the
> package version (this library is contained in the atk-2.32.0 package).
> >
> > -------------------------- <clip> ----------------------
> > at-spi2-core-2.32.1.tgz 12-Oct-2019 06:06 258681
> > atari800-4.1.0.tgz 12-Oct-2019 06:06 408617
> > atf-0.18p3.tgz 12-Oct-2019 06:06 1129085
> > atk-2.32.0.tgz 12-Oct-2019 06:06 461597
> > atk2mm-2.28.0.tgz 12-Oct-2019 06:06 1238387
> > atlas-0.4.3.1p10.tgz 12-Oct-2019 06:06 2360270
> > atomicparsley-0.9.6p3.tgz 12-Oct-2019 06:06 138835
> > --------------------------- </clip> -----------------------
> >
> > I realize that there are dependencies of dependencies going on here. but
> > for perspective, why wouldn't atk-1... exist in the same package
> > repository as the 6.6 version of firefox does, if that version (or
> > probably it's other dependencies) requires it. Wouldn't package testing
> > have failed for firefox when it was tested for 6.6? And if not, why not?
> >
> > Thanks in advance, for any comment.
> >
> > Austin Hook
> >
> >
> >
> >
> >
> >
>
> Could you show the full output from these please?
>
> echo $PKG_PATH
> cat /etc/installurl
> pkg_add -u
> pkg_info
>