69

I'm trying to install the package LaTeXila, and the output looks like this:

$ sudo apt-get install latexila --no-install-recommends
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  latexila-data latexmk luatex tex-common texlive-base texlive-binaries
  texlive-common texlive-doc-base texlive-latex-base
Suggested packages:
  rubber texlive-latex-extra debhelper
Recommended packages:
  texlive texlive-latex-recommended texlive-luatex lmodern
  texlive-latex-base-doc
The following NEW packages will be installed:
  latexila latexila-data latexmk luatex tex-common texlive-base
  texlive-binaries texlive-common texlive-doc-base texlive-latex-base
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.3 MB of archives.
After this operation, 74.5 MB of additional disk space will be used.
Do you want to continue [Y/n]?

I don't want to install the texlive packages. I've installed texlive manually from http://www.tug.org/texlive/. Any suggestions?

69

apt-get won't do this, but dpkg will.

apt-get download latexila latexila-data

That will download the binary .deb files but will not attempt to install them.

Now you can use dpkg to force install them.

dpkg --force-all -i <name of the .deb files you downloaded>

I will echo the warning in the dpkg man page here:

Warning: These options are mostly intended to be used by experts only. Using them without fully understanding their effects may break your whole system.

If your system is broken after attempting this, you can just try to remove latexila and latexila-data. Good luck.

13

Here are the instructions following the TUG page on TeX Live and Debian/Ubuntu:

  1. Install vanilla TeX Live as root, system-wide.
  2. Ensure that the only Debian TeX Live packages installed are tex-common, texinfo, and perhaps lmodern.
  3. Add TeX Live's bin directory to ENV_PATH in /etc/login.defs.
  4. Tell APT about your TeX Live installation by building a dummy package using equivs:


    $ aptitude install equivs # as root
    mkdir /tmp/tl-equivs && cd /tmp/tl-equivs
    equivs-control texlive-local
    # edit texlive-local (see below)
    $ equivs-build texlive-local
    $ sudo dpkg -i texlive-local_2011-1_all.deb

At the step "edit texlive-local", edit the Maintainer field and the list of the packages provided by your local TeX Live installation as appropriate. If you installed scheme-full except collection-texinfo as recommended, the file should look like this example

(Basically, one has to create a dummy package to fool apt-get)

For other ways, see also How to install “vanilla” TeXLive on Debian or Ubuntu? on TeX.SX.

6

after doing

aptitude install [packagename]

You have the question if you want to install all packages that are mentioned.. if there is a package you do not want to have installed like mysql-server because it is offloaded to another server insted of answering y/n answer with

:mysql-server
2

Find the list of packages that are not meeting dependency.

Download the .deb file with apt-get download. Then use

sudo dpkg -i --ignore-depends=<package(s) to ignore> package.deb

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["<li class=\"-item\"><a href=\"https://www.facebook.com/officialstackoverflow/\" class=\"-link\">Facebook</a></li>\r\n                    <li class=\"-item\"><a href=\"https://twitter.com/stackoverflow\" class=\"-link\">Twitter</a></li>\r\n                    <li class=\"-item\"><a href=\"https://linkedin.com/company/stack-overflow\" class=\"-link\">LinkedIn</a></li>\r\n                </ul>\r\n\r\n                <p class=\"mt-auto mb24\">\r\nsite design / logo &#169; 2019 Stack Exchange Inc; user contributions licensed under <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a>\r\n                            with <a href=\"https://stackoverflow.blog/2009/06/25/attribution-required/\" rel=\"license\">attribution required</a>.\r\n                    <span id=\"svnrev\">rev&nbsp;2019.2.21.32923</span>\r\n                </p>\r\n            </div>\r\n        </div>\r\n\r\n            <div class=\"site-footer--extra ai-center\">\r\n                Ubuntu and Canonical are registered trademarks of Canonical Ltd.\r\n            </div>\r\n            </footer>\r\n            <script>StackE"], "copyright__copyright__copyright": ["server\n2\n\nFind the list of packages that are not meeting dependency.\n\nDownload the .deb file with apt-get download. Then use\n\nsudo dpkg -i --ignore-depends=<package(s) to ignore> package.deb\n\nYour Answer\n\nBy clicking \"Post Your Answer\", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}