How to Upgrade openSUSE from 13.1 to 13.2

openSUSE project proudly announced the new release of openSUSE 13.2 the code name is Harlequin on November 4, 2014 after one year of continuous improvement, many hours of developing, packaging, testing and fixing issues, a new stable release is here providing the best that Free and Open Source has to offer with our special green touch: stable, innovative and fun!

What’s New in openSUSE 13.2

  • openSUSE 13.2 is released with lots of new features and some of important highlights
  • KDE 4.14
  • GNOME 3.14
  • MATE (1.8.1)
  • XFCE (4.10)
  • LXDE (0.55)
  • VirtualBox 4.3.18
  • Docker 1.2
  • Lot of Improvement in YaST
  • IDE KDevelop (4.7.0)
  • Anjuta 3.14
  • Qt Creator 3.2.1
  • KDE Frameworks 5.3
  • Ruby 2.1.3
  • Python (2.7.8 and 3.4.1)
  • PHP (5.6.1)
  • Perl (5.20)
  • For more details about Release notes
  • For upgrade information

Note :1) Take backup of your important data before upgrading, If anything goes wrong we can re install freshly and restore the data.
2) The upgrade will take 2.30 hours based on your internet connection.

1) Checking current version of my Desktop

Use the below command to check which version of Desktop is currently running.

root@magesh-desktop:~# cat /etc/*-release
VERSION="13.1 (Bottle)"
PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
openSUSE 13.1 (x86_64)
VERSION = 13.1
# /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead

Screen shot for openSUSE 13.1

1) Checking update repository

Use the below command to check if the update repository already exists and is enabled.

root@magesh-desktop:~# zypper repos --uri
# | Alias                     | Name                               | Enabled | Refresh | URI                                                            
1 | repo-debug                | openSUSE-13.1-Debug                | No      | Yes     | 
2 | repo-debug-update         | openSUSE-13.1-Update-Debug         | No      | Yes     |                
3 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No      | Yes     |        
4 | repo-non-oss              | openSUSE-13.1-Non-Oss              | Yes     | Yes     |   
5 | repo-oss                  | openSUSE-13.1-Oss                  | Yes     | Yes     |       
6 | repo-source               | openSUSE-13.1-Source               | No      | Yes     |
7 | repo-update               | openSUSE-13.1-Update               | Yes     | Yes     |                      
8 | repo-update-non-oss       | openSUSE-13.1-Update-Non-Oss       | Yes     | Yes     |

If column Enabled says No, enable it by issuing this command. where ‘repo-update’ is the name of the update repository.

# repo-update : OPENSUSE 13.1 #
root@magesh-desktop:~# zypper modifyrepo --enable repo-update

If update repository is not available, use the below command to add it.

root@magesh-desktop:~# zypper addrepo --check --refresh --name 'openSUSE-13.1-Update' repo-update

Everything is fine now, So Update system to the latest packages

root@magesh-desktop:~# zypper refresh

root@magesh-desktop:~# zypper update

After system update, restart once to take effort.

2) Do Modification before upgrade

Do the below steps before start upgrading to latest version.

# Checking available repos #
root@magesh-desktop:~# zypper lr

# Remove third party repos because it will conflict the upgrade #
root@magesh-desktop:~# zypper rr 

# Backup current repos folder #
root@magesh-desktop:~# cp -Rv /etc/zypp/repos.d /etc/zypp/repos.d.Old

# Changing repositories to new version #
root@magesh-desktop:~# sed -i 's/13\.1/13\.2/g' /etc/zypp/repos.d/*

# If you are upgrading from 12.1 or older, add non-oss-update repo #
root@magesh-desktop:~# zypper ar -f repo-update-non-oss

# Refresh new repositories #
root@magesh-desktop:~# zypper ref

3) Run upgrade?

Use the below command to do full distribution upgrade. You need to agree license agreement and some times you need to hit Y to install particular packages. So keep on EYE with upgrading process.

root@magesh-desktop:~# zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
The following 4 packages are going to change architecture:
  insserv-compat       x86_64 -> noarch
  master-boot-code     i586 -> x86_64  
  snapper-zypp-plugin  x86_64 -> noarch
  suse-module-tools    noarch -> x86_64

1676 packages to upgrade, 36 to downgrade, 284 new, 29 to remove, 4 to change arch.
Overall download size: 956.0 MiB. After the operation, additional 832.7 MiB will be used.
Continue? [y/n/? shows all options] (y): y

4) Checking upgraded version of my Desktop

Use the below command to check which version of Desktop is currently running.

root@magesh-desktop:~# cat /etc/*-release
VERSION="13.2 (Harlequin)"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)"
openSUSE 13.2 (x86_64)
VERSION = 13.2
CODENAME = Harlequin
# /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead

Screen shot for openSUSE 13.2
Play week end with openSUSE 13.2

About Prakash Subramanian

Prakash Subramanian is a Linux lover and has 3.5+ years of experience in linux server administration with major Linux distribution such as (RHEL, CentOS, Ubuntu). He is currently working as a Senior L2 Linux Server administrator.

View all posts by Prakash Subramanian

4 Comments on “How to Upgrade openSUSE from 13.1 to 13.2”

Leave a Reply

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