[Bug 1089065] New: python dependency problem during LaTeX installation
http://bugzilla.suse.com/show_bug.cgi?id=1089065 Bug ID: 1089065 Summary: python dependency problem during LaTeX installation Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: abergmann@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I tried to install LaTex inside an openSUSE Leap 42.3 docker container and came across the following error: How to reproduce: #> docker pull opensuse #> docker run -it --rm --hostname latex opensuse /bin/bash Now during the latex installation the following error shows up: #latex> zypper in texlive-latex ... (197/197) Installing: texlive-currfile-2016.122.0.0.7csvn40725-24.5.noarch [done] Running: fonts-config-20150424-6.3-reconfigure-fonts (fonts-config, /var/adm/update-scripts) Running: fonts-config-20150424-6.3-reconfigure-fonts (fonts-config, /var/adm/update-scripts) [done] Running: fonts-config-20150424-6.3-reconfigure-cjk-fonts (fonts-config, /var/adm/update-scripts) Running: fonts-config-20150424-6.3-reconfigure-cjk-fonts (fonts-config, /var/adm/update-scripts) [done] Running: texlive-kpathsea-2016.122.svn41139-25.5-zypper (texlive-kpathsea, /var/adm/update-scripts) /bin/sh: /var/adm/update-scripts/texlive-kpathsea-2016.122.svn41139-25.5-zypper: /usr/bin/python: bad interpreter: No such file or directory Command exited with status 126. Abort, retry, ignore? [a/r/i] (a): The script that cannot be executed is this: #> ls -lh /var/adm/update-scripts/texlive-kpathsea-2016.122.svn41139-25.5-zypper /var/adm/update-scripts/texlive-kpathsea-2016.122.svn41139-25.5-zypper -> /usr/share/texmf/texconfig/zypper.py #> rpm -qf /usr/share/texmf/texconfig/zypper.py texlive-filesystem-2016.108-21.1.noarch #> head -n1 /usr/share/texmf/texconfig/zypper.py #!/usr/bin/python The problem gets triggered via texlive-filesystem that has only a "Requires: python". Because python3 has a "Provides: python" it gets installed. Unfortunately python3 has no link/binary called python. One way to fix this is a seperate "Requires(pre): /usr/bin/python" inside the texlive-filesystem.spec file. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1089065
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=1089065
http://bugzilla.suse.com/show_bug.cgi?id=1089065#c1
Dr. Werner Fink
#> rpm -qf /usr/share/texmf/texconfig/zypper.py texlive-filesystem-2016.108-21.1.noarch
#> head -n1 /usr/share/texmf/texconfig/zypper.py #!/usr/bin/python
The problem gets triggered via texlive-filesystem that has only a "Requires: python". Because python3 has a "Provides: python" it gets installed. Unfortunately python3 has no link/binary called python.
One way to fix this is a seperate "Requires(pre): /usr/bin/python" inside the texlive-filesystem.spec file.
I'd like to know why this has become a TeXLive bug. If python3 provides python3 then it should provide /usr/bin/python ... that looks like a simple approach of update-alternatives here -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1089065
http://bugzilla.suse.com/show_bug.cgi?id=1089065#c2
Alexander Bergmann
http://bugzilla.suse.com/show_bug.cgi?id=1089065
http://bugzilla.suse.com/show_bug.cgi?id=1089065#c3
--- Comment #3 from Tomáš Chvátal
http://bugzilla.suse.com/show_bug.cgi?id=1089065
http://bugzilla.suse.com/show_bug.cgi?id=1089065#c4
--- Comment #4 from Stephan Kulow
http://bugzilla.suse.com/show_bug.cgi?id=1089065
http://bugzilla.suse.com/show_bug.cgi?id=1089065#c5
Stephan Kulow
http://bugzilla.suse.com/show_bug.cgi?id=1089065
http://bugzilla.suse.com/show_bug.cgi?id=1089065#c6
Dr. Werner Fink
I think if the python scripts are gone for tumbleweed, we should resolv this as WONTFIX.
There are gone ... nevertheless providing "python" without /usr/bin/python is a bug IMHO -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1089065
http://bugzilla.suse.com/show_bug.cgi?id=1089065#c7
--- Comment #7 from Alexander Bergmann
participants (1)
-
bugzilla_noreply@novell.com