Re: Use of dpkg --set-selections is brain-dead?
- From: "Mumia W." <mumia.w.18.spam+nospam@xxxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 00:06:06 -0500
On 08/30/2006 06:54 PM, Kevin Buhr wrote:
"Michael S. Peek" <peek@xxxxxxxxxxxx> writes:I've traced my problem down to the use of 'dpkg --set-selections' command. As an example, I have a package named tiem-nis-client-cfg that sets up NIS for generic workstations. If I understand correctly, I should be able to do the following:
echo "tiem-nis-client-cfg install" | dpkg --set-selections
And then, when I type 'dpkg --get-selections', I should see "tiem-nis-client-cfg install" one some line in the output.
No, "dpkg --get-selections" without further arguments only lists packages that are either installed or deinstalled (but still have their config files on the system), not purged packages or those that have never been on your system, even if those packages have been selected for installation. If you run:
dpkg --get-selections tiem-nis-client-cfg
that should show that your new package has been selected for installation.
The man-page for dpkg suggests that Michael's method should have worked:
dpkg --set-selections
Set package selections using file read from stdin.
Notice that additional parameters are not required, and the input comes from stdin.
I'm using Sarge with dpkg 1.10.28.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Use of dpkg --set-selections is brain-dead?
- From: Kevin Buhr
- Re: Use of dpkg --set-selections is brain-dead?
- References:
- Use of dpkg --set-selections is brain-dead?
- From: Michael S. Peek
- Re: Use of dpkg --set-selections is brain-dead?
- From: Kevin Buhr
- Use of dpkg --set-selections is brain-dead?
- Prev by Date: Re: Doubts regarding /initrd and /linuxrc
- Next by Date: strange gaim problem
- Previous by thread: Re: Use of dpkg --set-selections is brain-dead?
- Next by thread: Re: Use of dpkg --set-selections is brain-dead?
- Index(es):
Relevant Pages
|