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

2022-09-04 Thread Sandeep Gupta
HI Stuart,

I was redoing the install to reproduce the error messages. But this time it
went fine.
I guess the difference was previously I ran the  command as root
and this time as sudo/doas user. Might be something to do with PATH
environment
for root vs. non-root user. Sorry for the noise.

Thanks
-S


out
Description: Binary data


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

2022-09-01 Thread Stuart Henderson
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=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  wrote:
> > On 2022-09-01, Sandeep Gupta  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.
> > 
> > 



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

2022-09-01 Thread Ali Farzanrad
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=159233657617055

Stuart Henderson  wrote:
> On 2022-09-01, Sandeep Gupta  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.
> 
> 



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

2022-09-01 Thread Stuart Henderson
On 2022-09-01, Sandeep Gupta  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.