Re: must dpkg --get-selections also give distribution name?
On Tue, Apr 03, 2001 at 02:12:00PM +0200, Thomas Lange wrote:
> Some time ago there was a mail that apt-get could do (in future ?)
> something like this:
>
> apt-get install fvwm/unstable
>
> even if the rest of the system is using stable. But if I want to save
> the list of all installed packages (to clone a host), I can't use
> dpkg --get-selection cause this would only say that fvwm is installed,
> but not from which distribution.
> Should dpkg --get-selection be enhanced ? What's about a
> --get-selection-with-distribution option ?
apt has this feature now, and a preferences file to record the settings. See
apt_preferences(5) on an unstable system. If you set a package to be installed
from a different source in that file, and copy that file when you copy the
package list, you should get the same version.
--
- mdz
Reply to: