How do I upgrade from wheezy to Jessie?

How do I upgrade from wheezy to Jessie?

Difficulty level:

  1. Step 1: Update system. First we need to upgrade the existing system before we can upgrade from Raspian Wheezy to Jessie: $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get dist-upgrade.
  2. Step 2: Modify Release.
  3. Step 3: Updating package lists.
  4. Step 4: Update to „Jessie“
  5. Step 5: Clean up installation.

How do I update my upgraded Dist?

To do that, you should first run sudo apt-get upgrade, followed by sudo apt-get dist-upgrade. When those two complete, you can then run sudo do-release-upgrade and wait for the magic to complete. The difference between these commands is important.

Which is better dist-upgrade or apt-get full-upgrade?

dist-upgrade dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a “smart” conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary.

What to do when upgrading from Wheezy to Jessie?

During the upgrade you may be given an option to manually or automatically restart any currently running services. The recommended strategy is to do manual restart as it provides more flexibility. If you are running SSH service you will be also given an option to disable SSH root access.

When does apt-get upgrade not install new releases?

However apt-get upgrade will NOT generally install new releases, where major changes (including removal of packages or GRUB update is required). For example, when a new Linux kernel (linux-image-3.x.x-xx-generic, etc.) is available, the package will not get installed.

Can a dist upgrade upgrade to a new release?

dist-upgrade will not upgrade to a new release unless sources.list has been modified accordingly (and even then, that’s not a supported way to upgrade in Ubuntu). When a new kernel is installed with dist-upgrade, that’s not a new release of Ubuntu.