| Subject: | Re: Use of dpkg --set-selections is brain-dead? |
|---|---|
| From: | "Michael S. Peek" <peek@xxxxxxxxxxxx> |
| Date: | Thu, 31 Aug 2006 16:30:15 +0200 |
| Newsgroups: | linux.debian.devel, linux.debian.user |
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. Now I'm getting somewhere: :~# echo "tiem-nis-client-cfg install" | dpkg --set-selections ; echo $? ; dpkg --get-selections tiem-nis-client-cfg | grep 'tiem-nis-client-cfg' ; echo $? 0 tiem-nis-client-cfg install 0 This does indeed work -- my tiem-nis-client-cfg package is now shown as being slated for installation. Which begs the question: Why doesn't 'apt-get dselect-upgrade' install the package? I have also tried 'dselect install', but with no success. They both give the same result: ~# dselect update Hit http://tortoise sarge/main Packages Ign http://tortoise sarge/main Release Hit http://tortoise sarge/non-free Packages Ign http://tortoise sarge/non-free Release Hit http://tortoise sarge/contrib Packages Ign http://tortoise sarge/contrib Release Hit http://ftp.us.debian.org sarge/main Packages Hit http://ftp.us.debian.org sarge/main Release Hit http://ftp.us.debian.org sarge/non-free Packages Hit http://ftp.us.debian.org sarge/non-free Release Hit http://ftp.us.debian.org sarge/contrib Packages Hit http://ftp.us.debian.org sarge/contrib Release Hit http://ftp.us.debian.org sarge/main Sources Hit http://ftp.us.debian.org sarge/main Release Hit http://ftp.us.debian.org sarge/non-free Sources Hit http://ftp.us.debian.org sarge/non-free Release Hit http://ftp.us.debian.org sarge/contrib Sources Hit http://ftp.us.debian.org sarge/contrib Release Hit http://ftp.us.debian.org testing/main Sources Hit http://ftp.us.debian.org testing/main Release Hit http://ftp.us.debian.org testing/non-free Sources Hit http://ftp.us.debian.org testing/non-free Release Hit http://ftp.us.debian.org testing/contrib Sources Hit http://ftp.us.debian.org testing/contrib Release Hit http://ftp.us.debian.org unstable/main Sources Hit http://ftp.us.debian.org unstable/main Release Hit http://mirror.home-dn.net sarge/main Sources Hit http://mirror.home-dn.net sarge/main Release Hit http://download.videolan.org sarge/main Sources Ign http://download.videolan.org sarge/main Release Hit http://ftp.us.debian.org unstable/non-free Sources Hit http://security.debian.org sarge/updates/main Packages Hit http://security.debian.org sarge/updates/main Release Hit http://ftp.us.debian.org unstable/non-free Release Hit http://ftp.us.debian.org unstable/contrib Sources Hit http://ftp.us.debian.org unstable/contrib Release Hit http://download.videolan.org sid/main Sources Ign http://download.videolan.org sid/main Release Hit http://security.debian.org sarge/updates/contrib Packages Hit http://security.debian.org sarge/updates/contrib Release Hit http://security.debian.org sarge/updates/non-free Packages Hit http://security.debian.org sarge/updates/non-free Release Reading Package Lists... Done Merging Available information Replacing available packages info, using /var/cache/apt/available. Information about 15850 package(s) was updated. ~# dselect install Reading Package Lists... Done Building Dependency Tree... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Do you want to erase any previously downloaded .deb files? [Y/n] Press enter to continue. ~# apt-get update Hit http://tortoise sarge/main Packages Ign http://tortoise sarge/main Release Hit http://tortoise sarge/non-free Packages Ign http://tortoise sarge/non-free Release Hit http://tortoise sarge/contrib Packages Ign http://tortoise sarge/contrib Release Hit http://ftp.us.debian.org sarge/main Packages Hit http://ftp.us.debian.org sarge/main Release Hit http://ftp.us.debian.org sarge/non-free Packages Hit http://ftp.us.debian.org sarge/non-free Release Hit http://ftp.us.debian.org sarge/contrib Packages Hit http://ftp.us.debian.org sarge/contrib Release Hit http://ftp.us.debian.org sarge/main Sources Hit http://ftp.us.debian.org sarge/main Release Hit http://ftp.us.debian.org sarge/non-free Sources Hit http://ftp.us.debian.org sarge/non-free Release Hit http://ftp.us.debian.org sarge/contrib Sources Hit http://ftp.us.debian.org sarge/contrib Release Hit http://ftp.us.debian.org testing/main Sources Hit http://ftp.us.debian.org testing/main Release Hit http://ftp.us.debian.org testing/non-free Sources Hit http://ftp.us.debian.org testing/non-free Release Hit http://ftp.us.debian.org testing/contrib Sources Hit http://ftp.us.debian.org testing/contrib Release Hit http://ftp.us.debian.org unstable/main Sources Hit http://ftp.us.debian.org unstable/main Release Hit http://download.videolan.org sarge/main Sources Ign http://download.videolan.org sarge/main Release Hit http://security.debian.org sarge/updates/main Packages Hit http://security.debian.org sarge/updates/main Release Hit http://download.videolan.org sid/main Sources Ign http://download.videolan.org sid/main Release Hit http://ftp.us.debian.org unstable/non-free Sources Hit http://ftp.us.debian.org unstable/non-free Release Hit http://ftp.us.debian.org unstable/contrib Sources Hit http://ftp.us.debian.org unstable/contrib Release Hit http://security.debian.org sarge/updates/contrib Packages Hit http://security.debian.org sarge/updates/contrib Release Hit http://security.debian.org sarge/updates/non-free Packages Hit http://security.debian.org sarge/updates/non-free Release Hit http://mirror.home-dn.net sarge/main Sources Hit http://mirror.home-dn.net sarge/main Release Reading Package Lists... Done ~# apt-get dselect-upgrade Reading Package Lists... Done Building Dependency Tree... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Thanks for your help, Michael Peek -- To UNSUBSCRIBE, email to debian-devel-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: The bigger issue is badly licensed blobs (was Re: Firmware poll, Marco d'Itri |
|---|---|
| Next by Date: | Re: Use of dpkg --set-selections is brain-dead?, Michael S. Peek |
| Previous by Thread: | Use of dpkg --set-selections is brain-dead?, Michael S. Peek |
| Next by Thread: | Re: Use of dpkg --set-selections is brain-dead?, Michael S. Peek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |