Hadyai Internet R&D LAB
ผลงานของ Hadyai Internet R&D LAB => คุยกับทีมวิจัย => ข้อความที่เริ่มโดย: relaxy ที่ 29 สิงหาคม 2008, 18:35:08
-
หลังจากลง เวอร์ชั่นใหม่ ลงไป ไม่สามารถใช้คำสั่ง apt-get install
ตัวอย่างเช่น
#apt-get install cacti
Reading package lists... Done
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:
cacti: Depends: php4-snmp but it is not installable or
php5-snmp but it is not going to be installed
Depends: rrdtool but it is not going to be installed
Depends: snmp but it is not going to be installed
Depends: libphp-adodb (>= 4.50-1) but it is not going to be installed
Depends: dbconfig-common (>= 1.8.8) but it is not going to be installed
kernel-package: Depends: dpkg-dev (>= 1.4.0.9) but it is not going to be installed
Depends: gcc but it is not going to be installed or
c-compiler
Depends: make (>= 3.80-10) but it is not going to be installed
libncurses5-dev: Depends: libc-dev
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
สั่ง apt-get -f install ก็ไม่ได้ ไม่ทราบว่าต้องแก้ไขยังไงครับ
-
ลอง apt-get clean
แล้วก็ apt-get update
แล้วค่อย apt-get install ใหม่
-
ไม่มี gcc compiler ครับ
สั่ง apt-get install build-essential libncurses5-dev
-
ลองแล้วไม่ได้ครับผม
-
ตอนติดตั้ง ติดตั้งแบบ Express หรือ Custom ครับ
-
จริงๆ แล้วติดตั้งแบบวิธีเดิม(เวอร์ชั่นแรก) เนื่องจากแผ่น os ตัวใหม่ปัญหา
ผมเลยใช้วิธี ติดตั้งแบบวิธีเดิมและใช้ script ตัวใหม่ ครับ
-
พิมพ์ apt-get install -f ก่อน
โปรแกรมจะทำการโหลด module ที่เกี่ยวข้องที่ยังไม่ได้ติดตั้ง
เสร็จแล้วก็ apt-get install cacti ใหม่ได้ครับ
-
ทำได้แล้วครับ ขอบคุณครับ
-
การ Config Cacti อยู่ในคู่มือ ฉบับเต็ม หน้า 110 เป็นต้นไปนะครับ
ลองทำตามดูนะครับ