On Mon, Oct 20, 2003 at 02:59:59AM +0200, smurfd wrote: > Hey there Debian-user list, ive been thinking, (not well enough, as it > seems). > > How does dselect do, when you select/deselect packages to be > added/removed ? i mean, can you type yourself, like on one line.. > > apt-get install packages remove packages?
dselect's apt method uses the 'dselect-upgrade' option to apt, which tells apt-get to attempt to resolve the desired package states that dselect has put in /var/lib/dpkg/status. This isn't really accessible very easily in the way you'd normally use apt-get. However, here's a quote from the apt-get(8) man page: install install is followed by one or more packages desired for installation. Each package is a package name, not a fully qualified filename (for instance, in a Debian GNU/Linux system, libc6 would be the argument provided, not libc6_1.9.6-2.deb). All packages required by the package(s) specified for installation will also be retrieved and installed. The /etc/apt/sources.list file is used to locate the desired packages. If a hyphen is appended to the package name (with no intervening space), the identified package will be removed if it is installed. So you can say: apt-get install package1 package2 package3- package4- Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]