Results 1 to 4 of 4

Thread: Saving package installation when reinstalling system

  1. #1
    Join Date
    Apr 2008
    Beans
    118

    Saving package installation when reinstalling system

    Hello!

    I'm currently thinking to reinstall Ubuntu on my system. The reasons include upgrading to Hardy (I'm running Gutsy), and the fact that when I boot up now, I get a message about a difficulty initializing Gnome, and I get into what I think is an X desktop.

    However, I'm daunted by the prospect of reinstalling all those packages. I must have typed "sudo apt-get install xxx" a half a billion times. In the Synaptic Package Manager window, there's an option that says "Generate package download script" which I thought might bail me out, but when I chose this, and entered a filename and destination, the script it generated was empty -- it just had the line "#!/bin/sh" at the top and nothing else.

    Is there any way to save the packages I have now, or some list thereof, so that I can easily reinstall/download them when I redo my system? Any insight anyone might have would be appreciated.

    Thanks,
    Cooper

  2. #2
    Join Date
    Feb 2008
    Location
    Townsville, Qld Australia
    Beans
    1,065

    Re: Saving package installation when reinstalling system

    The following should give you a list of all installed packages, note that these will include the packages initially installed with the system as well as your dependancies.

    Code:
    dpkg --get-selections > isntalled.txt
    This thread may also be useful to you:
    http://www.linuxquestions.org/questi...ckages-458119/
    Registered Linux User #464572
    journal.ryanhaigh.net
    www.ryanhaigh.net

  3. #3
    Join Date
    Apr 2008
    Beans
    118

    Re: Saving package installation when reinstalling system

    I clicked the link you posted, and it looks like what they describe is pretty much exactly what I'm trying to do. Thanks so much!

    -Cooper

  4. #4
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Saving package installation when reinstalling system

    Have a look here:

    http://users.telenet.be/mydotcom/how.../automatic.htm

    Look under the heading: Automated software installation or reproducing an existing (model) configuration

    Jim

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
  •