texlive-science is preventing me from updating my system


I am having a problem with dev-texlive/texlive-science which is preventing me from updating my system … but it is no longer installed on my system:

 # qlist -Iv | grep texlive-science
 # equery depends texlive-science
 * These packages depend on texlive-science:

When I try to update, cl-update fails with:

[blocks B      ] dev-texlive/texlive-science ("dev-texlive/texlive-science" is blocking dev-texlive/texlive-mathscience-2016)

Similar problems with texlive are documented on the Gentoo forum: https://forums.gentoo.org/viewtopic-t-1058040-highlight-texlive.html and the answer is essentially to uninstall then reinstall texlive, which I have done. I unmerged all texlive packages then reinstalled only app-text/texlive and its dependencies - but I did not re-install dev-texlive/texlive-science.

So where/how/why is it?

Any help would be much appreciated!

Thanks, Bill

Update: I have been able to update my system by removing texlive then doing a depclean. I can now install some of texlive but dev-texlive/texlive-science is still blocking dev-texlive/texlive-mathscience-2016

1. Remove all texlive and latex packages

 # emerge --unmerge $(qlist --installed dev-texlive/texlive)
 # emerge --unmerge app-text/texlive app-text/texlive-core
 # emerge --unmerge dev-tex/latex-beamer virtual/latex-base

2. depclean

 # emerge --depclean --ask

3. Update

 # cl-update


 * System update finished!

Note that some texlive packages were pulled in by other packages I use:

 # qlist --installed texlive
T430cl wjc721 #

 # qlist --installed latex

Installing app-text/texlive still fails

 # emerge -abk app-text/texlive

[blocks B      ] dev-texlive/texlive-science ("dev-texlive/texlive-science" is blocking dev-texlive/texlive-mathscience-2016)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-texlive/texlive-science-2015:0/0::gentoo, installed) pulled in by
    dev-texlive/texlive-science required by @selected

  (dev-texlive/texlive-mathscience-2016:0/0::gentoo, binary scheduled for merge) pulled in by
    dev-texlive/texlive-mathscience required by (dev-texlive/texlive-xetex-2016:0/0::gentoo, binary scheduled for merge)

My question is should I mask dev-texlive/texlive-science or dev-texlive/texlive-mathscience-2016 to avoid this problem? If so, how exactly?



If I install only texlive, i have :

1 [10:44:16] adrien@superlinux: ~  $ emerge -pv app-text/texlive

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary  N     ] dev-libs/kpathsea-6.2.3_p20170524:0/6.2.3::gentoo  USE="-doc -source -static-libs" 276 KiB
[binary  N     ] app-text/t1utils-1.39::gentoo  77 KiB
[binary  N     ] app-text/psutils-1.17-r3::gentoo  73 KiB
[binary  N     ] media-gfx/sam2p-0.49.3::gentoo  USE="gif -examples" 240 KiB
[binary  N     ] app-text/vlna-1.5::gentoo  55 KiB
[binary  N     ] x11-proto/printproto-1.0.5-r1::gentoo  ABI_X86="(64) -32 (-x32)" 55 KiB
[binary  N     ] x11-libs/libXp-1.0.3::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 123 KiB
[binary  N     ] app-text/ps2eps-1.68::gentoo  71 KiB
[binary  N     ] app-text/ttf2pk2-2.0_p20160523::gentoo  310 KiB
[binary  N     ] dev-perl/OLE-StorageLite-0.190.0-r1::gentoo  43 KiB
[binary  N     ] dev-perl/Digest-Perl-MD5-1.900.0::gentoo  37 KiB
[binary  N     ] dev-perl/Crypt-RC4-2.020.0-r1::gentoo  33 KiB
[binary  N     ] dev-perl/IO-stringy-2.111.0::gentoo  58 KiB
[binary  N     ] dev-perl/Unicode-Map-0.112.0-r1::gentoo  269 KiB
[binary  N     ] app-text/dvipsk-5.997_p20170524::gentoo  USE="-doc -source" 283 KiB
[binary  N     ] dev-tex/bibtexu-3.71_p20170524::gentoo  USE="-doc -source" 156 KiB
[binary  N     ] dev-libs/zziplib-0.13.62-r2::gentoo  USE="sdl -doc -static-libs {-test}" 169 KiB
[binary  N     ] dev-libs/ptexenc-1.3.5_p20170524::gentoo  USE="iconv -static-libs" 39 KiB
[binary  N     ] app-text/teckit-2.5.6::gentoo  USE="-static-libs" 529 KiB
[binary  N     ] app-text/ps2pkm-1.8_p20170524::gentoo  100 KiB
[binary  N     ] virtual/perl-XSLoader-0.220.0-r1::gentoo  11 KiB
[binary  N     ] app-text/texlive-core-2016-r5::gentoo  USE="X cjk luajittex xetex -doc -source -tk" 20759 KiB
[binary  N     ] dev-perl/Text-CSV_XS-1.280.0::gentoo  USE="-examples {-test}" 85 KiB
[binary  N     ] dev-texlive/texlive-basic-2016::gentoo  USE="luajittex -doc -source" 11105 KiB
[binary  N     ] dev-perl/Spreadsheet-ParseExcel-0.650.0::gentoo  USE="unicode -cjk {-test}" 90 KiB
[binary  N     ] virtual/tex-base-0::gentoo  6 KiB
[binary  N     ] dev-texlive/texlive-latex-2016::gentoo  USE="-doc -source" 3322 KiB
[binary  N     ] dev-texlive/texlive-genericrecommended-2016::gentoo  USE="-doc -source" 347 KiB
[binary  N     ] dev-texlive/texlive-fontutils-2016::gentoo  USE="-doc -source" 252 KiB
[binary  N     ] dev-texlive/texlive-langspanish-2016::gentoo  USE="-doc -source" 91 KiB
[binary  N     ] dev-texlive/texlive-langitalian-2016::gentoo  USE="-doc -source" 44 KiB
[binary  N     ] dev-texlive/texlive-langeuropean-2016::gentoo  USE="-doc -source" 2490 KiB
[binary  N     ] dev-texlive/texlive-langgerman-2016::gentoo  USE="-doc -source" 582 KiB
[binary  N     ] app-text/lcdf-typetools-2.106::gentoo  USE="kpathsea" 1303 KiB
[binary  N     ] dev-texlive/texlive-langfrench-2016::gentoo  USE="-doc -source" 191 KiB
[binary  N     ] dev-texlive/texlive-langenglish-2016::gentoo  USE="-doc -source" 93 KiB
[binary  N     ] dev-texlive/texlive-langportuguese-2016::gentoo  USE="-doc -source" 41 KiB
[binary  N     ] dev-texlive/texlive-fontsrecommended-2016::gentoo  USE="-doc -source" 99474 KiB
[binary  N     ] dev-texlive/texlive-latexrecommended-2016::gentoo  USE="-doc -source" 7568 KiB
[binary  N     ] dev-texlive/texlive-langcyrillic-2016::gentoo  USE="-doc -source" 3657 KiB
[binary  N     ] dev-texlive/texlive-langpolish-2016::gentoo  USE="-doc -source" 2957 KiB
[binary  N     ] virtual/latex-base-1.0::gentoo  9 KiB
[binary  N     ] dev-tex/xcolor-2.12::gentoo  USE="-doc" 708 KiB
[binary  N     ] app-text/xdvik-22.87.03::gentoo  USE="-Xaw3d -emacs -motif -neXt" 384 KiB
[binary  N     ] app-text/dvipng-1.15::gentoo  USE="truetype {-test}" 113 KiB
[binary  N     ] dev-tex/pgf-3.0.1-r1::gentoo  USE="-doc -source" 734 KiB
[binary  N     ] dev-tex/latex-beamer-3.36::gentoo  USE="-doc -examples" 268 KiB
[binary  N     ] dev-texlive/texlive-pstricks-2016::gentoo  USE="-doc -source" 25944 KiB
[binary  N     ] dev-texlive/texlive-pictures-2016::gentoo  USE="-doc -source" 3562 KiB
[binary  N     ] dev-texlive/texlive-latexextra-2016::gentoo  USE="-doc -source" 13071 KiB
[binary  N     ] dev-texlive/texlive-mathscience-2016::gentoo  USE="-doc -source" 3813 KiB
[binary  N     ] dev-texlive/texlive-xetex-2016::gentoo  USE="X -doc -source" 3724 KiB
[binary  N     ] dev-texlive/texlive-luatex-2016::gentoo  USE="-doc -source" 976 KiB
[binary  N     ] dev-texlive/texlive-langczechslovak-2016::gentoo  USE="-doc -source" 3562 KiB
[binary  N     ] app-text/texlive-2016::gentoo  USE="X png truetype -cjk -context -detex -dvi2tty -epspdf -extra -games -graphics -humanities -jadetex -luatex -metapost -music -omega -pdfannotextractor -pstricks -publishers -science -tex4ht -texi2html -xetex -xindy -xml" L10N="bg cs da de en en-GB es et fi fr hr hu it lt lv nl pl pt ro ru sk sl sq sv uk -af -ar -as -bn -br -ca -cy -el -eo -eu -fa -ga -gl -gu -he -hi -hsb -hy -ia -id -is -ja -kn -ko -la -lo -ml -mn -mr -nb -nn -no -or -pa -rm -sa -sco -sr -ta -te -th -tk -tr -vi -zh" 21 KiB

Total: 55 packages (55 new, 55 binaries), Size of downloads: 214325 KiB

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

The dev-texlive/texlive-mathscience is installed but no dev-texlive/texlive-science

I think dev-texlive/texlive-science is not compatible with texlive.

* dev-texlive/texlive-science
     Available versions:  ~2012 2012-r1 ~2013 2014 2015 {doc source}
     Homepage:            http://www.tug.org/texlive/
     Description:         TeXLive Natural and computer sciences

There are no 2016 version oof texlive-science, it’s maybe the problem?

Thanks Adrien,

I think that you are correct, the package texlive-science is the problem. When I try to emerge app-text/texlive it fails because it tries to pull in texlive-science, so I have had to install the individual texlive packages separately to avoid texlive-science.

So my question becomes: what is the correct (Calculate/Gentoo) way of blocking the installation of the package texlive-science so that portage or cl-update will not try to install it? I am pretty sure that I do not need it.


You can mask the dev-texlive/texlive-science package (only versions < 2016)

In /etc/portage/package.mask/custom , add


When 2016 version released, it will not masked because you mask only < 2016.

When I try to install textlive alone, emerge doesn’t pull texlive-science

That worked thanks Adrien (after I removed dev-texlive/texlive-science!)

Thanks, Bill