aptitude --with-recommends

From: Michael Haak (mhaak_at_learningcommunity202.org)
Date: 05/31/05

  • Next message: Roberto C. Sanchez: "Re: Horde login"
    Date: Tue, 31 May 2005 10:19:20 -0500
    To: <jonathan.kaye@sea.gmane.org>
    
    

    I also understood the documentation to mean that the --with-recommends
    option of aptitude would install any new recommended packages, but I
    couldn't get it to work that way either. As a workaround, after the
    command to upgrade, I run three more:

    aptitude -y -d install '(!~i)~Rrecommends:((~i)(~Brecommends))'
    aptitude -y markauto '(!~i)~Rrecommends:((~i)(~Brecommends))'
    aptitude -y install

    The first one only downloads the uninstalled packages that are
    recommended by installed packages with unsatisfied recommendations.
    Since they're not installed yet, I can still use the same expression to
    mark them all automatically installed in the second command. The final
    command finishes up by actually doing the installation.

    Hope this helps.
    Mike

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Roberto C. Sanchez: "Re: Horde login"

    Relevant Pages

    • Re: Noob question - best way to install software
      ... I am wondering about the best way to install software. ... Aptitude is supposed to do everything that apt-get will do ... installed to meet dependencies of packages that you specifically wanted ... Since you're new to debian, I suggest you read: ...
      (Debian-User)
    • Re: Administration (+apt-get dist-upgrade) of 100s of machines
      ... "suggested/recommends" as it installs other packages. ... Hence the "aptitude deleted all my files"-type posts ... Install Debian 4.0 "Etch". ... The Pentium running sid 173MB worth of changes: mostly KDE changing as ...
      (Debian-User)
    • after upgrade backups cause machine crash
      ... I didn't use aptitude dist-upgrade as I was going from the old testing-sarge to stable-sarge. ... In January this year, I replaced the commented out testing lines from the original install with uncommented sarge lines in sources.list, left the security one in, did an aptitude update followed by an aptitude upgrade. ... Will install 43 packages, and remove 0 packages. ...
      (Debian-User)
    • Re: Etch status..?
      ... ones you want, they depend on packages installed, or they're cruft. ... The big difference with aptitude is that it remembers which packages you explicitly requested. ... aptitude uses the same underlying package management tools as apt-get. ... You can use switches to install without recommends ...
      (Debian-User)
    • Re: aptitude --mind-your-own-business option?
      ... now going strong) I said that aptitude was working fine for me in my ... brand new Etch install. ... The following packages have been kept back: ... Most of the 25 packages to be installed are Gnome related. ...
      (Debian-User)