Let's say there is a software I don't want to install through apt, but manually. (TeXLive, because I want to use the 2011 release and apt only has the 2009 version.)
Let's say there is another software I'd like to install through apt, which however depends on the first software. (Vim LaTeXSuite, as it's a pain to install manually for system-wide use.)
Per default, apt doesn't "see" the first software, and proceeds to install lots of unneeded and unwelcome cruft (i.e. TeXLive 2009) just to satisfy the dependency metadata.
How can I either:
Tell
aptthat a given package (e.g.texlive) is installed for all practical purposes, and that it shouldn't be installed as dependency of some other package?Tell
aptto install a given package (e.g.vim-latexsuite) without bothering about its dependencies?
I've sifted through various apt-related manpages and came up empty, and also found this question on this site but feel that there has to be a less hackish way to do this, no?
(From my Gentoo times, I remember emerge --inject and /etc/portage/package.provides, and am basically looking for the apt equivalents.)