看板 Linux 關於我們 聯絡資訊
小弟使用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 --with-mysql= to specify non-default path. #make make: *** No targets specified and no makefile found. Stop. #make install make: *** No rule to make target `install'. Stop. #cp /usr/local/spine/etc/spine.conf.dist /etc/spine.conf cp: cannot stat ‘/usr/local/spine/etc/spine.conf.dist’: No such file or directory 一下路徑不對 一下沒該指令 一下沒有檔案或目錄 誰知道到底是怎麼回事啊阿阿 --
RickyOrange:噓的人我看連字都寫不好06/06 10:59
RickyOrange:幹 我怎麼噓了06/06 11:00
RickyOrange:等等補推 = = 06/06 11:00
RickyOrange:呼06/06 11:03
-- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 202.169.173.134 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1429170255.A.5FD.html
Adama: apt-get remove libsnmp15 (僅有套件名即可) 04/16 15:56
Adama: 但官方源沒有libsnmp15這個套件... 你怎麼裝的?ppa? 04/16 15:56
Adama: 啊 你是直接抓deb下來點兩下裝的 難怪造成衝突 04/16 15:58
Adama: 而且你還抓錯arch,抓到i386的了...建議去了解一下套件管理 04/16 15:59
purplvampire: 嗚嗚嗚,我不只抓了i386的,我連amd64都有裝Q_Q 04/16 16:03
purplvampire: 可是沒有libsnmp15,那我要怎麼辦Q_Q 04/16 16:04
hirokofan: 我用ubuntu 12.04裝正常,無腦apt-get 就搞定了... 04/16 16:34
hirokofan: hc.cyc.edu.tw/modules/tadnews/index.php?nsn=76 04/16 16:34
hirokofan: 14.04沒裝過 04/16 16:35
purplvampire: 樓上救星!我用虛擬機試裝也沒問題 04/17 07:54
cem236321: 不知道(都用CentOS裝...) 04/17 22:21