Bug 801874

Summary: Installing a complete texlive on 12.3 Beta is EXTREMELY slow
Product: [openSUSE] openSUSE Tumbleweed Reporter: Forgotten User xRcrmyYBVX <forgotten_xRcrmyYBVX>
Component: OtherAssignee: Dr. Werner Fink <werner>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ma, mls
Version: 13.1 Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User xRcrmyYBVX 2013-02-03 15:58:10 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17

We are installing basically all texlive packages for openSUSE 12.3 Beta 1 during an AutoYast installation.

The problem is that this procedure is EXTREMELY slow, most likely due to the repeated calls in the %posttrans of each and every package:
--------
%posttrans
VERBOSE=false %{_texmfmaindir}/texconfig/update || :
--------
which becomes slower and slower as more and more packages are installed.

The machine has a Intel Core i7 3+ GHz CPU, but still the installation of TeXLife takes about 45minutes or so, which is still acceptable but bad.

Reproducible: Always
Comment 1 Dr. Werner Fink 2013-02-04 08:10:10 UTC
I'm aware of this fact but if the the %posttrans scriptlets would be called after installing all rpm of a transaction like installin texlive only the first scriptlet would do the work as the update script will remove the tag files below /var/run/texlive.

The problem is libzypp and rpm which does not support libzypp.  I can do exactly nothing.  it would be prefect if the rpm people would add the option --notransscripts like the already existing options --noscripts and --notriggers which would allow libzypp to extract the %posttrans scriptlets and excute them *after* all rpm had been installed.

*** This bug has been marked as a duplicate of bug 773575 ***
Comment 2 Forgotten User xRcrmyYBVX 2013-02-04 08:51:57 UTC
Ok, thanks for the explanation!
We will most likely use an AutoYast image for TeXLife or just live with it for now...