[问题] 无法顺利安装cacti系统

楼主: purplvampire (阿修雷)   2015-04-16 15:44:10
小弟使用Ubuntu14.04.1 LTS x86_64版
照着下方连结的步骤执行遇到了几个瓶颈上来求教
http://www.chenshake.com/configuring-ubuntu-12-04-install-cacti/
另外也参考了两个网站
这个在解压缩的档名不正确
http://zhouxia.blog.51cto.com/6029585/1339792
这个在遇到设定Mysql时遇到瓶颈时可用
http://ppt.cc/ECGh
目前遇到无法解决的问题
1.在执行Spine开发环境时
#apt-get install dpkg-dev file gcc g++ libc6-dev make patch perl autoconf \
automake dh-make debhelper devscripts fakeroot gnupg \
xutils lintian pbuilder checkinstall libtool libsnmp-dev libsnmp-base\
libsnmp15 libmysqlclient-dev dbconfig-common libphp-adodb dos2unix
跳出错误讯息
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsnmp-base : Breaks: libsnmp15 (< 5.7.2~dfsg-5) but
5.4.3~dfsg-2.4ubuntu1.2 is to be installed
libsnmp15 : Depends: libperl5.14 (>= 5.14.2) but it is not going to be
installed
libsnmp30 : Breaks: libsnmp15 but 5.4.3~dfsg-2.4ubuntu1.2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by
held packages.
尝试移除有问题的SNMP版本时又跳出错误讯息
#apt-get remove libsnmp15_5.4.3~dfsg-2.4ubuntu1.2_i386.deb
E: Unable to locate package libsnmp15_5.4.3~dfsg-2.4ubuntu1.2_i386.deb
E: Couldn't find any package by regex
'libsnmp15_5.4.3~dfsg-2.4ubuntu1.2_i386.deb'
可是原先没安装时又说没有libsnmp15,真是烦死了
2.执行spine的解压编译时又遇到问题
#./configure
configure: error: Cannot find MySQL headers. Use
作者: Adama (So Say We All.)   2015-04-16 15:56:00
apt-get remove libsnmp15 (仅有套件名即可)但官方源没有libsnmp15这个套件... 你怎么装的?ppa?啊 你是直接抓deb下来点两下装的 难怪造成冲突而且你还抓错arch,抓到i386的了...建议去了解一下套件管理
楼主: purplvampire (阿修雷)   2015-04-16 16:03:00
呜呜呜,我不只抓了i386的,我连amd64都有装Q_Q可是没有libsnmp15,那我要怎么办Q_Q
作者: hirokofan (笠原弘子 命!)   2015-04-16 16:34:00
我用ubuntu 12.04装正常,无脑apt-get 就搞定了...hc.cyc.edu.tw/modules/tadnews/index.php?nsn=7614.04没装过
楼主: purplvampire (阿修雷)   2015-04-17 07:54:00
楼上救星!我用虚拟机试装也没问题
作者: cem236321 (ming)   2015-04-17 22:21:00
不知道(都用CentOS装...)

Links booklink

Contact Us: admin [ a t ] ucptt.com