Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • Last Modified:

Updating Wheezy to latest distro

Hi,

I don't want to have to download a new image and reinstall because I'm happy with my set up and what I've done the the pi over the last couple of years. I have a Model B. It's running Raspbian Wheezy. Ideally I'd like to be running the latest install which as far as I know is Jessie. Is that right?

I found a couple of sites that claim to show the upgrade path but I have my doubts with them. What's the simplest way to upgrade it to the latest version? Can I just repoint the sources.list to Jessie? If so, what other files do I need to alter? My sources.listfile contains just this:

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy main contrib non-free rpi

I removed all the other superfluous stuff from it ages ago. Is it just a case of changing wheezy to jessie in that file and then doing an apt-update and an apt-dist-upgrade?

Thanks.
0
Lee Savidge
Asked:
Lee Savidge
  • 3
  • 2
  • 2
2 Solutions
 
TechieMDCommented:
This forum post on the Raspberry Pi forums outlines the steps to be taken to upgrade to Jessie.

In short, yes, modify the sources.list from wheezy to jessie, but also modify wheezy to jessie in /etc/apt/sources.list.d/raspi.list.
0
 
Lee SavidgeAuthor Commented:
Ahh yeah, that's the forum post I started reading and I thought to myself, that there is far too much here for this to be a simple upgrade. Thing is years ago, when I ran Debian on someold machines, upgrading was easy and this forum made it sound like a nightmarish manual process. I struggled to work out what was relevant and what wasn't.

I shall give it a whirl and see how it goes. I suppose I should take an image of the SD Card. I've got a Windows machine to put the SD Card in. What's the simplest way to take an image of the SD Card?

Ta.
0
 
Lee SavidgeAuthor Commented:
No worries, found Win32 Disk Imager on Sourceforge. Used this in the past. Just couldn't remember what it was called :)
0
 
TechieMDCommented:
No problem. Happy tinkering!
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
There are more/similar descriptions out there. They're basically about removing unnecessary packages, changing repository and doing the update. There's one here:

https://linuxconfig.org/raspbian-gnu-linux-upgrade-from-wheezy-to-raspbian-jessie-8
0
 
Lee SavidgeAuthor Commented:
Finally got there. A few updates later. A bit of a clear down of rubbish and it's all up and running again. Ta
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
You're welcome ;)
0
  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now