Page 1 of 1

Trouble loading git with aptitude

Posted: Wed Feb 03, 2016 11:51 am
by akc42
I have just downloaded an image of raspbian and installed it on my new model 2 :-)

Its been a while since I was last on this forum but I am having trouble with aptitude. I am an experienced debian user, so I am reasonably happy with most aspects of using the OS.

BUT, attempting to install git and aptitude tells me ...

Code: Select all

Err http://mirrordirector.raspbian.org/raspbian/ jessie/main libcurl3-gnutls armhf 7.38.0-4+deb8u2
  404  Not Found [IP: 5.153.225.207 80]
Err http://mirrordirector.raspbian.org/raspbian/ jessie/main git-man all 1:2.1.4-2.1
  404  Not Found [IP: 5.153.225.207 80]
Err http://mirrordirector.raspbian.org/raspbian/ jessie/main git armhf 1:2.1.4-2.1
  404  Not Found [IP: 5.153.225.207 80]
Err http://mirrordirector.raspbian.org/raspbian/ jessie/main git-core all 1:2.1.4-2.1
  404  Not Found [IP: 5.153.225.207 80]
0% [Working]E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/c/curl/libcurl3-gnutls_7.38.0-4+deb8u2_armhf.deb: 404  Not Found [IP: 5.153.225.207 80]
It this a temporary glitch or something that I am doing wrong?

I have the following in my /etc/apt/sources.list (unchanged)

deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi

Re: Trouble loading git with aptitude

Posted: Wed Feb 03, 2016 12:01 pm
by topguy
Have you remembered to do:

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
first ??

Re: Trouble loading git with aptitude

Posted: Wed Feb 03, 2016 12:11 pm
by akc42
Yes

Re: Trouble loading git with aptitude

Posted: Wed Feb 03, 2016 12:27 pm
by akc42
I think it must be a problem with the package list files

Looking directly into the repository there is a libcurl3-gnutls but it is version 7.38.0-4+deb8u3 and the package list says it wants version 7.38.0-4+deb8u2

Who do I tell about this?

Re: Trouble loading git with aptitude

Posted: Wed Feb 03, 2016 1:07 pm
by akc42
Its more subtle than I first thought. I have an sd card I took from the device this morning which I had loaded git on successfully, and that has a package file that contains the correct latest version.

So I also loaded the package list from the repository, and that matches what I took from the sd card.

It looks like my package lists have got stuck in some way!

Re: Trouble loading git with aptitude

Posted: Wed Feb 03, 2016 1:21 pm
by akc42
I must have corrupted something. I have deleted all the package lists (and the contents of the partial directory) and now its all working again fine

Not only can I install git, its doing a load of updates to everything