Results 1 to 4 of 4

Thread: Do-release-upgrade with the aptitude equivalent of --without-recommends?

  1. #1
    Join Date
    Nov 2009
    Beans
    Hidden!

    Do-release-upgrade with the aptitude equivalent of --without-recommends?

    Hello everyone,

    This is the first time I upgraded an installation without a full reïnstall. It was quite convenient, actually.

    Only large downside is the fact that do-release-upgrade has no '--without-recommends' switch like aptitude. I install Ubuntu like this:
    - installation with cli.seed (bare bone commandline installation)
    - aptitude -R <huge package list containing only packages that I need>

    This results (in our case) in a pretty slim 3 Gigabyte XFCE installation capable of powering our main desktop. This desktop serves the printer (Airprint, Samba, CUPS HTTP). Collects e-mail. Handles a public share and is capable of media playback. Which is quite nice for 3 Gigabytes.

    However, after the succesful upgrade to 13.10, the installation grew to 4,6 Gigabytes.

    I was wondering, is it possible to upgrade without installing all the packages mentioned in the Recommends field of each package?

    If not, I will try to upgrade the next time by adjusting /etc/apt/sources.list to the new distribution and start upgrading. Is that a viable alternative?

    Thanks
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

  2. #2
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: Do-release-upgrade with the aptitude equivalent of --without-recommends?

    * polite bump * (anyone?)
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

  3. #3
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    10,254
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Do-release-upgrade with the aptitude equivalent of --without-recommends?

    As you may already know there is no install recommends command for individual packages or groups or packages , but I have never read about applying this to an entire distribution upgrade or what the outcome would be. The command may require a list of specific package names.
    Code:
    --no-install-recommends
    See:
    Code:
    man apt-get
    In the future To generate a list of installed packages/software in a text file create a folder in the home directory named install and run the following command.
    Code:
    dpkg --get-selections > ~/install/installed-software
    Last edited by Frogs Hair; November 15th, 2013 at 04:06 PM.
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  4. #4
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: Do-release-upgrade with the aptitude equivalent of --without-recommends?

    Yes, I will try that. And then just replace all instances of the current distro with the name of current distro + 1 in /etc/apt/sources.list{.d}. And see what happens!

    (and of course, temporarily disable all other repo's)
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •