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.

[email protected]:~# cat /etc/*-release
NAME=openSUSE
VERSION="13.1 (Bottle)"
VERSION_ID="13.1"
PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
openSUSE 13.1 (x86_64)
VERSION = 13.1
CODENAME = Bottle
# /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead

Screen shot for openSUSE 13.1
opensuse-upgrades-13-1-old-version-new

1) Checking update repository

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

[email protected]:~# zypper repos --uri
# | Alias                     | Name                               | Enabled | Refresh | URI                                                            
--+---------------------------+------------------------------------+---------+---------+----------------------------------------------------------------
1 | repo-debug                | openSUSE-13.1-Debug                | No      | Yes     | http://download.opensuse.org/debug/distribution/13.1/repo/oss/ 
2 | repo-debug-update         | openSUSE-13.1-Update-Debug         | No      | Yes     | http://download.opensuse.org/debug/update/13.1/                
3 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No      | Yes     | http://download.opensuse.org/debug/update/13.1-non-oss/        
4 | repo-non-oss              | openSUSE-13.1-Non-Oss              | Yes     | Yes     | http://download.opensuse.org/distribution/13.1/repo/non-oss/   
5 | repo-oss                  | openSUSE-13.1-Oss                  | Yes     | Yes     | http://download.opensuse.org/distribution/13.1/repo/oss/       
6 | repo-source               | openSUSE-13.1-Source               | No      | Yes     | http://download.opensuse.org/source/distribution/13.1/repo/oss/
7 | repo-update               | openSUSE-13.1-Update               | Yes     | Yes     | http://download.opensuse.org/update/13.1/                      
8 | repo-update-non-oss       | openSUSE-13.1-Update-Non-Oss       | Yes     | Yes     | http://download.opensuse.org/update/13.1-non-oss/

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 #
[email protected]:~# zypper modifyrepo --enable repo-update

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

[email protected]:~# zypper addrepo --check --refresh --name 'openSUSE-13.1-Update' http://download.opensuse.org/update/13.1/ repo-update

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

[email protected]:~# zypper refresh

[email protected]:~# 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 #
[email protected]:~# zypper lr

# Remove third party repos because it will conflict the upgrade #
[email protected]:~# zypper rr 

# Backup current repos folder #
[email protected]:~# cp -Rv /etc/zypp/repos.d /etc/zypp/repos.d.Old

# Changing repositories to new version #
[email protected]:~# 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 #
[email protected]:~# zypper ar -f http://download.opensuse.org/update/13.2-non-oss/ repo-update-non-oss

# Refresh new repositories #
[email protected]:~# 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.

[email protected]:~# 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.

[email protected]:~# cat /etc/*-release
NAME=openSUSE
VERSION="13.2 (Harlequin)"
VERSION_ID="13.2"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
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
opensuse-upgrades-13-2-new-version-new
Play week end with openSUSE 13.2

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.

You may also like...