Mrkennedy Wrote:Hi,
followed the first few steps and have this error
xbmc@XBMCLive:~$ sudo apt-get install git-core
[sudo] password for xbmc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package git-core
using puTTy have tried wincp and gettong error currunt SFTP session does not support your request......
Using WinSCP won't do anything for you, as it's simply a file-transfer client. The issue is on the side of the machine you're connecting to, not the one you're connecting from. You are doing the right thing by using putty.
Your output tells me that apt-get doesn't know what
git-core is, meaning in its list of "installable packages"
git-core isn't listed. This is most likely because you don't have the right source loaded on your machine. Here's what I mean:
XMCLive runs on the Ubuntu Linux distribution. Ubuntu uses a package management system called Aptitude. This system allows you to install programs from a big list, rather than finding the software, downloading it, compiling it, and running it all by yourself. It also lets you update the same software, so you don't need to go worry about using the latest version. It greatly simplifies this process for you. How it works is by maintaining a list of "sources" from which it can download software. By default Ubuntu comes with several lists with a
lot of software on it. By default, Ubuntu should have the software source that contains the git-core package enabled, but on your system this seems to not be the case. Either that source was removed or it was disabled.
Now that we know what's wrong, how do we fix it? I'm not an Ubuntu expert, but I know that fixing this is easiest through the Ubuntu gui. Since you're running XBMCLive, however, you don't have easy access to this gui. Chances are you'll need to do some more command-line magic to either enable or add the source that
git-core is distributed through. Since I don't have the answer off the top of my head, I've created two threads for you:
http://forum.xbmc.org/showthread.php?p=524372
http://ubuntuforums.org/showthread.php?p=9141514
The first is a thread in the XBMCLive forums here. The second is a thread on the Ubuntu forums. Hopefuly one of these two threads will get you straightened out.