Running apt-get and you get an error
sudo apt-get -y dist-upgrade
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies:
libgnutls-openssl27 : Depends: libgnutls-deb0-28 (= 3.3.8-6+deb8u4) but 3.3.8-6+deb8u3 is installed
libhogweed2 : Breaks: libgnutls-deb0-28 (< 3.3.8-6+deb8u4) but 3.3.8-6+deb8u3 is installed
E: Unmet dependencies. Try using -f.
cat /etc/apt/sources.list /etc/apt/sources.list.d/*
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then ‘apt-get update’ to enable ‘apt-get source’
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb http://archive.raspberrypi.org/debian/ jessie main ui
# Uncomment line below then ‘apt-get update’ to enable ‘apt-get source’
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui
To fix the error edit the souse list and add staging to the list
sudo etc/apt/sources.list.d/*
add “staging” to the end of the list