Network Manager dependencies

Tom H tomh0665 at
Wed Aug 22 07:24:11 UTC 2012

IMO, we'll end up sooner or later using NM on X-less boxes by default

NM on Fedora can now handle bonding and bridging by reading
"/etc/sysconfig/netwok-scripts/ifcfg-*" files.

I was curious about whether NM could do the same by reading
"/etc/network/interfaces" so I've just tried to install NM in an
X-less Quantal VM.

"apt-get install network-manager" results in:

The following NEW packages will be installed:
acl at-spi2-core binutils colord consolekit dbus-x11
dconf-gsettings-backend dconf-service dnsmasq-base fontconfig
fontconfig-config gconf-service gconf-service-backend gconf2-common
glib-networking glib-networking-common glib-networking-services
gnome-icon-theme gsettings-desktop-schemas hicolor-icon-theme
humanity-icon-theme indicator-application iputils-arping
libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0
libatk1.0-data libatspi2.0-0 libcairo-gobject2 libcairo2
libcanberra-gtk3-0 libcanberra-gtk3-module libcanberra0
libck-connector0 libcolord1 libcroco3 libcups2 libdatrie1
libdbusmenu-glib4 libdbusmenu-gtk3-4 libdconf1 libexif12
libfontconfig1 libgconf-2-4 libgd2-xpm libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-common libgnome-bluetooth11 libgnome-keyring-common
libgnome-keyring0 libgphoto2-2 libgphoto2-l10n libgphoto2-port0
libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libgusb2
libieee1284-3 libindicator3-7 libjasper1 libjbig0 libjpeg-turbo8
libjpeg8 liblcms2-2 libltdl7 libnetfilter-conntrack3 libnl-route-3-200
libnm-glib-vpn1 libnm-glib4 libnm-gtk-common libnm-gtk0 libnm-util2
libnotify4 libnspr4 libnss3 libogg0 libpam-ck-connector libpango1.0-0
libpcsclite1 libpixman-1-0 libpolkit-agent-1-0 libpolkit-backend-1-0
libproxy1 librsvg2-2 librsvg2-common libsane libsane-common
libsoup2.4-1 libsysfs2 libtdb1 libthai-data libthai0 libtiff5 libv4l-0
libv4lconvert0 libvorbis0a libvorbisfile3 libxcb-render0 libxcb-shm0
libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6
libxinerama1 libxml2 libxpm4 libxrandr2 libxrender1 libxtst6
mobile-broadband-provider-info modemmanager network-manager
network-manager-gnome network-manager-pptp network-manager-pptp-gnome
notification-daemon policykit-1 policykit-1-gnome pptp-linux sgml-base
shared-mime-info sound-theme-freedesktop ttf-dejavu-core
usb-modeswitch usb-modeswitch-data wpasupplicant x11-common xml-core


"apt-get install network-manager -o APT::Install-Recommends=false" results in:

The following NEW packages will be installed:
consolekit dconf-gsettings-backend dconf-service dnsmasq-base
glib-networking glib-networking-common glib-networking-services
gsettings-desktop-schemas iputils-arping libck-connector0 libdconf1
libgudev-1.0-0 libnetfilter-conntrack3 libnl-route-3-200 libnm-glib4
libnm-util2 libnspr4 libnss3 libpcsclite1 libpolkit-agent-1-0
libpolkit-backend-1-0 libproxy1 libsoup2.4-1 libsysfs2 libxml2
network-manager policykit-1 wpasupplicant

So, even an installation of NM without its "Recommends" (which isn't
something that I like to do or, AFAIK, something that's recommended)
results in the installation of packages that are only needed by a DE,
like dconf-gsettings-backend, dconf-service, glib-networking,
glib-networking-common, glib-networking-services,

Could NM's "Depends" and "Recommends" be pared down for an X-less
use-case? Thanks.

More information about the Ubuntu-devel-discuss mailing list