broken packages

Semua mengenai teknik instalasi Ubuntu termasuk teknik instalasi aplikasinya dan migrasi dari Windows.
User avatar
rudydarmawan
Posts: 44
Joined: 26 Jan 2011, 19:10
Location: Lampung, Indonesia
Contact:

broken packages

Postby rudydarmawan » 21 Jun 2012, 05:30

maf gan ane mau nanya ne, kq waktu ane mau upgrade ubuntu 11.11 keluar peringatan
"Could not upgrade the system!
Fix broken packages first." dan waktu ane mau upgrade dengan perintah apt-get upgrade keluar ginian gan
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
mohon pencerahannya terimakasih :)
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: broken packages

Postby thrvers » 21 Jun 2012, 05:45

'
logout dulu, masuk lagi lgsg buka terminal:
benerin broken:
$ sudo dpkg --configure -a
$ sudo apt-get install -f

update paketnya dulu:
$ sudo apt-get update

upgrade sistemnya:
$ sudo apt-get dist-upgrade

cmiiw
User avatar
rudydarmawan
Posts: 44
Joined: 26 Jan 2011, 19:10
Location: Lampung, Indonesia
Contact:

Re: broken packages

Postby rudydarmawan » 21 Jun 2012, 16:59

waktu perintah
~$ sudo dpkg --configure -a
sudo: dpkg: command not found gan,

klo diasukin perintah
~$ sudo apt-get install -f keluar error
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)

please pencerannya dari agan agan sekalian,
User avatar
buzzing_bee
Posts: 1971
Joined: 29 Dec 2010, 21:53
Location: /home/buzzing_bee
Contact:

Re: broken packages

Postby buzzing_bee » 21 Jun 2012, 18:42

User avatar
Nexus
Posts: 2957
Joined: 26 Feb 2011, 12:39
Location: Ujung dunia

Re: broken packages

Postby Nexus » 21 Jun 2012, 19:18

*kalo broken package simple aja, buka terminal, masuk sebagai root:

sudo -i
aptitude -f install
aptitude -f update
aptitude -f dist-upgrade
exit
exit

*lalu reboot/restart perangkat anda

Who is online

Users browsing this forum: Bing [Bot] and 1 guest