2012-01-11 76 views
0

我必須在安裝豬包之前安裝Hadoop。 Hadoop的需要運行一個Java 1.6.x的installation.So我試圖運行下面的命令來安裝太陽的Java6 - JDK:安裝豬包

$ sudo apt-get install sun-java6-jdk 

,但我有問題,我得到試圖安裝其它任何包的時候這個錯誤

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate trans.unauthenticated = self._simulate_helper(trans) File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper return depends, self._cache.required_download, \ File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download pm.get_archives(fetcher, self._list, self._records) SystemError: E:I wasn't able to locate a file for the sun-java6-bin package. This might mean you need to manually fix this package.

如何解決這個問題?感謝您的幫助

+0

也許這要你安裝了Hadoop的? – 2012-01-11 14:54:02

回答