binutils from apt caused error


Forum: Apt-get
Topic: binutils from apt caused error
started by: nickelplated

Posted by nickelplated on Oct. 15 2005,11:00
Hi. I was getting the packages make and g++ through synaptic when I encountered this error. Synapic message terminal pops up under heading "configuring binutils", telling me there's a bug in the linker with my version of binutils, then dpkg returns an error and the install doesn't finish. Is there a workaround or something?
Posted by longvy2k on Oct. 17 2005,10:07
Same thing happened to me.  Both in apt and synaptic, error "1" popped up with some kind of debian dpkg error.  Dont know enough to figure it out cuz I thougth apt-get was the ez thing to do???? :angry:
Posted by nickelplated on Oct. 20 2005,01:33
I guess it must take a lot of effort to acknowledge a bug when people tell you about them?
Posted by cbagger01 on Oct. 20 2005,16:13
Here's a thought.

Call me crazy but maybe if you write down the error message and post it, somebody here might be able to help.

Posted by nickelplated on Oct. 21 2005,00:14
ok
Code Sample
Debian Configuration

 lqqqqqqqqqqqqqqqqqqqqqqqu [!] Configuring Binutils tqqqqqqqqqqqqqqqqqqqqqqqk
 x                                                                          x
 x Kernel link failure info                                                 x
 x                                                                          x
 x You may experience problems linking older (and some newer) kernels with  x
 x this version of binutils.  This is not because of a bug in the linker,   x
 x but rather a bug in the kernel source.  This is being worked out and     x
 x fixed by the upstream kernel group in newer kernels, but not all of the  x
 x problems may have been fixed at this time.  Older kernel versions will   x
 x almost always exhibit the problem, however, and no attempts are being    x
 x made to fix those that we know of.                                       x
 x                                                                          x
 x There are a few work-arounds, but the most reliable is to edit the       x
 x linker script for your architecture (e.g. arch/i386/vmlinux.lds) and     x
 x remove the '*(.text.exit)' entry from the 'DISCARD' line.  It will       x
 x bloat the kernel somewhat, but it should link properly.                  x
 x                                                                          x
 x                                  <Ok>                                    x
 x                                                                          x
 mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
                                                                             

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

Posted by cbagger01 on Oct. 21 2005,05:53
Hmm...

According to these guys, this is only a warning message and not an error as long as you highlight the OK button and press the ENTER key.

< http://lists.debian.org/debian-user/2003/09/msg02683.html >

Maybe you have some other dpkg error.

In fact, I just installed binutils from the command line, IE:

sudo su
apt-get install binutils

and I acknowledged the warning and it finished without a dpkg error code message.

Maybe if you type:

sudo su
apt-get --fix-broken install binutils

and see what happens.

Posted by nickelplated on Oct. 24 2005,22:35
Yeah you're right there is another error I was getting in addition to that having to do with a dependency of make:
Code Sample
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

So the binutils error is really just kinda a warning message then?

Posted by nickelplated on Oct. 25 2005,22:18
Any thoughts on how to get around this other error, by the way? Deleting /bin/chgrp didn't seem to work for me, and doing apt-get remove coreutils doesn't seem like the right thing to do either.
Posted by cbagger01 on Oct. 26 2005,16:49
Give:

sudo su
dpkg -i --force-all /var/cache/apt/archives/fileutils_4.1-10_i386.deb


a try.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.