On Jo, 20 iun 13, 00:42:56, Bill.M wrote:
>
> I'm thinking that what I need to generate is a diff list of packages
> installed on my current Squeeze that aren't in the standard Squeeze
> and then feed that into apt on Wheezy. But how to do that? How to
> generate the Squeeze list? I haven't located any advice.
Let me be the dissenting voice and suggest something not involving
dpkg --get-selections.
0. Run:
aptitude --display-format '%p' search '?not(?origin(Debian))?installed' > non-Debian.pkgs
The non-Debian.pkgs will now contain a list of packages that are *not*
from Debian.
Depending on the amount of packages I would start researching where they
come from (apt-cache policy <package>) and try to replace with Debian
alternatives. Also look if the provider has versions available for
wheezy.
1. Install a fresh wheezy.
2. migrate the relevant sources.lists entries (i.e. replace squeeze with
wheezy wherever possible) or download the wheezy versions of non-Debian
packages.
3. Install downloaded packages with dpkg -i (but you should know that)
and all other packages with
aptitude install $(cat non-Debian.pkgs)
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
Attachment:
signature.asc
Description: Digital signature