hadoop@hadoop-01:/etc/apt$ sudo apt-get install unzip
出现以下错误
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:
hadoop-0.20-native : Depends: hadoop-0.20 (= 0.20.2+923.194-1~lucid-cdh3) but it is not installable
hadoop-0.20-sbin : Depends: hadoop-0.20 (= 0.20.2+923.194-1~lucid-cdh3) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
解决方法:
$sudo dpkg --purge hadoop-0.20-native
$sudo dpkg --purge hadoop-0.20-sbin