On Wed, Jan 17, 2001 at 12:51:25PM -0600, ktb wrote: > On Wed, Jan 17, 2001 at 12:58:03PM -0500, Andreas Boman wrote: > > Does anybody have a nice little script that will download the source, > > recompile and reinstall all my installed packages? > > > > apt-get won't work? > kent > It might, but if it does, it won't do it cleanly. It's not really designed for it.
dpkg -l|awk '{print $2}' can't be made part of a script, because dpkg cuts off filenames after a certain length. So you get things like 'netscape-base-', 'libstdc++2.10-', and 'communicator-s' twice. Anyway to change get a list of the _full_ filenames of all packages from the command line? You would need to grab the source for each package you have, compile it into a .deb, then install, I think. Yes? 'apt-get source --compile <package>' will not place things into a nice neat tree, either. You would end up with a directory filled with tons of 'package-version' directories, as well as the diff's and original source. apt doesn't do this particular function very well. apt-get dist-upgrade source --compile <package> doesn't parse, of course. ;) I would love to see a front end like apt (or an upgraded apt) that can handle cvs source trees like what the BSD's have. -- David Schmitt ([EMAIL PROTECTED])