Kamis, 07 Februari 2013

Cara upgrade minor pada ubuntu

Cara ini sudah saya coba pada turunan ubuntu 9.04 (superOS 9.04) secara live usb yg sekarang sudah saya instal si harddisk.
Cara ini lebih ringan dan tidak banyak membutuhkan banyak bandwidth internet.
Cara ini yang di upgrade hanya pada bagian seperlunya saja.
Cara ini hanya mengganti repository lama menjadi yang lebih baru, dalam hal ini saya mengganti repository ubuntu 9.04 menjadi repository nya ubuntu 10.04 atau lebih tinggi lagi atau terserah kita apa yang kita mau.
Caranya sbb:
Ketik di terminal
$ sudo gedit /etc/apt/sources.list
ubah menjadi seperti dibawah ini:


# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://id.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://id.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid universe
deb http://id.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://id.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://id.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://id.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

Setelah kita rubah, kita save (simpan) lalu tutup editornya.
Ketik di terminal
$ sudo apt-get update (harus terhubung dengan internet) untuk prosesnya seperti dibawah ini


ubuntu@ubuntu:~$ sudo apt-get update
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/main Translation-en_US
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/restricted Translation-en_US
Hit http://security.ubuntu.com lucid-security Release.gpg                              
Ign http://security.ubuntu.com lucid-security/main Translation-en_US
Ign http://security.ubuntu.com lucid-security/restricted Translation-en_US
Ign http://security.ubuntu.com lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com lucid-security/multiverse Translation-en_US
Hit http://id.archive.ubuntu.com lucid Release.gpg
Ign http://id.archive.ubuntu.com lucid/main Translation-en_US
Ign http://id.archive.ubuntu.com lucid/restricted Translation-en_US
Ign http://id.archive.ubuntu.com lucid/universe Translation-en_US
Ign http://id.archive.ubuntu.com lucid/multiverse Translation-en_US
Hit http://id.archive.ubuntu.com lucid-updates Release.gpg
Ign http://id.archive.ubuntu.com lucid-updates/main Translation-en_US
Ign http://id.archive.ubuntu.com lucid-updates/restricted Translation-en_US
Ign http://id.archive.ubuntu.com lucid-updates/universe Translation-en_US
Ign http://id.archive.ubuntu.com lucid-updates/multiverse Translation-en_US
Hit http://security.ubuntu.com lucid-security Release
Hit http://id.archive.ubuntu.com lucid Release  
Hit http://id.archive.ubuntu.com lucid-updates Release
Hit http://id.archive.ubuntu.com lucid/main Packages                
Hit http://id.archive.ubuntu.com lucid/restricted Packages                    
Hit http://id.archive.ubuntu.com lucid/main Sources
Hit http://id.archive.ubuntu.com lucid/restricted Sources
Hit http://id.archive.ubuntu.com lucid/universe Packages
Hit http://id.archive.ubuntu.com lucid/universe Sources
Hit http://id.archive.ubuntu.com lucid/multiverse Packages
Hit http://id.archive.ubuntu.com lucid/multiverse Sources
Hit http://id.archive.ubuntu.com lucid-updates/main Packages
Get:1 http://security.ubuntu.com lucid-security/main Packages [472kB]
Hit http://id.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://id.archive.ubuntu.com lucid-updates/main Sources
Hit http://id.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://id.archive.ubuntu.com lucid-updates/universe Packages                          
Hit http://id.archive.ubuntu.com lucid-updates/universe Sources                            
Hit http://id.archive.ubuntu.com lucid-updates/multiverse Packages                        
Hit http://id.archive.ubuntu.com lucid-updates/multiverse Sources                          
Hit http://id.security.ubuntu.com lucid-security/restricted Packages                      
Hit http://id.security.ubuntu.com lucid-security/main Sources                              
Hit http://security.ubuntu.com lucid-security/restricted Sources                        
Hit http://security.ubuntu.com lucid-security/universe Packages
Get:2 http://security.ubuntu.com lucid-security/universe Sources [43.8kB]
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/multiverse Sources                        
Fetched 516kB in 2min 39s (3241B/s)                                                    
Reading package lists... Done
ubuntu@ubuntu:~$

Selesai, sekarang kita bisa upgrade apa saja yg mau kita upgrade lewat synaptic.
Keutungan cara upgrade seperti ini sbb:
Tidak banyak mengahabiskan bandwidth internet.
Bisa upgrade firefox yang aslinya firefox 3.6 menjadi firefox 18.0.1.
Bisa instal google chrome versi 21.
Bisa upgrade codec, libc6, libatk, libasound2 dlsbnya.
Kerugianya cara upgrade seperti ini sbb:
Tidak bisa upgrade secara otomatis.
Ada pesan error tapi tidaklah mengganggu sistim ubuntu kita.
Jika sewaktu kita upgrde sesuatu dan menyebabkan sistim ubuntu kita menjadi tidak bisa dibuka lagi maka jurus yg paling ampuh adalah $ sudo apt-get install ulang.
Kapan kapan saya akan coba mengganti reponya ubuntu 9.04 menjadi reponya ubuntu 12.04 (tidak jadi saya coba karena banyak aplikasi tdk berfungsi sebagai mana mestinya).
Ubuntu versi 9.04 adalah versi ubuntu yg paling paling bersahabat dg laptop saya makanya saya jadikan eksperimen.

Jika anda ingin upgrade versi OS ubuntu saya sarankan lbh baik dgn cara fresh_instal, ketimbang melalui internet (online) maupun offline (DvD aternate iso).
Setelah berhasil upgrade OS, Jangan terlalu banyak berharap adanya perubahan yg spektakuler atau adanya fitur yg WoW..., tapi bisa jadi malah ada problem (bug) baru yg menyebalkan yg sulit atau bahkan gagal dicari solusinya.

Semoga tulisan tidak berguna.