[Bug 1257927] Re: Installing mongodb package via aptitude destroys Cinnamon install

Axel Beckert abe at debian.org
Sun Mar 23 10:00:27 UTC 2014


aptitude and apt-get are not equivalent. Aptitude remembers what you
wanted to install or uninstall and it tries to get to that state again.
So if you installed software with aptitude, but remove them by other
means, aptitude may still remember that you previously wanted that
software installed. (This is not a bug but a aptitude-only feature and
you should not mix aptitude and apt-get for that reason unless you know
what you do.)

For unattended installation or unattended package-management see
aptitude-robot or pkgsync (which IIRC both use aptitude and not apt-
get).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1257927

Title:
  Installing mongodb package via aptitude destroys Cinnamon install

Status in The Linux Mint Distribution:
  New
Status in “aptitude” package in Ubuntu:
  Invalid

Bug description:
  I've been using an install script to prepare my machine for
  development work for various Linux Mint installs - but using it for
  the latest version of Mint (Petra) seems to break Cinnamon.

  Here's how to reproduce it:
   1) Install Linux Mint 16 Petra (I've been using the 64 Bit Cinnamon edition).
   2) Once installed, run "sudo aptitude install -y mongodb".

  The mongodb packages seems to have some base conflicts with Cinnamon
  in some way - and it warns you that it intends to uninstall a lot of
  existing packages, including cinnamon. My script was intended for
  configuring my machine in an unattended way - and so the installation
  of mongodb triggered the uninstallation of Cinnamon and permanently
  broke the DE.

  It seems that using apt-get doesn't trigger it, but aptitude does - I
  thought that aptitude was semantically equivalent to apt-get, so don't
  understand what's causing this.

  If you install it via apt-get and then remove it in the same way, then
  installing via aptitude doesn't trigger the uninstallation of
  Cinnamon. I've not experienced this in either Mint 14 or Mint 15.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1257927/+subscriptions



More information about the foundations-bugs mailing list