Bonsoir
Je viens de rallumer mon Raspberry Pi 3B délaissé depuis longtemps.
root@raspberrypi:~# lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
root@raspberrypi:~#
root@raspberrypi:~# uname -a
Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
Je souhaite le mettre à jour avec la version stable Stretch.
Je pensais mettre à jour Jessie d’abord.
root@raspberrypi:~# apt-get update
Err http://archive.raspberrypi.org jessie InRelease
Err http://mirrordirector.raspbian.org jessie InRelease
Err http://archive.raspberrypi.org jessie Release.gpg
Could not resolve 'archive.raspberrypi.org'
Err http://mirrordirector.raspbian.org jessie Release.gpg
Could not resolve 'mirrordirector.raspbian.org'
Reading package lists... Done
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/InRelease
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/Release.gpg Could not resolve 'archive.raspberrypi.org'
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/Release.gpg Could not resolve 'mirrordirector.raspbian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@raspberrypi:~#
root@raspberrypi:~# ls /etc/apt/sources.list.d/
raspi.list
root@raspberrypi:~# cat /etc/apt/sources.list.d/raspi.list
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
root@raspberrypi:~# cat /etc/apt/sources.list
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
root@raspberrypi:~#
Ces erreurs et ces warnings ne me disent rien de bon.
Faut-il que je change mes sources pour mettre à jour Jessie en premier ?
Si Raspbian n’a pas sa place ici ; tant pis, dommage mais c’est pas grave.
Je suis un faux débutant.
Merci
Il n’y a pas de serveur X démarré sur le Pi ;
root@raspberrypi:~# systemctl get-default
multi-user.target