[nSLUG] re-install all packages in debian/ubuntu

Donald Teed donald.teed at gmail.com
Thu Nov 10 13:11:07 AST 2005


Here is an interesting exercise:

dpkg --get-selections | awk '{if ($2 == "install") print $1}' | xargs
apt-get -y --reinstall install

A command to reinstall all packages (answering yes to everything!) shown as

It fetches everything, and then it immediately has this error:

E: Couldn't configure pre-depend coreutils for debianutils, probably a
dependency cycle.

apt-get check comes up blank.

Does anyone have a suggestion or explanation?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/mailman/private/nslug/attachments/20051110/7486bb7f/attachment-0001.html>

More information about the nSLUG mailing list