Wednesday, August 15, 2012

Fix broken dependency ubuntu (12.04)

Malam yang melelahkan hingga pagi datang problem baru selesai, baru baru ini baru nyobain based ubuntu 12.04 dengan tampilan yg menawan. dengan package ubuntu yang sudah tersimpan sebelumnya saya coba untuk melakukan penginstallan beberapa aplikasi dan dependency dari ubuntu 10.10 ke 12.04, all hasil apt-get error, tak seperti biasa penginstallan yang dimana jika dependency kurang atau tidak cocok dapat di re-install, namun masalah yang tak di harapkan justru muncul, update manager pun menjadi ikut-ikutan error.

Sedikit gambaran sewaktu apt error saat melakukan re-install dan fix broken dependency :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 aptitude : Depends: libboost-iostreams1.46.1 (>= 1.46.1-1) but it is not going to be installed
            Depends: libcwidget3 but it is not going to be installed
            Depends: libept1.4.12 but it is not going to be installed
            Recommends: libparse-debianchangelog-perl but it is not going to be installed
 imagemagick : Depends: libmagickcore3 (>= 7:6.6.2.6) but it is not installable
               Depends: libmagickwand3 (>= 7:6.6.2.6) but it is not installable
               Recommends: libmagickcore3-extra but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

dpkg: error processing imagemagick (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
 imagemagick
E: Sub-process /usr/bin/dpkg returned an error code (1)


Sudah coba browsingan ke google, lumayan sulit dapat pencerahan yang sesui, akhirnya mencoba mampir ke http://packages.ubuntu.com/ dan mencari package dengan nama yang telah tertera jelas bahwa dependency tidak terinstall dengan baik.


Download, dan langsung melakukan penginstallan ke dependency tersebut :
$ sudo dpkg -i *.deb
Fix ! selesai sudah semua, :D

I am a fan of technology and i love coffee. I’m also interested in web programming and networking. below there are some accounts you can follow to contact me.


EmoticonEmoticon