Failed to execute child process "/usr/bin/truecrypt" (No such file or directory)
Trying to install Truecrypt on Ubuntu 10.04 I get this message
Failed to execute child process "/usr/bin/
I downloaded the standard 32 bit version and expanded the .gz file from john/download. I can see Trucrypt in usr/bin.
Truecrypt appears in the application menu but gives the above message when I try to execute it.
What is the child process and how do I fix it?
Regards
John
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Victor Ashik
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
try:
sudo apt-get clean; sudo apt-get update; sudo apt-get --reinstall install truecrypt
Can you also give the output of:
sudo find / -iname "truecr*"
Thanks
Revision history for this message
|
#2 |
Thanks for your suggestions.
In view of the message at the end re another package ... please note that I did install EasyCrypt from the Synaptic Package Manager first.
Output from the sudo commands:
john@ubuntu:~$ sudo apt-get clean
john@ubuntu:~$ sudo apt-get update
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
john@ubuntu:~$ sudo apt-get --reinstall install truecrypt
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package truecrypt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package truecrypt has no installation candidate
=======
output from sudo find / -iname "truecr*"
/usr/bin/truecrypt
/usr/bin/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/home/john/
/home/john/
/home/john/
/home/john/
/home/john/
/home/john/
/home/john/
Revision history for this message
|
#3 |
The file is there, not sure of the issue. Do you still get the error if you run:
sudo apt-get --reinstall install truecrypt
Thanks
Revision history for this message
|
#4 |
Yes I've tried again and get the same message.
Also removed Easycrypt and tried again.
Revision history for this message
|
#5 |
Sounds like a bug to me. I'd log a bug with:
ubuntu-bug truecrypt
Revision history for this message
|
#6 |
OK I'll do that. Thanks for your help.
Regards
John
Revision history for this message
|
#7 |
Could you give us the output of
ls -l /usr/bin/truecrypt
Perhaps the permissions of the truecrypt binary are set up the wrong way so that the program can be read - but not be executed.
Revision history for this message
|
#8 |
Hi Peter, here it is ...
john@ubuntu:~$ ls -l /usr/bin/truecrypt
-rwxr-xr-x 1 root root 4713232 2010-07-19 19:24 /usr/bin/truecrypt
Revision history for this message
|
#9 |
Hmmm... ...this seems to be fine.
... Then you have several options:
1) type
which truecrypt
into a terminal to find out if this really is the truecrypt program your system uses by default: In theory there can be another program named "truecrypt" in another folder Ubuntu looks into first.
2.) try starting truecrypt with the name
/usr/bin/truecrypt
instead of solely
truecrypt
3.) look if /usr/bin/truecrypt is a text file you can open using your text editor. If it is post the contents of this file to us: Debugging shell scripts normally is easy
4.) can you post the result of
file /usr/bin/truecrypt
file looks into a file and tries to find out what kind of data it sees.
We have to find a solution to this problem - and I am optimistic that we will.
Revision history for this message
|
#10 |
The results of these commands are pasted below:
john@ubuntu:
/usr/bin/truecrypt
john@ubuntu:
bash: /usr/bin/truecrypt: No such file or directory
john@ubuntu:
/usr/bin/truecrypt: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
john@ubuntu:
Trying to open in gedit gives the message
"could not open file
gedit has not been able to detect the character encoding.
Please check that you are not trying to open a binary file.
Select a character encoding from the menu and try again."
Revision history for this message
|
#11 |
Hmmm...
That means that
- truecrypt is definitely there,
- it is a program
- it is executable
- the file command can read it
- but if you try to execute it your system says it is not there.
An almost surrealisic situation... never had this problem nor do I see how it can possibly occour...
Either something really weird is happening or the answer is so simple that we cannot possibly see it.
Try
strace /usr/bin/truecrypt
strace is a program that loads a program and tells you what this program is telling the system to do. Perhaps it starts and then for some reason outputs an error message saying that it isn't there...
Revision history for this message
|
#12 |
Here is the result of strace:
john@ubuntu:
execve(
dup(2) = 3
fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=
mmap(NULL, 4096, PROT_READ|
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
close(3) = 0
munmap(
exit_group(1) = ?
Revision history for this message
|
#13 |
That *really* is weird. Why doesn't your system find this program as it clearly is there, readable *and* executable?
Revision history for this message
|
#14 |
OK I've uninstalled & tried again.
Still nothing happens when I click on the Truecrypt icon under the menu applications>
So I brought up terminal and tried to execute from usr/bin. Error message returned is:
john@ubuntu:
truecrypt: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
Does this help to resolve my problem?
Regards
john
Revision history for this message
|
#15 |
It does - and does not look too bad:
It does mean that truecrypt did actually try to start up - but did not manage to do anything since libfuse2 is missing. You can compare this error message with a windows complaining about a missing DLL. Only that when sing linux installing a new DLL is simple. (
Do a
sudo apt-get install libfuse2
in a terminal or use System/
Revision history for this message
|
#16 |
libfuse2 seems to be already installed. (Also confirmed by synaptic manger). Can I target lib.so.2 more specifically ?
john@ubuntu:~$ sudo apt-get install libfuse2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfuse2 is already the newest version.
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
john@ubuntu:~$ truecrypt
truecrypt: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
john@ubuntu:~$
Revision history for this message
|
#17 |
sudo apt-get --purge autoremove; sudo apt-get --reinstall install libfuse2
Should fix the lib issue.
Revision history for this message
|
#18 |
I've tried this but I'm afraid I've got the same result. Terminal output below:
john@ubuntu:~$ sudo apt-get --purge autoremove
[sudo] password for john:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
linux-
0 upgraded, 0 newly installed, 2 to remove and 29 not upgraded.
After this operation, 85.3MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 161311 files and directories currently installed.)
Removing linux-headers-
Removing linux-headers-
john@ubuntu:~$ sudo apt-get --reinstall install libfuse2
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 29 not upgraded.
Need to get 0B/146kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 143142 files and directories currently installed.)
Preparing to replace libfuse2 2.8.1-1.1ubuntu2 (using .../libfuse2_
Unpacking replacement libfuse2 ...
Setting up libfuse2 (2.8.1-1.1ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
john@ubuntu:~$ truecrypt
truecrypt: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
Revision history for this message
|
#19 |
I met the same "error". The problem most possibly is that you are trying to use x86 Truecrypt on x64 Ubuntu or vice versa. Uninstall Truecrypt, get and install the right build.
Revision history for this message
|
#20 |
Thanks Victor Ashik, that solved my question.