Announcement

Collapse
No announcement yet.

Problems in texlive

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problems in texlive

    Hi,

    I upgraded from 16.04 to 18.04 and I have some issues with texlive packages.

    Code:
    E: /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20180305-2_all.deb: trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
    When I try to fix it:

    Code:
    viniciusbr@viniciusbr:~$ sudo apt-get -f install 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
     fonts-cabin fonts-comfortaa fonts-ebgaramond fonts-ebgaramond-extra fonts-font-awesome fonts-freefont-otf
     fonts-gfs-artemisia fonts-gfs-complutum fonts-gfs-didot fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-solomos
     fonts-junicode fonts-lobster fonts-lobstertwo fonts-oflb-asana-math fonts-sil-gentium fonts-sil-gentium-basic
     fonts-sil-gentiumplus libfile-homedir-perl libice-dev libpthread-stubs0-dev libpython3.6-minimal libsm-dev
     libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxt-dev libyaml-tiny-perl linux-signed-generic-hwe-16.04
     linux-signed-image-generic-hwe-16.04 ps2eps python3.6-minimal texlive-fonts-extra-doc texlive-pstricks-doc
     x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
     fontconfig-config libfontconfig1 libfreetype6 libharfbuzz0b libkpathsea6 libmpc3 libmpfr6 libpoppler73 libptexenc1
     libsynctex1 libtexlua52 libtexluajit2 texlive-base texlive-binaries texlive-fonts-extra-doc
     texlive-fonts-recommended texlive-lang-english texlive-lang-portuguese texlive-latex-base texlive-latex-base-doc
     texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-pictures
     texlive-pictures-doc texlive-plain-generic texlive-pstricks-doc
    Suggested packages:
     perl-tk python-pygments icc-profiles libspreadsheet-parseexcel-perl texlive-pstricks dot2tex prerex ruby-tcltk
     | libtcltk-ruby vprerex
    The following NEW packages will be installed:
     libmpfr6 libpoppler73 texlive-binaries texlive-plain-generic
    The following packages will be upgraded:
     fontconfig-config libfontconfig1 libfreetype6 libharfbuzz0b libkpathsea6 libmpc3 libptexenc1 libsynctex1 libtexlua52
     libtexluajit2 texlive-base texlive-fonts-extra-doc texlive-fonts-recommended texlive-lang-english
     texlive-lang-portuguese texlive-latex-base texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc
     texlive-latex-recommended texlive-latex-recommended-doc texlive-pictures texlive-pictures-doc texlive-pstricks-doc
    24 upgraded, 4 newly installed, 0 to remove and 2012 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/1072 MB of archives.
    After this operation, 323 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Preconfiguring packages ...
    (Reading database ... 292547 files and directories currently installed.)
    Preparing to unpack .../texlive-fonts-extra-doc_2017.20180305-2_all.deb ...
    Unpacking texlive-fonts-extra-doc (2017.20180305-2) over (2015.20160320-1) ...
    dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20180305-2_all.deb (--unpack):
    trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20180305-2_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Many thanks

    #2
    There is a pair of command which should be used:
    sudo apt -f install
    sudo dpkg --configure -a


    Repeat them several times. IF that doesn't work then perhaps selectively deleting certain packages and/or files may.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment

    Working...
    X