Thursday, September 01, 2022

Re: unable to install texlive_texmf-full due to python reaching 2.7 end-of-life

On 2022/09/01 19:41, Ali Farzanrad wrote:
> Hi Stuart,
>
> I think that I know the problem.
> pkg_add will search python in stable directory before searching for it
> in release directory and it find python. However it will only find
> version 3, because there is no python 2 in stable directory.
>
> So it will stop searching (because it found python) and report that
> there is no python 2 available.
>
> I had similar problem with pkg_info, but I don't know Perl well, so I
> couldn't fix the issue. See my older email:
>
> https://marc.info/?l=openbsd-tech&m=159233657617055

If that was for a self-compiled version from the -stable branch
with "6.7-stable" in the kernel version number, that might affect
which directories are searched for. I don't have anything running
with a -stable kernel around to check that but I do *not* see that
with 7.1 + syspatches.

Not sure it's the same issue though, pkg_info is likely to behave
a bit differently than pkg_add.

I'll add to my "what exactly do you see" with:

- is anything set in PKG_PATH in the environment?

- what are the contents of /etc/installurl?

- what is the kernel version (sysctl kern.version, or better just
include dmesg)?

- what command line was used to attempt installing texlive_texmf-full?

>
> Stuart Henderson <stu.lists@spacehopper.org> wrote:
> > On 2022-09-01, Sandeep Gupta <gupta.sandeep@gmail.com> wrote:
> > > Is there a workaround for installing texlive_full on openbsd 7.1?
> > > Installing via package manager currently fails because
> > > it has Python2.7 as dependency which has reached end-of-life. Can I force
> > > the installation?
> >
> > Python 2.7 packages are still availsble, this doesn't block things in
> > packages.
> >
> > What exactly do you see when you try to install texlive?
> >
> >
> > --
> > Please keep replies on the mailing list.
> >
> >

No comments:

Post a Comment