为什么我无法安装 cdh3

为什么我无法安装 cdh3

https://ccp.cloudera.com/display/CDHDOC/CDH3+Installation#CDH3Installation-InstallingCDH3onUbuntuSystems

我有 ubuntu 8.04,我使用 wget squeeze 并尝试 dpkg,但出现了这个错误。

ksn@ksn-test:~$ sudo dpkg -i cdh3-repository_1.0_all.deb
(Reading database ... 59905 files and directories currently installed.)
Preparing to replace cdh3-repository 1.0 (using cdh3-repository_1.0_all.deb) ...
rm: cannot remove `/etc/apt/trusted.gpg.d/cloudera-cdh3.gpg': No such file or directory
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement cdh3-repository ...
Setting up cdh3-repository (1.0) ...
gpg: keyblock resource `/etc/apt/trusted.gpg.d/cloudera-cdh3.gpg': file open error
gpg: no writable keyring found: eof
gpg: error reading `/usr/share/doc/cdh3-repository/cloudera-cdh3.key': general error
gpg: import from `/usr/share/doc/cdh3-repository/cloudera-cdh3.key' failed: general error
gpg: Total number processed: 0
dpkg: error processing cdh3-repository (--install):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 cdh3-repository

为什么会出现这个错误

相关内容