Apt-get :: Installing MAKE
I need to compile one of my own programs to run on the DSL box (which is the edge router at my business). I had no trouble installing gcc (and its requirements), but when I try to install *make*, it needs *fileutils*, and it fails with the following message:
Unpacking fileutils (from .../fileutils_4.1-10_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/fileutils_4.1-10_i386.deb (--unpack):
trying to overwrite `/bin/chgrp', which is also in package coreutils
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/fileutils_4.1-10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What is the problem, and how do I get around it?
It looks like part of the problem is that /bin/chgrp is not the real debian chgrp, but the busybox substitute. I had hoped to bypass the problem by makeing it a COPY of busybox instead of a link, but that did not make any difference.
I managed to get MAKE in by manually typing
dpkg --force-depends -i /var/apt/archives/make*
Make runs, but gcc won't actually compile anything because
I am missing almost all of /usr/include/*.h
I think that what I need is libc6-dev package, but I get
two errors when I try to install it:
1) something about the wrong version of libc6
2) make is installed but needs fileutils as a prerequisite,
and since it is not there, apt-get won't go on.
This is not very helpful.
---
Am I crazy for wanting to do a few compiles on a DSL box ?
message removed
I think I have figured out that I need to install a package named gnu-utils in order to get the full (non-busybox) core utilities.
But when I type
apt-get install gnu-utils
... I get "package not found".
How do I install gnu-utils ?
/ Lars Poulsen
With some more googling, I learned that I just need to type
gnu-utils-restore
... and gnu-utils (true coreutil) gets installed.
But after this, I still cannot install fileutils (which is a prerequisite for make).
Next Page...
original here.