Linux Mint: how to upgrade quickly and safely to 17.3 Rosa

ทิปเด็ด กลเม็ด Linux Mint เชิญห้องนี้
ตอบกลับ
รูปประจำตัวสมาชิก
slwt2002
Administrator
โพสต์: 126
ลงทะเบียนเมื่อ: พุธ 24 มิ.ย. 2015 18:03

Linux Mint: how to upgrade quickly and safely to 17.3 Rosa

โพสต์ โดย slwt2002 »

รูปภาพ

Ordinarily the best way to go from an older Mint version to a later Mint version, is to apply a clean upgrade. Which means: format the hard disk partition on which the older version resides, and install the later version cleanly on the empty partition.

But that has changed: upgrading within a particular Mint series, has become a lot easier. Namely by upgrading the older version to the later one.

The reason for the change is, that Linux Mint currently uses only LTS versions of Ubuntu for base. Within a Mint series that's always the same Ubuntu version, so the upgrade to a later Mint within the same series is technically no big deal.

For Linux Mint this is the 17 series: 17, 17.1, 17.2 and 17.3 all have the same base, namely Ubuntu 14.04 LTS. Which makes upgrading swift and safe.

You can upgrade Linux Mint 17.2 Rafaela to Linux Mint 17.3 Rosa as follows:

Contents

1 Upgrade within a series: by means of Update Manager
2 Upgrade within a series: by the terminal


Upgrade within a series: by means of Update Manager
1. The main method is by means of Update Manager. Like this:

a. Launch Update Manager and apply all available updates, so that you have got the latest version of Update Manager.


b. In the panel of Update Manager you click Edit and then Upgrade to Linux Mint 17.32 Rosa.

Note that this upgrade option will only appear about a month after the official release of 17.3, in order to avoid problems!

c. Then a wizard presents itself, that gives you some information.

After the last step, the installation begins. Wait patiently; sometimes it looks as if nothing happens, but that's just appearance. So just wait.


d. After completion of the upgrade you have to reboot your computer.

Note: during the upgrade you won't get a kernel upgrade to the recommended kernel for Linux Mint 17.3 Rosa. There's a reason for that, because that's no problem: it's quite alright to continue using your current older kernel in 17.3.

You're done. Enjoy the beautiful Linux Mint 17.3 Rosa!

Upgrade within a series: by the terminal
2. Sometimes upgrading by means of Update Manager doesn't succeed, for unclear reasons. Even when the official upgrade path has been made available in Update Manager. In that case you can do it as follows, by means of the terminal:

a. Launch a terminal window.
(You can launch a terminal window like this: *Click*)


b. First you create a backup of your current software sources list, in the following way:

Prevent typing errors: use copy/paste to transfer the following line (it's one long line) into the terminal:

โค้ด: เลือกทั้งหมด

sudo cp -v /etc/apt/sources.list.d/official-package-repositories.list /etc/apt/sources.list.d/official-package-repositories.list.bak
Press Enter. Note that your password remains entirely invisible, not even dots will show, this is normal.

c. Then you replace the Rafaela sources by the Rosa sources, like this:

โค้ด: เลือกทั้งหมด

sudo sed -i 's/rafaela/rosa/g' /etc/apt/sources.list.d/official-package-repositories.list
d. Then you update the packages list:

โค้ด: เลือกทั้งหมด

sudo apt-get update
e. Then you perform the actual upgrade:

โค้ด: เลือกทั้งหมด

sudo apt-get dist-upgrade
This may take a while.

f. When it's finished: reboot your computer. You're done!

Note: unlike upgrading by Update Manager, this terminal upgrade will also install the recommended kernel for Linux Mint 17.3 Rosa).

If your hardware doesn't run well on that kernel, you can simply boot from the former kernel (it's still there, hidden under "Advanced options" in the Grub bootloader menu) and remove the latest kernel. You can easily remove a kernel by clicking View - Linux kernels in Update Manager.


Want more tips?

Do you want more tips and tweaks for Linux Mint? There's a lot more of them on this website!

ที่มา : https://sites.google.com/site/easylinuxtipsproject/9
ไม่มีลายเซ็นต์ ขอเขียนแล้วกัน
ตอบกลับ