You are not logged in.

#1 2010-03-22 08:48:47

ninja
Member
Registered: 2010-03-22
Posts: 12

[Solved]Cannot execute binary file

Hello,

I've managed to get my internet connection up and did an pacman -Syu
Now pacman doesnt do anything anymore, it just keeps giving me this:

-bash: /usr/bin/pacman: cannot execute binary file

What could this be?

Last edited by ninja (2010-03-24 06:09:10)

Offline

#2 2010-03-22 08:59:16

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [Solved]Cannot execute binary file

Are you on a 32-bit/64-system? Check that the ELF is correct on /usr/bin/pacman.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-03-22 09:07:39

ninja
Member
Registered: 2010-03-22
Posts: 12

Re: [Solved]Cannot execute binary file

ngoonee wrote:

Are you on a 32-bit/64-system? Check that the ELF is correct on /usr/bin/pacman.

My system is i686 but I read somewhere here on the forums (since I had problems with install) that I should install the 84_64 version anyway.

The ELF looks wrong though, it's all symbols in the beginning and then some lines in combination with symbols (unless thats how it's supposed to be)

Offline

#4 2010-03-22 09:26:54

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [Solved]Cannot execute binary file

Wait, so did you install the 686 version or the x86_64 version of Arch? Did you modify your mirrorlist to download files from a different Arch than what you have installed?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2010-03-22 10:11:47

ninja
Member
Registered: 2010-03-22
Posts: 12

Re: [Solved]Cannot execute binary file

ngoonee wrote:

Wait, so did you install the 686 version or the x86_64 version of Arch? Did you modify your mirrorlist to download files from a different Arch than what you have installed?

No sorry, I was confused with this:

I installed Arch with the normal install even though I have no SATA.

I installed the x86_64 updates. There's my problem I think, my laptop uses i686. I'll reinstall and update with i686, if I still get the problem, I'll let you know.

Offline

#6 2010-03-23 10:21:26

ninja
Member
Registered: 2010-03-22
Posts: 12

Re: [Solved]Cannot execute binary file

Yeah, I choose the wrong updates. This thread can be closed. Sorry smile

Offline

#7 2010-03-23 23:18:48

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [Solved]Cannot execute binary file

Welcome to Arch. I have no idea where you got the idea that x86_64 updates were suitable for an i686 system, you may want to go back and scold the person who told you that.

Please mark the thread as [solved] (edit first post)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB