Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Git Basics Getting Started With Git Working With Git Repositories

Aurelian Spodarec
Aurelian Spodarec
10,801 Points

Unable to locate package git

Unable to locate package git

it says, and i did everything that in the video.

It's a bug i suppose.

2 Answers

Pétur Már Sigurðsson
Pétur Már Sigurðsson
4,981 Points

I looks like your apt-get is not up to date. Try writing:

$ sudo apt-get update 
$ sudo apt-get install git

Hey Aurelian,

Can you provide an error log? What OS are you using (OSX, Windows, Ubuntu, etc.)?

This is a common run-in if you're using Ubuntu.

Aurelian Spodarec
Aurelian Spodarec
10,801 Points

HI,

I'm using the TreeHouse workspace, if you 'Watch Video' and launch the console.

I don't have any problem on my computer, but I want to follow the entire course on threehouse console just in case, since im still enw to this.