【发布时间】:2014-04-13 17:50:58
【问题描述】:
我尝试使用以下命令。但是,当我到达安装pdftk 的最后一步时,控制台给了我下面的错误。我正在使用 hostgator VPS 服务器。任何可能的建议都会很棒。
注意:我尝试安装libgcj.so.7rh()(64bit),但它已经存在。也许我做错了什么。
**Error:** Package: pdftk-1.44-2.el5.rf.x86_64 (rpmforge)
Requires: libgcj.so.7rh()(64bit)
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
这些是我遵循的步骤。
# Log in as root
cd /usr/local/src
# Type
uname -i
#To see which package you need
#Pick one of the below vdepending on the output of uname -i
i386<br>
wegt packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
x86_64 <br>
wget packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
#Then type
rpm --import apt.sw.be/RPM-GPG-KEY.dag.txt
Verify the downloaded package
rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
#Install RPM
rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm
#Then
yum install pdftk
注意:在发布之前,我必须从上述命令中的链接中删除 http://。
【问题讨论】:
标签: linux shell cpanel vps pdftk