pakhoi
Posts: 3
Joined: Sun Mar 03, 2013 12:47 am

E: unable to locate (any) package

Sun Mar 03, 2013 12:56 am

Hi,
this is my first forum post. I am following this

http://lifehacker.com/5978594/turn-a-ra ... iving-room

and I get to the point where it it says "sudo apt-get install git....." the first time I did this, it worked, so I moved on to the next line that says "git...." When I typed it in, it say git: command not found. I couldn't find any solution online... Now I try to redo the " sudo apt-get" line, it say "E: unable to locate package..." I also tried "sudo apt-get install git" "sudo apt-get install ca-certificates" all end the same.
I am not a programmer, but am willing to type codes in the terminal.

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: E: unable to locate (any) package

Sun Mar 03, 2013 1:45 am

E: unable to locate package...
Is this the complete error message? Normally it mentions the name of the package that cannot be found.

Gr.
Dirk.

pakhoi
Posts: 3
Joined: Sun Mar 03, 2013 12:47 am

Re: E: unable to locate (any) package

Sun Mar 03, 2013 2:05 am

DirkS wrote:
E: unable to locate package...
Is this the complete error message? Normally it mentions the name of the package that cannot be found.

Gr.
Dirk.
hi,
thanks for replying.
no, that is not the complete line, replace the ... with the package.
(ex. git-core, ca-certificates)

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: E: unable to locate (any) package

Sun Mar 03, 2013 2:13 am

Have you done an update recently? If not do that first (sudo apt-get update) and then try to install git again (sudo apt-get install git).

Gr.
Dirk.

pakhoi
Posts: 3
Joined: Sun Mar 03, 2013 12:47 am

Re: E: unable to locate (any) package

Sun Mar 03, 2013 2:19 am

DirkS wrote:Have you done an update recently? If not do that first (sudo apt-get update) and then try to install git again (sudo apt-get install git).

Gr.
Dirk.
I have updated AND upgrade multiple times to make sure I am up-to-date before try to install the git. it's not working.

Return to “Troubleshooting”