[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with sed, Exec format error.



Hello Debs.

I have a problem with sed, which in turn creates problem with apt-get
and like that use it.  When I try to execute it from the command line, I
get "/bin/sed: Exec format error. Binary file not executable."

Then, I ran file sed and I got the following:
sed: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), for
GNU/Linux 2.2.0, dynamically linked (uses shared libs),
stripped

I run Debian unstable, on Sparc SS 5 (85 mhz of raw power, yipee).

I tried to remove and reinstall sed, but no luck.

When running apt-get -u dist-upgrade, it fails with the following error:
/var/lib/dpkg/infoi/locales.config: line 1: /bin/sed: cannot execute
binary file", and the apt-get call overall fails.

I was wondering if anyone could give me a hand.  I think it might have
with the fact that it is a 64 bit, while everything else in the /bin is
32 bit.  I did not explicitly ask for any 64 bit installation with the
apt-get, so I am unsure where the problem is.

Thanks for your help.

Bojan Baros



Reply to: