apt-get gcc and make problem


Forum: Apps
Topic: apt-get gcc and make problem
started by: woverin

Posted by woverin on Dec. 17 2003,05:59
I need to install gcc and make so i did the following but i got some errors at the end about fileutils. Can anyone help?

root@0[damnsmall]# apt-get install make gcc
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
 binutils fileutils gcc-2.95
The following NEW packages will be installed:
 binutils fileutils gcc gcc-2.95 make
0 packages upgraded, 5 newly installed, 0 to remove and 2  not upgraded.
Need to get 3763kB of archives. After unpacking 9609kB will be used.
Do you want to continue? [Y/n] y        
Get:1 < http://ftp.us.debian.org > stable/main fileutils 4.1-10 [710kB]
Get:2 < http://ftp.us.debian.org > stable/main binutils 2.12.90.0.1-4 [1711kB]    
Get:3 < http://ftp.us.debian.org > stable/main gcc-2.95 1:2.95.4-11woody1 [952kB]  
Get:4 < http://ftp.us.debian.org > stable/main gcc 2:2.95.4-14 [3420B]            
Get:5 < http://ftp.us.debian.org > stable/main make 3.79.1-14 [386kB]              
Fetched 3763kB in 3m9s (19.9kB/s)                                              
Preconfiguring packages ...
tar: ./postinst: time stamp 2002-03-18 07:10:02 is 385204221 s in the future
tar: ./preinst: time stamp 2002-03-18 07:10:02 is 385204221 s in the future
tar: ./prerm: time stamp 2002-03-18 07:10:02 is 385204221 s in the future
tar: ./control: time stamp 2002-03-18 07:10:05 is 385204224 s in the future
tar: ./md5sums: time stamp 2002-03-18 07:10:06 is 385204225 s in the future
Selecting previously deselected package fileutils.
(Reading database ... 9258 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)

Posted by John on Dec. 17 2003,17:37
Hi, modify  /etc/apt/sources.list to use testing and everything should update fine.  Right now DSL has one foot in stable and one foot in testing, which could make for some difficulty when using apt.  The reason?  Mostly gtk1.2 vs. gtk2.
Posted by rdg37 on Jan. 02 2004,00:43
Hi,

I am having the exact same problem as above. gcc will install, but make will not. It is complaining about not being able to install fileutils.

I tried modifying the sources.list filend commented out the first line (stable) and uncommented the next two (testing). I still had no joy so tried to run dpkg-restore. now when I try "apt-get install make" I get:

Reading Package Lists... Done
Building Dependency Tree.. Done
Package make has no avaliable version, but exists in the database. This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or in not avaliable with the contents of sources.list
E: Package make has no installation candidate

Hopefully someone can help me with this? It is really important to be able to use make and gcc!

Thanks in advance,
- Richard

Posted by Grim on April 03 2004,05:08
It's a problem with the busybox version of tar. Check < this thread > toward the bottom of the page, right before cbagger gives me a hard time.
Posted by roberts on April 03 2004,16:49
And it should be pointed out that with 0.6.2+ the hard drive install has an option not to use busbox. And starting with the next release GNU tar will replace the busybox tar applet.
Posted by dlh222222 on April 17 2004,16:51
So I downloaded damnsmall 6.3, did the hdinstall--
enhanced-- and dpkg restore. Changed to testing, did dselect update.
went apt-get install make gcc, done. got a w3m tar.gz,
untarred it, looked good. ran ./configure, got "cpp fails sanity check" . did entire procedure twice. I must compile this thing,debian package has emacs keymapping and zile, I want  
lynx and vi...Any ideas?

Posted by woverin on April 17 2004,21:34
i ran into the same problem as dlh222222. ( cpp fails sanity check)
I installed dsl 6.3 hdinstall (enhanced)
changed sources.list to testing
I tried to compile ettercap NG_0.7.0_pre1
Code Sample
configure: error: C preprocessor "/lib/cpp" fails sanity check

Posted by PhrozenFear on April 27 2004,16:14
When you do the sources.list change, make sure you do apt-get update first, so that it gets the fresh lists from the Testing server.  Then again, you're all probably non-n00bs who already knew that, unlike me, who didn't the first few times...
Posted by gjhicks on April 29 2004,11:02
Hi,

I am having a similar problem with installing the routines required to be able to 'make' applications.

I have changed the 'sources.list' file to use the 'testing' method and re-run 'apt-get update'

When I try to install the necessary for make I get:

boot@box:/etc/apt# apt-get install make gcc
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
 binutils cpp-2.95 fileutils gcc-2.95
Suggested packages:
 manpages-dev automake flex gdb gcc-2.95-doc task-devel-common
Recommended packages:
 libc-dev
The following new packages will be installed:
 binutils cpp2.95 fileutils gcc gcc-2.95 make
0 upgraded, 6 newly installed, 0 to remove and 121 not upgraded
Need to get 3893kB of archives.
After unpacking 9859kB of additional space will be used.
Do you want to continue? [Y/n] y
Get:1 < http://ftp.us.debian.org > stable/main fileutils 4.1-10 [710kb]
Get:2 < http://ftp.us.debian.org > stable/main binutils 2.12.90.0.1-4 [1711kb]
Get:3 < http://ftp.us.debian.org > stable/main cpp-2.95 1:2.95.4-11woody1 [129kb]
Get:4 < http://ftp.us.debian.org > stable/main gcc-2.95 1:2.95.4-11woody1 [952kb]
Get:5 < http://ftp.us.debian.org > stable/main gcc 2:2.95.4-14 [3420kb]
Get:6 < http://ftp.us.debian.org > stable/main make 3.79.1-14 [386kb]
Fetched 3893kB in 1m25s (45.6kB/s)
Preconfiguring packages ...
(Reading database ... 10576 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/dkpg returned an error code (1)

Any help much appreciated.

Geoff

Posted by dlh222222 on April 29 2004,13:30
When I did make gcc after changing the list source to testing and immediately doing an update to get the proper list, the install completed and was gcc version 3.3. So 2.95 doesn't look right...
Posted by gjhicks on May 05 2004,11:22
Hi,

Several posts here mention changing from'stable' to 'testing' in the 'sources.list'.

I noticed that the 'apt.conf' file contains an entry setting the default to 'stable'.

Should this line also be changed?

Regards,

Geoff.

Posted by Grim on May 05 2004,17:41
The apt.conf file is in reference to apt-pinning.  Read < this document > for more information about apt-pinning.
Posted by gjhicks on May 06 2004,04:52
thanks for your help, will read the document and (try) to understand - anything to get away from windows!
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.