It's a very dirty script....You might want to look at the commands and recreate manually.
I got the same thing with gnome x64, maybe it only works for kde? I don't think the cp command would work either way though, there's no destination folder given. What is it supposed to be?
root@bt:~# prepare-kernel-sources[*] apt-getting linux-source...
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-source is already the newest version.
The following packages were automatically installed and are no longer required:
libecryptfs0 libdmraid1.0.0.rc16 libdebconfclient0 ecryptfs-utils cryptsetup
rdate bogl-bterm libdebian-installer4 reiserfsprogs dmraid python-pyicu
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.[*] extracting sources, please wait[*] doing stuff...
cp: missing destination file operand after `/boot/'
Try `cp --help' for more information.
scripts/kconfig/conf --silentoldconfig Kconfig
CALL scripts/checksyscalls.sh[*] tada!
root@bt:/usr/src/linux# more /usr/bin/prepare-kernel-sources
echo "[*] apt-getting linux-source..."
apt-get install linux-source
echo "[*] extracting sources, please wait"
tar jxpf linux-source-$VER.tar.bz2
echo "[*] doing stuff..."
rm -rf linux
ln -s linux-source-$VER linux
zcat /proc/config.gz > .config
ln -s /usr/src/linux /lib/modules/$VER/build
echo "[*] tada!"
Got same problem. My nVidia wont install.
In the future please try to be a bit more detailed. This will not only help you, but others as well.
Originally Posted by Virulent87
Got same problem. I can't install VMware tools on BT5.
Did you follow the official guide ? Installing VMware Tools in Backtrack5
Originally Posted by Yulii
I have a clone of BT5 R1 Gnome 64bits on VirtualBox. So, before you install any program I install in BT inside VirtualBox.
I installed VMWare Player by following this link: http://www.backtrack-linux.org/wiki/..._VMware_Player
When I went to open the VM it gave an error that was corrected by following this: http://www.backtrack-linux.org/wiki/...Kernel_Headers
Works fine :D
So I install on my main OS (BT5 R1 64bits Gnome). Then the same error occurred! I was running Preparing Kernel Headers and:
I was check the headers that were installed, they are:
prepare-kernel-sources: command not found
Everything seems to be ok! But I do not understand why is giving the error.
I appreciate any help!
My notebook is: Dell Inspirion, i5.
VGA compatible controller
Core Processor Integrated Graphics Controller
Solved! I did a big upgrade by Synaptic ... and then I use the Fixed-kernel-sources prepared script.