[Bug 750042] New: let texlive-bin-latex require texlive-latex
https://bugzilla.novell.com/show_bug.cgi?id=750042 https://bugzilla.novell.com/show_bug.cgi?id=750042#c0 Summary: let texlive-bin-latex require texlive-latex Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: giecrilj@stegny.2a.pl QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 You can install texlive-bin-latex without texlive-latex. Such an installation contains broken links and should not be allowed. Reproducible: Always Steps to Reproduce: 1. { rpm -qf /usr/bin/latex; } 2. { file /usr/bin/latex; } 3. { file /usr/bin/../lib/texmf/bin/x86_64-linux/latex; } 4. { rpm -qf /usr/bin/../lib/texmf/bin/x86_64-linux/pdftex; } 5. { rpm -q --whatrequires texlive-bin; } 6. { rpm -q --whatrequires texlive; } 7. { rpm -q --whatrequires texlive-latex; } Actual Results: 1. texlive-bin-latex-2011-1.1.2.x86_64 2. /usr/bin/latex: symbolic link to `../lib/texmf/bin/x86_64-linux/latex' 3. /usr/bin/../lib/texmf/bin/x86_64-linux/latex: symbolic link to `pdftex' 4. texlive-bin-2011-1.1.2.x86_64 5. texlive-2011-1.1.2.noarch 6. texlive-latex-2011-1.1.2.noarch 7. no package requires texlive-latex Expected Results: 7. texlive-bin-latex-2011-1.1.2.x86_64 Actually, texlive-latex requires texlive-bin-latex, which seems to be a mistake because the LaTeX publishing system the package carries can be used with binary interpreters from various vendors. Workaround: never install texlive-bin-latex as such. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c1
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c2
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c3
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c4
--- Comment #4 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c5
Christopher Yeleighton
INVALID
Simply because texlive-latex pre-requires texlive-bin-latex. If I would add a requirement texlive-latex to texlive-bin-latex then the question is how to break the loop in the dependency chain.
Such loops exist e.g. in KDE and they do not cause any problems. They only mean that you need to install all interdependent packages in one transaction.
And never install texlive-bin-latex as such is not a workaround as you should install texlive-latex which then requires texlive-bin-latex before installing.
This is the workaround.
If you have a solution how to avoid a loop in the dependency chain by adding a require texlive-latex to texlive-bin-latex then you may reopen tihs bug ;)
The package texlive-latex requires texlive-bin-latex, which seems to be a mistake because the LaTeX publishing system the package carries can be used with binary interpreters from various vendors. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c6
--- Comment #6 from Christopher Yeleighton
Btw: why this one was assigned to the kernels people?
Apparently, because Kun Kun Zhang thought installation=kernel. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c7
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c8
--- Comment #8 from Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c9
--- Comment #9 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c10
--- Comment #10 from Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c11
--- Comment #11 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c12
--- Comment #12 from Christopher Yeleighton
Notice how X cannot be prereq.
<< Often package scriptlets need various other packages in order to execute correctly, and sometimes those dependencies aren't even needed at runtime, only for installation. Such install/erase-time dependencies can be expressed with "Requires(<scriptlet>): <dependency>" notation
Notice how there is no %prereq scriptlet.
Notice how the possibility of saying "Requires(X)" is not even mentioned. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c13
--- Comment #13 from Christopher Yeleighton
The problem was/is that texlive-latex is an noarch package and texlive-bin is e.g. i586 and as rpm spec files only allows to use
BuildArch: noarch
I've choosen this way to be able to use *one* spec file to build the arch as well as the noarch. And to make sure that the configurations scripts in the spec file will find the required binaries at installation time I've used this way.
That would be Requires(pre), not Prereq. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c14
--- Comment #14 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c15
--- Comment #15 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c16
--- Comment #16 from Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=750042
https://bugzilla.novell.com/show_bug.cgi?id=750042#c17
--- Comment #17 from Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com