Page 1 of 1

camera install woes

Posted: Tue May 21, 2013 12:12 am
by abarbarian
Last week I used
apt-get update
apt-get upgrade
rpi-update

to get my wi-fi working. Everything worked out as planned. Wi-fi enabled and working.

This week I got my camera module for the pi. Followed instructions but
apt-get update -------- gave errors on adresses
apt-get upgrade -------- would not update three programs
rpi-update ------- address error and refused to work

So I tried
pi@raspberrypi ~ $ /opt/vc/bin/vcgencmd version
Apr 18 2013 02:23:00
Copyright (c) 2012 Broadcom
version 384972 (release)
pi@raspberrypi ~ $ sudo raspi-config
Err http://archive.raspberrypi.org wheezy Release.gpg
Could not resolve 'archive.raspberrypi.org'
Err http://mirrordirector.raspbian.org wheezy Release.gpg
Could not resolve 'mirrordirector.raspbian.org'
Reading package lists... Done
W: Failed to fetch http://mirrordirector.raspbian.org/rasp ... elease.gpg Could not resolve 'mirrordirector.raspbian.org'

W: Failed to fetch http://archive.raspberrypi.org/debian/d ... elease.gpg Could not resolve 'archive.raspberrypi.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
raspi-config is already the newest version.
The following packages were automatically installed and are no longer required:
gir1.2-glib-2.0 libgirepository-1.0-1 python-dbus python-dbus-dev python-gi
python-gobject
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Sleeping 5 seconds before reloading raspi-config
pi@raspberrypi ~ $
I have also done

apt-get -y --fix-missing dist-upgrade

which ran and did some updates. Then I tried again with all the above commands but with no luck.
Can anyone tell me what is wrong.

Re: camera install woes

Posted: Tue May 21, 2013 12:33 am
by jbeale
Could not resolve 'archive.raspberrypi.org'
As far as I can tell this is not related to the camera particulary. Seems to me that either your Pi's network connection is down, or archive.raspberrypi.org is offline (which does happen sometimes). If you can ping some network sites (try 'ping google.com') successfully, then it is the latter.

Re: camera install woes

Posted: Tue May 21, 2013 12:04 pm
by abarbarian
Network connection works fine. An I have the same problem for three days. 8-)

Re: camera install woes

Posted: Tue May 21, 2013 12:30 pm
by fbutler
abarbarian wrote:Network connection works fine. An I have the same problem for three days. 8-)
Just a thought. It could potentially be an issue with your ISP's DNS servers not resolving correctly for raspberrypi.org. It may be worth trying alternative DNS servers to see if that solves the issue.

Re: camera install woes

Posted: Tue May 21, 2013 12:51 pm
by FleaBit
I posted the same type issues here a few days ago. It was my SD cards. I had 2 cards, 2 pi's, and couldn't get it to work on any combination. Decided to lookup the approved card list, only to find my PNY SD cards listed as having issues (both of them, different model cards). I printed off a list of the approved cards, headed to the store, bought one that was listed with no issues, came back, installed it all, worked first time. Also, everything else is faster too. Seems the cards were a large part of my problem since day 1.

Here's a link, but I didn't put all the errors you listed, although that was exactly what I was seeing.
http://www.raspberrypi.org/phpBB3/viewt ... 43&t=44204

Check your card on the approved list of cards and see if that's the problem.

Hope this helps.

Re: camera install woes

Posted: Wed May 22, 2013 12:31 pm
by gsh
Would be useful if you could send me one of the cards that failed (I assume they still fail?) how much disk space did you have when you did the update?

PM me and I'll send posting details...

Gordon