Sunday, March 20, 2011

Fix Gagal Upgrade Ubuntu Lucid ke Maverick

Perkembangan Ubuntu memang luar biasa. Hampir setiap 6 bulan sekali ada rilis baru dengan berbagai pembaharuan fitur maupun perbaikan celah pada versi sebelumnya. Rilis versi baru yang tergolong cepat ini kadang membuat saya malas untuk upgrade :D Saat mood upgrade datang, saya berniat Upgrade Ubuntu Lucid saya ke Maverick. Tapi, malah keluar Error seperti ini:

Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the ‘update-manager’ package and include the files in /var/log/dist-upgrade/ in the bug report.
Pernah mengalami pesan Error ini? Atau malah Anda sedang mengalaminya?
Sebenarnya solusinya sangat mudah, Anda cukup memodifikasi /etc/apt/sources.list dengan sources.list default milik Maverick. Berikut ini adalah sources.list Default maverick:
01# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
02# newer versions of the distribution.
03deb http://archive.ubuntu.com/ubuntu maverick main restricted
04deb-src http://archive.ubuntu.com/ubuntu maverick main restricted
05## Major bug fix updates produced after the final release of the
06## distribution.
07deb http://archive.ubuntu.com/ubuntu maverick-updates main restricted
08deb-src http://archive.ubuntu.com/ubuntu maverick-updates main restricted
09## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
10## team. Also, please note that software in universe WILL NOT receive any
11## review or updates from the Ubuntu security team.
12deb http://archive.ubuntu.com/ubuntu maverick universe
13deb-src http://archive.ubuntu.com/ubuntu maverick universe
14deb http://archive.ubuntu.com/ubuntu maverick-updates universe
15deb-src http://archive.ubuntu.com/ubuntu maverick-updates universe
16## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
17## team, and may not be under a free licence. Please satisfy yourself as to
18## your rights to use the software. Also, please note that software in
19## multiverse WILL NOT receive any review or updates from the Ubuntu
20## security team.
21deb http://archive.ubuntu.com/ubuntu maverick multiverse
22deb-src http://archive.ubuntu.com/ubuntu maverick multiverse
23deb http://archive.ubuntu.com/ubuntu maverick-updates multiverse
24deb-src http://archive.ubuntu.com/ubuntu maverick-updates multiverse
25## Uncomment the following two lines to add software from the 'backports'
26## repository.
27## N.B. software from this repository may not have been tested as
28## extensively as that contained in the main release, although it includes
29## newer versions of some applications which may provide useful features.
30## Also, please note that software in backports WILL NOT receive any review
31## or updates from the Ubuntu security team.
32# deb-src http://us.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
33## Uncomment the following two lines to add software from Canonical's
34## 'partner' repository.
35## This software is not part of Ubuntu, but is offered by Canonical and the
36## respective vendors as a service to Ubuntu users.
37deb-src http://archive.canonical.com/ubuntu maverick partner
38deb http://archive.ubuntu.com/ubuntu maverick-security main restricted
39deb-src http://archive.ubuntu.com/ubuntu maverick-security main restricted
40deb http://archive.ubuntu.com/ubuntu maverick-security universe
41deb-src http://archive.ubuntu.com/ubuntu maverick-security universe
42deb http://archive.ubuntu.com/ubuntu maverick-security multiverse
43deb-src http://archive.ubuntu.com/ubuntu maverick-security multiverse
Setelah Anda mengubah isi sources.list Anda, jalankan perintah-perintah berikut untuk melakukan Upgrade:
$ sudo apt-get clean
$ sudo apt-get autoremove
$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

Proses Upgrade akan segera berjalan. Anda tinggal menjawab beberapa pertanyaan yang diajukan konsol ;)

No comments:

Post a Comment