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

Donald Teed donald.teed at gmail.com
Thu Nov 10 14:27:16 AST 2005


I found the answer. It is a bug related to a long list of packages. The
work-around is to make a shell for loop and give each package name to
apt-get one at a time.

On 11/10/05, Donald Teed <donald.teed at gmail.com> wrote:
>
> 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:437391066021554332388!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/mailman/private/nslug/attachments/20051110/01592ab8/attachment-0002.html>


More information about the nSLUG mailing list