You are not logged in.
Pages: 1
whenever i issue makepkg , i get the following
bash: ./makepkg: /usr/bin/bash: bad interpreter: No such file or directory
i thought makepkg collapsed , then downloaded a binary of makepkg and replaced , but its not working ?
Last edited by dineshswamy (2013-03-30 15:39:24)
Offline
Check your /etc/makepkg.conf, maybe you have an unmerged .pacnew. You are, by the way, the second person today to have a makepkg problem. The binary is owned by the pacman package, maybe you should try reinstalling pacman.
Offline
What is the ouput from the following commands:
which bash
file /usr/bin/bash
ls -l /And, did you happen to botch or ignore the big glibc update a while back?
Last edited by Trilby (2013-03-30 13:37:37)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Also, is this a problem related to your earlier post; https://bbs.archlinux.org/viewtopic.php?id=160553 ?
Offline
million thanks for every1's reply .. i got makepkg working . .. i edited the makepkg file
changed
#!/usr/bin/bash to #!/bin/bash perform
which bash and change accordingly .
Offline
Definitely the wrong thing to do - and it will only get overwritten on the next pacman upgrade.
If 'which bash' returned '/bin/bash' there is something wrong with your system, and you should address that before you do anything else.
Offline
Indeed, I asked for the output of those commands as I thought they would identify the real problem - not as a way to lead you to make the problem worse.
It seems my suspicions were right about the problem. Somehow you have come this far without making the /usr/ transition (with the big glibc update). Whenever you want to tell us how you actually broke your system, we might be able to help.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Hi,
as I have got exactly the same problem I hope somebody is able to help me (in the meantime I fixed the problem like he did, but as some of you said it might not be a good solution)
The problem occurred after I updated pacman to 4.1.
$ pacman --version
.--. Pacman v4.1.0 - libalpm v8.0.0
/ _.-' .-. .-. .-. Copyright (C) 2006-2013 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
This program may be freely redistributed under
the terms of the GNU General Public License.But since I installed arch in August 2012 I think the glibc update already happened:
$ which bash
/bin/bash
$ file /usr/bin/bash
/usr/bin/bash: ERROR: cannot open `/usr/bin/bash' (No such file or directory)
$ ls -l /
total 64
drwxr-xr-x 2 root root 4096 Dec 24 01:43 bin
drwxr-xr-x 3 root root 4096 Dec 26 13:41 boot
drwxr-xr-x 15 root root 2920 Apr 3 13:52 dev
drwxr-xr-x 80 root root 4096 Apr 3 19:38 etc
drwxr-xr-x 3 root root 4096 Oct 2 2012 home
lrwxrwxrwx 1 root root 7 Aug 29 2012 lib -> usr/lib
drwx------ 2 root root 16384 Oct 2 2012 lost+found
drwxr-xr-x 2 root root 4096 Dec 24 19:46 media
drwxr-xr-x 2 root root 4096 Aug 27 2012 mnt
drwxr-xr-x 4 root root 4096 Dec 30 02:32 opt
dr-xr-xr-x 156 root root 0 Apr 3 13:51 proc
drwxr-x--- 16 root root 4096 Jan 4 20:31 root
drwxr-xr-x 20 root root 500 Apr 3 17:35 run
drwxr-xr-x 2 root root 4096 Dec 24 01:43 sbin
drwxr-xr-x 4 root root 4096 Aug 27 2012 srv
dr-xr-xr-x 12 root root 0 Apr 3 13:51 sys
drwxrwxrwt 16 root root 400 Apr 3 19:39 tmp
drwxr-xr-x 9 root root 4096 Oct 2 2012 usr
drwxr-xr-x 13 root root 4096 Dec 24 02:02 varbut still I get an error for makepkg
$ makepkg --help
bash: /usr/bin/makepkg: /usr/bin/bash: bad interpreter: No such file or directoryI hope someone is able to tell me what is wrong with my system so I can fix it.
(I didn't do a pacman -Syu in a while since it wants to replace dbus and weird kde packages and I fear it will break nouveau and my system)
Offline
I hope someone is able to tell me what is wrong with my system so I can fix it.
(I didn't do a pacman -Syu in a while since it wants to replace dbus and weird kde packages and I fear it will break nouveau and my system)
I think you just answered your own question. Partial upgrades are not supported for exactly this reason, Pacman is depending on a newer Bash package than you have installed.
Offline
Pages: 1