---

Duplicating subsets of package selections between systems

[ Thanks to jhansonxi for this link.
]

“I’m building a pair of Ubuntu systems for kids. For a
variety of reasons, including lack of time and hardware problems,
this has taken far longer than expected and I ended up with one
running 9.10 (Karmic Koala) and the other 10.04 (Lucid Lynx). Since
the Karmic system has the most testing effort into it (reviewing
games for stability and kid appropriateness) I needed a way to
duplicate the selection of games on the Lucid system while
filtering out everything else since some packages are
release-specific.

“Using Synaptic it is possible to export (File > Save
Markings) either a list of packages that have changed selection
state but the changes haven’t been applied yet or optionally a list
of all packages and their status. While Synaptic can filter
displayed packages by repository or type (the “section” parameter
in the deb INFO file), these have no effect on the markings
export.

“The apt-get command (or dpkg directly) can be used to create a
full list of packages but to produce a filtered list you need to
use aptitude.”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis