John O'Hagan wrote:
You have probably already figured this out, but many of those packages provide more than one of the executables in /bin. To see this, try:On Tue, Mar 14, 2006 at 05:32:46PM +1100, Paul Dwerryhouse wrote:apt-get --reinstall install \ $(cd /var/lib/dpkg/info; grep -l '^/bin/' *.list|sed 's/.list$//')Thanks for this ingenious solution; there are still a couple of things to iron out though: for some reason the command substitution above produces a shorter list of files than what should be in /bin (I'm trying to figure out why);
dpkg -L gzip | grep ^/bin You will see that this package, alone, provides 14 files in /bin. -- Marc Shapiro mshapiro_42@yahoo.com