I have a small router running with debian 6 I now wanted to upgrade the whole thing to 7 It has no webserver running, only dhcp and some iptables for firewalls... I installed it with debian netinstall minimal without websever, desktop and so on only sshd

apt-get update went well but it still runns 6 now, so I tried to run dist upgrade. But apt-get dist-upgrade wants to install loads of stuff I don't even have installed nor selected like x11-common, imagemagick, ttf fonts, mediatypes, javascript git-man, gnuplot(???) groff...

Why? And how can I prevend that?


SSHD have a xauth dependency to permit the export of X11. I don't permit that on our firewalls by adding a file /etc/apt/apt.conf with :

APT::Install-Recommends "false";
APT::Install-Suggests "false";

Then, the recommends and suggests packets are not installed, so no X11

| improve this answer | |
  • Thanks, that at least removed x11 and gnuplot from the list, but I still have things like fonts-freefont-ttf, fuse wireshark in the list... – fdafgfdgfagfdagfdagfdagfdagfda Apr 30 '14 at 11:45
  • Whireshark ? It is a graphical app ! Use tshark in text. – Dom Apr 30 '14 at 18:59
  • Who said I want to use wireshark? – fdafgfdgfagfdagfdagfdagfdagfda May 6 '14 at 9:59
  • "wireshark in the list" in your previous comment. I think it is not installed by anything except itself – Dom May 6 '14 at 11:26
  • I never installed it, it is a router, if you read my post, and dist-upgrade wants to install wireshark-common for some reason. I didn't want to install nor use it or any of its components. It is in the list among other components I never needed. – fdafgfdgfagfdagfdagfdagfdagfda May 7 '14 at 8:00

x11-common is not the whole x11. It's just some basic libraries, there is no harm in having them installed when a package needs them as dependencies.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.