Advanced

Copying Debian package selections to a new machine

Posted by scrubs on · 1 comment
Free Software Magazine; By Ryan Cartwright
Mail this story
Print this story

Most of us will install our GNU/Linux system once or twice and then use the excellent package management systems to upgrade when new releases of our chosen distribution come out. Users of Debian and Debian-based systems (such as Ubuntu) will be quite used to the idea that you only need to install it once. But what happens when you want to replicate one Debian system on another machine? Do you use cloning tools? Yes you can but only if the hardware is similar on the two machines. What if one has an Intel Pentium-based processor and the other has an AMD64? In that case what you need is some way to replicate the package selection but use the appropriate ones for the new architecture. Enter dpkg. Read the article at Free Software Magazine.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Debian

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (1)

A few typed lines works better than thousands of mouse clicks.

I've used the same get-selections/set-selections when upgrading as well. I wanted to do encrypted LVM, and used the get/set to make sure that all the same package names (get/set does NOT set versions, just names) were at least _attempted_.

Anything that isn't there any more just won't be selected by name. Much of those kinds of things are covered by dependencies anyway.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post