Page 1 of 1

Git on B3

Posted: 11 Dec 2013, 02:13
by Ubi
Maybe I'm getting old and senile but I just cant get a git client to install on the B3

Code: Select all

root@korona:apt-get dist-upgrade; apt-get update
<<-=suppressed-->>
root@korona:/etc/apt#  apt-get -y install git     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package git 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 'git' has no installation candidate
root@korona:/etc/apt#  apt-get -y install git-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 git-core : Depends: git (> 1:1.7.0.2) but it is not installable
E: Broken packages
Any ideas?

Re: Git on B3

Posted: 11 Dec 2013, 02:51
by Gordon
Do you have an official debian repo in your sources list? Also, you might want to try to (temporarily) remove the preferences file for apt, which forces the Excito repo to be leading and maybe they are plugging an older version that is incompatible.

Edit: I actually do have git installed, version 1:1.7.2.5-3, and according to the package manager this provides git-completion and git-core. You should probably not install git-core?

Re: Git on B3

Posted: 11 Dec 2013, 03:02
by Ubi
well the sources list is empty these days, with the new /etc/apt layout and all. I thought in this new setup excito would just forward the packages to debian if it couldnt find it inhouse, but ,as you say, this seems to break the git update.

Which debian repo are you using atm?

Re: Git on B3

Posted: 11 Dec 2013, 04:43
by Gordon
Well, I have Excito + sources (generated by `change_distribution -s elvin`) in /etc/apt/sources.list.d/excito and I added:

/etc/apt/sources.list.d/backports.list

Code: Select all

deb http://ftp.nl.debian.org/debian-backports squeeze-backports main
/etc/apt/sources.list.d/squeeze.list

Code: Select all

deb http://ftp.nl.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.nl.debian.org/debian squeeze main contrib non-free
And of course my personal repo for stuff like transmission, domoticz and improved firewall

Re: Git on B3

Posted: 11 Dec 2013, 13:22
by Ubi
yeah that worked. Thanks!