cancel apt-get

jika mengalami kegagalan dalam menginstall sebuah aplikasi, biasanya apt-get atau ‘software center’ akan berputer terus untuk menginstall atau mencoba terus untuk melakukan penginstalan

dan itu mengganggu process lain yang akan menggunakan apt-get untuk menginstall

contoh logs nya

g3n1k@lenovo:/media/XFile's/indra/soft$ sudo apt-get install geany
[sudo] password for g3n1k: 
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:
 mysql-workbench-gpl : Depends: libpython2.6 (>= 2.6) but it is not going to be installed
                       Depends: libzip1 (>= 0.8) but it is not going to be installed
                       Depends: python-paramiko but it is not going to be installed
                       Depends: python-pysqlite2 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
g3n1k@lenovo:/media/XFile's/indra/soft$ nautilus /var/cache/apt/

maka berikan perintah


$ sudo apt-get purge 

maka aplikasi tersebut akan dibebaskan dari proses apt-get


g3n1k@lenovo:/media/XFile's/indra/soft$ sudo apt-get purge mysql-workbench-gpl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  mysql-workbench-gpl*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 184 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 136569 files and directories currently installed.)
Removing mysql-workbench-gpl ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
g3n1k@lenovo:/media/XFile's/indra/soft$ 


Published by

G3n1k

just to remember what i had known :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s