texlive-latex-base-doc package conflict after flidas upgrade
Project: | Trisquel |
Version: | 8.0 |
Component: | Packages |
Category: | bug report |
Priority: | normal |
Assigned: | Unassigned |
Status: | closed |
Jump to:
When attempting to remove texlive* so as to start over with texlive packages:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
So then when attempting apt-get -f install:
...
24 upgraded, 19 newly installed, 1 to remove and 370 not upgraded.
7 not fully installed or removed.
Need to get 0 B/928 MB of archives.
After this operation, 333 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 453869 files and directories currently installed.)
Preparing to unpack .../texlive-latex-base-doc_2015.20160320-1ubuntu0.1_all.deb ...
Unpacking texlive-latex-base-doc (2015.20160320-1ubuntu0.1) over (2013.20140215-1ubuntu0.1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-latex-base-doc_2015.20160320-1ubuntu0.1_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/url/miscdoc.sty', which is also in package texlive-latex-recommended-doc 2013.20140215-1ubuntu0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included,
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/00updmap.cfg
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-base.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-latex-base.cfg
Errors were encountered while processing:
/var/cache/apt/archives/texlive-latex-base-doc_2015.20160320-1ubuntu0.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm stuck.
Try:
sudo apt-get remove texlive-latex-recommended-doc
sudo apt-get -f install texlive-latex-base-doc
sudo apt-get install texlive-latex-recommended-doc
correcting the status
See comment at https://trisquel.info/en/forum/testing-trisquel-8-upgrade-process?page=1#comment-131341
Was able to remove conflicting packages using dpkg and proceed using similar commands to what is suggested above.