Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: apt-get errors< Next Oldest | Next Newest >
mattwilson247 Offline





Group: Members
Posts: 1
Joined: Jan. 2005
Posted: Jan. 15 2005,21:06 QUOTE

I am a newbie so bear with me.  I installed DSL and for some reason the make command is not installed. I need make so I can build apache from the source.  I am logged in as root when I do this. I also followed the instructions at http://www.damnsmalllinux.org/talk/node/89

I try to run apt-get install make but I get this error:

apt-get install make
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
fileutils
The following NEW packages will be installed:
fileutils make
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1097kB of archives.
After unpacking 2773kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 10504 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
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)


Then when I run apt-get dist-upgrade I get this error:

apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following NEW packages will be installed:
fileutils shellutils textutils
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1852kB of archives.
After unpacking 5566kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 10504 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
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)

Any ideas?

Thanks.

-Matt
Back to top
Profile PM 
JohnS Offline





Group: Members
Posts: 23
Joined: Dec. 2004
Posted: Jan. 16 2005,20:23 QUOTE

Hello Matt,
I'm new here too, but I think I know the answer to that. DSL is too small to hold the entire development environment, you need to download it if you want to do compiling stuff. Its available as a .dsl file so you don't need to do apt-get. Just click on MyDSL icon, go to the system section and click on gcc1.dsl. You might also want gnu-utils while you are at it.

I hope this works for you,

John S.
Back to top
Profile PM 
Grim Offline





Group: Members
Posts: 284
Joined: Mar. 2004
Posted: Jan. 20 2005,04:55 QUOTE

Quote
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

I haven't done a hard disk install but it sounds like you didn't select the GNUutils instead of busybox on install.  

I thought recent hard disk installs automagically defaulted to the GNU utils instead of busybox, but I could be wrong.  I'm sure John or Robert will be along any moment now to correct my lapsing memory.

Short answer, it sounds like you're either:
a.) Trying to do this from the LiveCD
b.) Had a bad hard disk install

If the answer is "a", my advice would be, don't do it.  Install it to the hard drive and if the installer gives you the option to use the GNU utilities instead of BusyBox, do that.

If the answer is "b", reinstall.  It's about a 200MB install it'll take you a half-hour, tops.


--------------
No good deed goes unpunished...
Back to top
Profile PM WEB 
StrayDog
Unregistered






Posted: Jan. 20 2005,12:43 QUOTE

"If the answer is "a", my advice would be, don't do it.  Install it to the hard drive and if the installer gives you the option to use the GNU utilities instead of BusyBox, do that."

could he not load the gnu-utils.dsl?
Back to top
Grim Offline





Group: Members
Posts: 284
Joined: Mar. 2004
Posted: Jan. 21 2005,12:30 QUOTE

Quote
could he not load the gnu-utils.dsl?

Yeah, that could be done.  Honestly, I forget about the *.dsl files 'cause I don't use 'em that much, but...

Compiling Apache from source using a LiveCD?  Why would you want to do that? It's inefficient.  Compiling Apache from source is resource-intensive enough already from a hard disk install without your OS on Read-only media.  You could use the toram option to speed things up but that would mean loading the OS in resident memory, then loading the gnu-utils and gcc into resident memory and then compiling Apache from source.  That's a whole lotta crap shoehorned into RAM.

I'm sure it could be done, but why would you wanna?  It'd be better to compile Apache on a hard disk install of the machine you intend to make your web server.


--------------
No good deed goes unpunished...
Back to top
Profile PM WEB 
4 replies since Jan. 15 2005,21:06 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: apt-get errors

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code