First time posting, but ive been working with my Pi at work now for a couple weeks. Im a complete beginner in most of this (linux, Pi's..etc..) but have experience with circuits. Im building a temperature sensor using an LM75.
I've looked through a couple guides on using a temp sens. through a Pi and I was certain I had got the setup working. (edit:1) - I am using wheezy image.
When attempting to install 2 modules (sudo apt-get install python-smbus and sudo apt-get install lm sensors), both give the same error code:
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 6746 package 'gnupg' :
'depends' field, reference to 'libreadline6':
'>' is obsolete, use '>=' or '>>' instead
dpkg: error: parsing file '/var/lib/dpkg/available' near line 6746 package 'gnupg' :
'depends' field, reference to 'libreadline6': version contains
E: sub-process /usr/bin/dpkg returned an error code (2)
I have tried searching for this error and the problems many times to no avail, I have tried reboots and I have seen a linux user in my workplace, who has not been able to help as of yet (today).
Any help would be greatly appreciated
Going to be trying a clean install and seeing if it works then tomorrow.