sudo apt-get update
sudo apt-get dist-upgrade
sudo dpkg --audit
sudo dpkg --get-selections | grep hold
sudo apt-get clean
vi /etc/apt/sources.list

Für stretch
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi

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

sudo rm -f /etc/apt/sources.list.d/*
vi /etc/apt/sources.list.d/raspi.list
Für jessie
deb http://archive.raspberrypi.org/debian jessie main ui
Für stretch
deb http://archive.raspberrypi.org/debian stretch main ui

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Aufräumen
sudo apt-get autoremove
sudo apt-get autoclean

Neustart
reboot

Kommentar hinterlassen