I would like to use some Java applications on Ubuntu that are packaged as .debs and hold java-common & friends as a dependency.
However, I do not wish to use the JVM that is packaged with Ubuntu or Debian; I would like to use Sun/Oracle's, and have downloaded and installed the raw tarball elsewhere on the system already.
The problem is that if I force-install these packages without dependencies, i.e. dpkg --force-all -i
, it breaks my APT package repository such that any new package installation will prompt me to resolve those dependencies (i.e. apt-get -f install
).
Is there any way I can tell APT to permanently ignore dependencies for a given package?