How to upgrade from openSUSE 13.1 to openSUSE 13.2

Source: Internet
Author: User

How to upgrade from openSUSE 13.1 to openSUSE 13.2

As an important release of Linux, openSUSE has attracted a lot of attention. openSUSE 13.2 was officially released a few days ago. The main features of this version include:

  • The kernel of Linux 3.16 is installed by default. Improved Nouveau, an open-source NVIDIA graphics card driver, and improved Btrfs performance;
  • Btrfs becomes the new default file system;
  • GNOME 3.14.1 is provided, which provides users with new GNOME versions with improved experience.

At the same time, YaST has many new changes:

  • The openSUSE 13.2 installer provides a new installation process;
  • YaST gave up Grub Legacy support and focused on Grub 2;
  • YaST is faster and more stable, and is better integrated with cutting-edge technologies included in systemd, btrfs, and other openSUSE 13.2.

For details, see the official release notes.

OpenSUSE 13.2 officially released and downloaded

From openSUSE WikiopenSUSE 13.2 System

Download to Official Website: http://www.opensuse.org/zh-cn/

First, check your system version and run the following command:

cat /etc/os-release

First, disable all OBS databases or any third-party libraries, perform upgrades, and then re-enable them.
First, let's check whether there is an update library and enable it. Run the following command on the terminal:

zypper repos --uri

The input content is as follows:

# | Alias | Name | Enabled | Refresh | URI
–+—————————+————————————+———+———+———————————————————————
1 | openSUSE-13.1-1.10 | openSUSE-13.1-1.10 | Yes | No | cd:///?devices=/dev/disk/by-id/ata-VBOX_CD-ROM_VB2-01700376,/dev/sr0
2 | repo-debug | openSUSE-13.1-Debug | No | Yes | http://download.opensuse.org/debug/distribution/13.1/repo/oss/
3 | repo-debug-update | openSUSE-13.1-Update-Debug | No | Yes | http://download.opensuse.org/debug/update/13.1/
4 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No | Yes | http://download.opensuse.org/debug/update/13.1-non-oss/
5 | repo-non-oss | openSUSE-13.1-Non-Oss | Yes | Yes | http://download.opensuse.org/distribution/13.1/repo/non-oss/
6 | repo-oss | openSUSE-13.1-Oss | Yes | Yes | http://download.opensuse.org/distribution/13.1/repo/oss/
7 | repo-source | openSUSE-13.1-Source | No | Yes | http://download.opensuse.org/source/distribution/13.1/repo/oss/
8 | repo-update | openSUSE-13.1-Update | Yes | Yes | http://download.opensuse.org/update/13.1/
9 | repo-update-non-oss | openSUSE-13.1-Update-Non-Oss | Yes | Yes | http://download.opensuse.org/update/13.1-non-oss/

As you can see above, the opensuse-13.1-update library is available and enabled. If not, run the following command:

zypper modifyrepo --enable repo-update

If the updated repository does not exist, run the following command:
zypper addrepo --check --refresh --name 'openSUSE-13.1-Update' http://download.opensuse.org/update/13.1/ repo-update

To update your current version to the latest package, run the following command:

sudo zypper refresh
sudo zypper update

It takes some time, depending on your network speed.

After the update system is restarted, there will be new changes.

Upgrade
As I have mentioned, upgrade is performed before any third-party or OBS library is disabled.
To list the currently available repositories, enter the following command:

zypper lr

If you have any third-party libraries, remove them using the following command:

zypper rr

You may want to back up your current database. Enter the following command to back up your current database.

cp -Rv /etc/zypp/repos.d /etc/zypp/repos.d.bak

Then change the new versions of all databases. Here I want to upgrade to 13.2 with the command:

sudo sed -i 's/13.1/13.2/g' /etc/zypp/repos.d/*

Now, check whether all changes are made to the new version library.

zypper lr

The output is as follows:

# | Alias | Name | Enabled | Refresh
–+—————————+————————————+———+——–
1 | openSUSE-13.2-1.10 | openSUSE-13.2-1.10 | Yes | No
2 | repo-debug | openSUSE-13.2-Debug | No | Yes
3 | repo-debug-update | openSUSE-13.2-Update-Debug | No | Yes
4 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No | Yes
5 | repo-non-oss | openSUSE-13.2-Non-Oss | Yes | Yes
6 | repo-oss | openSUSE-13.2-Oss | Yes | Yes
7 | repo-source | openSUSE-13.2-Source | No | Yes
8 | repo-update | openSUSE-13.2-Update | Yes | Yes
9 | repo-update-non-oss | openSUSE-13.2-Update-Non-Oss | Yes | Yes

The output above shows that all the databases have been changed to version 13.1.
The following command updates the repository list:

sudo zypper ref

We strongly recommend that you run this upgrade when TMUX is under what circumstances the upgrade process should be upgraded against X session errors. The main openSUSE library of the TMUX package is available.
Run the following command to install:

sudo zypper in tmux

Upgrade now. Enter the following command on the terminal to switch to TMUX:

tmux

Enter the following command to start the upgrade on the terminal:

sudo zypper dup

After the upgrade, restart your system to run the new version openSUSE 13.2.
As mentioned above, check the current version of openSUSE and run the following command:

cat /etc/os-release

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.