3

I removed indicator-session by accident. Now, when I try to install it again through apt-get I get this.

The following NEW packages will be installed:
  indicator-session libaccount-plugin-1.0-0 libaccount-plugin-generic-oauth
  libaccount-plugin-google libaccounts-qt5-1 libqt5core5a libqt5dbus5
  libqt5gui5 libqt5network5 libqt5opengl5 libqt5positioning5
  libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5sensors5 libqt5sql5
  libqt5sql5-sqlite libqt5test5 libqt5webkit5 libqt5widgets5 libqt5xml5
  libsignon-extension1 libsignon-plugins-common1 libsignon-qt5-1
  libtimezonemap1 libunity-control-center1 libxcb-icccm4 libxcb-image0
  libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xkb1
  libxkbcommon-x11-0 session-migration signon-keyring-extension
  signon-plugin-oauth2 signon-ui signond unity-control-center
  unity-control-center-signon unity-settings-daemon

These packages weren't installed before. How do I install indicator-session back without installing all these extra packages?

  • 1
    To bring you the most precise answer, could you give me the content (via pastebin) of your apt log file (/var/log/apt/term.log), if this file is empty you could look in the /var/log/apt/ folder; you'll find old log files. Best regards, Nicolas – Nikos Aug 4 '15 at 9:35
  • Looks like the system is trying to pull in Unity 8's packages. Did you try with --no-recommends? – RolandiXor Aug 4 '15 at 16:03
  • 1
    Thanks @RolandiXor, --no-install-recommends worked perfectly. – Harshit Jain Aug 8 '15 at 10:50
4

As per these comments, using

--no-install-recommends

prevents the extra packages from installing.

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.