New answers tagged package-management
I understand your problem, since I'm having a similar issue with the pacman package manager on Arch Linux. If you have dpkg > 1.15.8, try populating /etc/dpkg/dpkg.cfg.d/excludes with: path-exclude=/usr/local/java/jre/lib/ext Source: Save disk space by excluding useless files with dpkg | Raphaël Hertzog. For Arch users, use NoExtract= in ...
Apt-get knows the packages were installed automatically as dependencies. You should mark them as 'manual' to let apt-get know you want them to remain installed: apt-mark manual [packages]
Top 50 recent answers are included