I wanted to remove unity-settings-daemon because thats the only unity-package I have it besides unity-greeter. I run a gnome-shell, hence do not need unity. However, when I try to remove unity-settings-daemon, dpkg would also like to remove ubuntu-session. Is it safe to do it, or would I break my display manager or something else?
dpkg -L ubuntu-session /usr /usr/share /usr/share/gnome-session /usr/share/gnome-session/sessions /usr/share/gnome-session/sessions/ubuntu.session /usr/share/doc /usr/share/doc/ubuntu-session /usr/share/doc/ubuntu-session/copyright /usr/share/xsessions /usr/share/xsessions/ubuntu.desktop /usr/share/lightdm /usr/share/lightdm/lightdm.conf.d /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf /usr/share/doc/ubuntu-session/README /usr/share/doc/ubuntu-session/changelog.Debian.gz /usr/share/doc/ubuntu-session/AUTHORS /usr/share/doc/ubuntu-session/NEWS.gz
Also, is there a way to show which files would be removed when I do a sudo apt-get remove --dry-run PackageName ? At the moment, I see which packages would be removed, but not which files would be removed.