Re: Replicating a Squeeze system on Wheezy
On 5 July 2013 05:24, green <firstname.lastname@example.org> wrote:
> David wrote at 2013-07-03 06:10 -0500:
>> On 3 July 2013 21:06, David <email@example.com> wrote:
>> > I did something similar using aptitude:
>> aptitude -F "%p" search '~i!~M' >package_list
>> aptitude -R install $(cat package_list)
> I use and recommend aptitude because of the interactive dependency
> resolver which I believe to be important for handling the intricate
> dependencies among Debian's thousands of packages.
> The above example is one I used to backup the package set on my
> systems, until I tested it with a restore and learned that it does not
> properly duplicate the selected packages. This is because of
> dependencies which are satisfied with one of multiple packages.
> Aptitude, or apt, might not select the same "auto-installed" package
> as was selected before. While this does not matter so much for
> libraries, it does for dependencies like mail-transport-agent.
> The solution is
Interesting, thank you for the additional information.