Skip to content

Friday, November 27th, 2009

New Linux User

Making GNOME happy when you migrate data

July 6, 2008 by Clair Ching  
Filed under How To, Migration, laptops

Here’s an awesome tip I got today:

On the old computer, run dpkg –get-selections >> packages.list. Get the new computer online and install dselect (yeah, it’s not part of dpkg anymore). Copy the packages.list to your new computer. Then run sudo dpkg –set-selections < < packages.list. Finally, run sudo dselect and choose Install. (Oh the fun of migrating data)

Thanks, Ubuntu Linux tips and tricks! I often forget what other software I install apart from the defaults and my usual ones, this is especially true for the apps that I installed for the heck of it or for other people. I’ve had problems about configuration files complaining to me about not finding files or the app, etc. This would solve it! But, folks, please note that this tip only works for those that came from the repos, not the ones that you just downloaded over the internet or installed from source. So it’s still better to note those other things, ok?

I wish I knew about this earlier. It surely would have saved me from headaches of trying to remember things I installed or not having an application I need. (This is especially bad when I have limited or no internet access.)

If you have other similar tips when migrating data, please feel free to share them here! :)

  • StumbleUpon
  • Digg
  • Facebook
  • Mixx
  • Google
  • TwitThis
  • Reddit
  • Yahoo! Buzz
  • Slashdot
  • E-mail this story to a friend!

Comments

4 Responses to “Making GNOME happy when you migrate data”
  1. Jonas Bark says:

    You may want to remove that extra space within “dpkg –set-selections < < packages.list”, I’m not sure but it will probably not work anymore with that space.
    Greetings, Jonas

  2. Clair says:

    Thanks for spotting that, Jonas :) I will edit that.

  3. Mackenzie says:

    If you run “dpkg -l | grep -^i | grep -v ^ii” you’ll get a listing of all packages that are marked for install but aren’t *actually* installed. That’d be the list of things you installed from not-the-repos.

  4. Mackenzie says:

    ah! “dpkg -l | grep ^i | grep -v ^ii”

    There was an extra – in there. Oh, and the -l is a minus little-L

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!


About Us | Advertise with us | Blog for EveryJoe | Privacy Policy | Terms of Use
Get This Theme | Sitemap


All content is Copyright © 2005-2009 b5media. All rights reserved.