gauchi
Posts: 2
Joined: Tue Oct 23, 2018 12:37 pm

Freeradius Dependency Problems

Tue Oct 23, 2018 1:00 pm

Hi!

I'm trying to use my raspberry pi 1 as a RADIUS server for my wifi (the unify controller is already running on it). When I try to install freeradius, apt wants to install a huge load of dependencies, including java (which is already installed for unifi) and a lot of X libraries:

Code: Select all

$ apt-get install -s freeradius
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree        
Reading state information... Done
The following additional packages will be installed:
  adwaita-icon-theme at-spi2-core ca-certificates-java collectd collectd-core dconf-gsettings-backend dconf-service default-jre-headless dmeventd fontconfig
  fontconfig-config fonts-dejavu-core freeradius-common freeradius-config freeradius-utils glib-networking glib-networking-common glib-networking-services
  gsettings-desktop-schemas gtk-update-icon-cache hicolor-icon-theme java-common libapr1 libatasmart4 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0
  libavahi-client3 libbluetooth3 libc-ares2 libcairo-gobject2 libcairo2 libcollectdclient1 libcolord2 libconfuse-common libconfuse1 libcroco3 libcups2 libdatrie1 libdbi-perl
  libdbi1 libdconf1 libdevmapper-event1.02.1 libepoxy0 libesmtp6 libfdt1 libfontconfig1 libfreeradius3 libftdi1 libganglia1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common
  libgps22 libgraphite2-3 libgtk-3-0 libgtk-3-bin libgtk-3-common libharfbuzz0b libhiredis0.13 libjbig0 libjson-glib-1.0-0 libjson-glib-1.0-common liblcms2-2 libltdl7
  liblua5.1-0 liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 libmariadbclient18 libmemcached11 libmicrohttpd12 libmodbus5 libmosquitto1 libnl-route-3-200 libnotify4 libnspr4
  libnss3 libopenipmi0 liboping0 libow-3.1-5 libowcapi-3.1-5 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpci3 libpixman-1-0 libpq5 libprotobuf-c1 libproxy1v5
  libpython2.7 librabbitmq4 librdkafka1 libreadline5 librest-0.7-0 libriemann-client0 librrd8 librsvg2-2 librsvg2-common libsensors4 libserialport0 libsigrok2 libsnmp-base
  libsnmp30 libsoup-gnome2.4-1 libsoup2.4-1 libthai-data libthai0 libtiff5 libtokyocabinet9 libtokyotyrant3 libupsclient4 libvarnishapi1 libvirt0 libxcb-render0 libxcb-shm0
  libxcomposite1 libxcursor1 libxdamage1 libxen-4.8 libxenstore3.0 libxfixes3 libxinerama1 libxrandr2 libyajl2 libzip4 lvm2 mysql-common notification-daemon
  openjdk-8-jre-headless owfs-common rrdtool
  [...]
However, I cannot find the dependency that causes this using apt-cache depends or rdepends. Although space is not an issue (the root fs is on a nas), I prefer to avoid installing a large amount of unneeded libraries. Furthermore, I would like to avoid a situation where multiple jre instances are installed.

Any ideas on how to install freeradius with only the dependencies that are actually needed for a server?

User avatar
rpdom
Posts: 12855
Joined: Sun May 06, 2012 5:17 am
Location: Ankh-Morpork

Re: Freeradius Dependency Problems

Tue Oct 23, 2018 8:05 pm

Code: Select all

apt-get --no-install-recommends install freeradius
I always make the no-install-recommends my default setting.

gauchi
Posts: 2
Joined: Tue Oct 23, 2018 12:37 pm

Re: Freeradius Dependency Problems

Thu Oct 25, 2018 11:55 am

Thanks a lot, that did it. I will remember this switch.

Return to “Raspbian”