How to upgrade from Raspbian Jessie to Raspbian Stretch
Please share with your friends...
  • 2
  •  
  •  
  •  
  • 1
  • 1
  •  
  •  
  •  
  •  
    4
    Shares


⇐ BackPage⇑ First

Installation

Sources

To switch from Raspbian Jessie to Raspbian Stretch, all that is required is some simple text edits to the sources lists, which effectively just change the repository location that Raspbian looks for its’ packages.

  1. Update the sources lists, using the following commands:
    sudo sed -i /deb/s/jessie/stretch/g /etc/apt/sources.list
    sudo sed -i /deb/s/jessie/stretch/g /etc/apt/sources.list.d/*.list
  2. Re-synchronise the package index files with the updated sources lists, using the following command:
    sudo apt-get update

Upgrade

The actual Raspbian Jessie to Raspbian Stretch upgrade process is a simple and an automated process. However, it will take some time to complete!

Upgrade PathMinimum Download
Size
Minimum Upgrade
Time
Raspbian Jessie to Raspbian Stretch1.2 GB90 Minutes
Raspbian Jessie Lite to Raspbian Stretch Lite270 MB30 Minutes

These minimum upgrade times are based on a Raspberry Pi 3 and a 100Mbps Internet connection.

  1. Perform the upgrade process, using the following commands:
    sudo DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade
    sudo DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" dist-upgrade
    sudo DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" autoremove --purge
  2. Remove the PulseAudio components if present, using the following command:
    sudo apt-get -y purge "pulseaudio*"
  3. Reboot your Raspberry Pi, using the following command:
    sudo reboot
  4. If you are running the Raspberry Pi Desktop, the following Information window will be displayed:
    Information: Your Raspbian system has been upgraded to the latest version
    Your Raspbian system has been upgraded to the latest version
    Click OK to close.
  5. Display the updated Raspbain release information, using the following command:
    lsb_release -a

    This command will display output the following:

    No LSB modules are available.
    Distributor ID: Raspbian
    Description:    Raspbian GNU/Linux 9.1 (stretch)
    Release:        9.1
    Codename:       stretch

    Your Raspberry Pi should report that it is now running Raspbian GNU/Linux 9.1 (stretch).

And that’s it! You’ve successfully upgraded your Raspberry Pi from Raspbian Jessie to Raspbian Stretch!

⇐ BackPage⇑ First

How to upgrade from Raspbian Jessie to Raspbian Stretch

Please share with your friends...
  • 2
  •  
  •  
  •  
  • 1
  • 1
  •  
  •  
  •  
  •  
    4
    Shares
Tagged on:                     

Leave a Reply

Your email address will not be published. Required fields are marked *