Error installing ca-certificates


12 posts
by ndpmcintosh » Mon Jul 16, 2012 9:26 pm
I am following the instructions for using rpi-update.
During installation of ca-certificates there is a message asking to confirm that you want to continue. So far so good. Then after entering "y" I get:

Err http://ftp.uk.debian.org/debian/ squeeze/main openssl armel 0.98o-4squeeze7
404 Not Found
Failed to Fetch.... <another url leading to openssl_0.98o-4squeeze7_armel.deb
404 Not Found
...

I know what it means, but I would like some suggestions on how to get past it. Thanks.
Posts: 11
Joined: Thu Jul 12, 2012 7:08 pm
by joan » Mon Jul 16, 2012 9:38 pm
Sounds like a transient error, perhaps try again?
User avatar
Posts: 6003
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK
by ndpmcintosh » Mon Jul 16, 2012 9:55 pm
I have tried it more than 5 times, over a couple of days. Same result.
Posts: 11
Joined: Thu Jul 12, 2012 7:08 pm
by alexeames » Tue Jul 17, 2012 6:57 am
Is your internet connection on the Pi working for other things?
Alex Eames RasPi.TV HDMIPi.com RasP.iO
User avatar
Posts: 2079
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
by ndpmcintosh » Tue Jul 17, 2012 2:33 pm
Yes works on other connections. I browse web no problem.
Posts: 11
Joined: Thu Jul 12, 2012 7:08 pm
by guidol » Tue Jul 17, 2012 3:49 pm
ndpmcintosh wrote:So I know what it means, but I would like some suggestions on how to get past it. Thanks.

If in debian wheezy something is missing with a 404 error then you could add the switch
--fix-missing

This did work on some missing files while installing packages on my RPi.

You should try
apt-get install ca-certificates --fix-missing
User avatar
Posts: 70
Joined: Tue Jul 03, 2012 9:21 am
Location: Babenhausen, Germany
by ndpmcintosh » Tue Jul 17, 2012 4:07 pm
Thanks for the idea. I'm using Squeeze. I tried it anyway and same problem. 404. It would seem that its looking in the wrong location or the file has moved... (?)

Is there another way to update firmware besides using rpi-update?

I assume others have gotten this to work, so the question is why doesn't mine? My RPI is a week old.
Posts: 11
Joined: Thu Jul 12, 2012 7:08 pm
by guidol » Tue Jul 17, 2012 4:23 pm
ndpmcintosh wrote:I assume others have gotten this to work, so the question is why doesn't mine? My RPI is a week old.

I didnt got problems installing ca-certificates with debian sqeeze (some days ago).
I used the short german install-guide: http://www.intertech.at/aktuelles-raspb ... on-hexxeh/

Before you try to install ca-certificates... did you
apt-get update --fix-missing
apt-get upgrade --fix-missing

and if you like
apt-get dist-upgrade --fix-missing

then retry to install ca-certificates and git-core

take a look at:
http://www.chrisnewland.com/raspberry-p ... script-249
and
https://github.com/Hexxeh/rpi-update
User avatar
Posts: 70
Joined: Tue Jul 03, 2012 9:21 am
Location: Babenhausen, Germany
by ndpmcintosh » Tue Jul 17, 2012 7:21 pm
Hey Guidol, that seems to have worked! I ran those three apt-get installs and then ca-certificates installed fine. After that rpi-update ran fine as well. Super big thanks.

I did get one error during rpi-update "...error while loading shared libraries: libvchiq_arm.so: can not open shared object file: no such file or directory."

Does this effect the update?
Posts: 11
Joined: Thu Jul 12, 2012 7:08 pm
by AndrewS » Tue Jul 17, 2012 7:51 pm
Not all of the instructions from Guidol were necessary. The only bit that was needed was just
Code: Select all
sudo apt-get update

This is because when the squeeze image was created, the current version of the openssl package was 0.9.8o-4squeeze7 however there's been several security updates in the meantime, so the current version is 0.9.8o-4squeeze13 http://packages.debian.org/squeeze/openssl
Running "apt-get update" causes the latest package lists to get downloaded and updated, so that "apt-get install XXXX" knows which version of the package(s) to download :)
User avatar
Posts: 3626
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
by guidol » Tue Jul 17, 2012 8:34 pm
ndpmcintosh wrote:I did get one error during rpi-update "...error while loading shared libraries: libvchiq_arm.so: can not open shared object file: no such file or directory."
Does this effect the update?

Normally it shouldnt effect the update.
You could check your firmware-version with the command
/opt/vc/bin/vcgencmd version

You should get something like the following output, but with a newer date and version:
Jul 1 2012 12:48:16
Copyright (c) 2012 Broadcom
version 323014 (release)

After that command you could check the Kernel with
uname -a

The number after the # should be higher than 144:
Linux raspberrypi 3.1.9+ #144 PREEMPT Sun Jul 1 12:37:10 BST 2012 armv6l GNU/Linux

BTW: Sorry for too much apt-get-commands, but with these commands your system should now uptodate :) especially after the firmware/kernel-update.

For german readers: I did this the following way:
http://lehwalder.wordpress.com/2012/07/ ... on-hexxeh/
User avatar
Posts: 70
Joined: Tue Jul 03, 2012 9:21 am
Location: Babenhausen, Germany
by ndpmcintosh » Wed Jul 18, 2012 6:46 pm
Thanks guys. I learned a lot. My RsP seems to be fully functional now with sound and everything. I am using it to learn Python as I go along with the on-line Udacity course CS101. It's great.
Posts: 11
Joined: Thu Jul 12, 2012 7:08 pm