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

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


Howdy,

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
installed.

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?


!DSPAM:43737f2c4501620378871!
-------------- 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