apt-get returns: Error code 1

Forum: Apt-get
Topic: apt-get returns: Error code 1
started by: Munksgaard

Posted by Munksgaard on June 27 2006,15:18
Hi, i've just started using linux yesterday, so im quite new to it all :)

But i found out, that i need to run synaptic to get the 'make' command i need to have, in order to install other programs! But, when i try to get it, i get the error

"Sub-process /usr/bin/dpkg returned an error code (1)"

Then, when i try

apt-get -f install

i get this:

root@box:~# apt-get -f install make
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
The following NEW packages will be installed:
fileutils make
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1097kB of archives. After unpacking 2773kB will be used.
Do you want to continue? [Y/n] y
(Reading database ... 11018 files and directories currently installed.)
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
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@box:~# dpkg-deb: subprocess paste killed by signal (Broken pipe)

Posted by jls legalize on June 28 2006,00:41
use gcc....dsl that is in the repository.

legalize cannabis, etc.

Posted by kerry on June 30 2006,05:35
only use sarge repo
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.