Hi, I discovered that the previous version of my patch re-added the "purge ok not-installed" packages into status file. Fortunately the issue turned out to be quite simple to fix. I'm attaching a new patch split into two files.
The first one, 1_dselect_559519+556889.patch.gz, causes dselect to treat all unknown packages all as already seen. This fixes #556889, since dselect never automatically selects already seen packages for installation. The change is especially visible at the packages' selection screen: the non-patched version shows status `n_' (meaning `new purge') for most packages, for example: n_ Xtr x11 choosewm <none> 0.1.6-1 fake ... n_ Xtr x11 compiz-fusio <none> 0.8.4-1 Compiz Fusion ... n_ Xtr x11 compiz-fusio <none> 0.8.4-2 Compiz Fusion ... My version displays the status as '__' (`purge purge'). I hope the patch would be quite safe for applying in dselect. With the second patch, 2_dselect_551638.patch.gz, dselect stores already seen packages in packages-seen file - one package name in each line. It would be nice if you could apply this patch too, even though you might dislike it e.g. because db is certainly not `fronted united', coding introduces usage of STL maps, strings and iostreams and doesn't look like the awful `C with classes' used elsewhere in dselect codes. Regards, robert
1_dselect_559519+556889.patch.gz
Description: application/gzip
2_dselect_551638.patch.gz
Description: application/gzip

