apt-get的安裝死結 - Linux

By Cara
at 2011-02-23T23:18
at 2011-02-23T23:18
Table of Contents
各位先進,
小弟在Amazon EC2 Micro instance + Ubuntu 10.04使用apt-get時會出現下列訊息:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
然後執行 'sudo dpkg --configure -a' 則會當機在安裝Java 6的一個程序:
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode.
雖然Java 6不一定要裝, 但現在我所有的apt-get指令都完全不能用, 如apt-get install purge java-6-openjdk會再次出現:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
請問該如何打開這個死結讓apt-get能夠再度安裝其他套件!?
謝謝!
--
小弟在Amazon EC2 Micro instance + Ubuntu 10.04使用apt-get時會出現下列訊息:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
然後執行 'sudo dpkg --configure -a' 則會當機在安裝Java 6的一個程序:
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode.
雖然Java 6不一定要裝, 但現在我所有的apt-get指令都完全不能用, 如apt-get install purge java-6-openjdk會再次出現:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
請問該如何打開這個死結讓apt-get能夠再度安裝其他套件!?
謝謝!
--
Tags:
Linux
All Comments

By Jake
at 2011-02-27T05:44
at 2011-02-27T05:44

By Audriana
at 2011-03-01T20:39
at 2011-03-01T20:39

By Frederica
at 2011-03-03T16:30
at 2011-03-03T16:30
Related Posts
請教一個shell script的寫法

By Sandy
at 2011-02-23T16:43
at 2011-02-23T16:43
Ubuntu裡面看不到光碟機..

By Una
at 2011-02-23T11:29
at 2011-02-23T11:29
[bash] fucn | grep '^'

By Candice
at 2011-02-23T11:19
at 2011-02-23T11:19
linux下chrome的按鈕位置

By Faithe
at 2011-02-23T11:18
at 2011-02-23T11:18
HTML5 Authoring Tool - 嵌入 Python 的應用

By Charlie
at 2011-02-23T09:49
at 2011-02-23T09:49