apt-get install mysql-server apache php4 php4-mysql

這個版面主要討論 debian 在 server 端的應用問題, server 種類繁多..舉凡 Web Server 、 File Server、 DHCP Server..等等。

版主: 阿信

apt-get install mysql-server apache php4 php4-mysql

文章kahn » 週三 3月 12, 2003 10:11 am

小弟的debian 裝好至testing 版本,之前都不會有這種情況,為何現在裝不起來?

錯誤訊息:
Sorry, but the following packages have unmet dependencies:
apache: Depends: libc6 (>= 2.2.5-13) but it is not going to be installed
Depends: libdb2 (>= 2:2.7.7.0-7) but it is not going to be installed
Depends: libexpat1 (>= 1.95.2-6) but it is not going to be installed
Depends: apache-common (>= 1.3.26-1) but it is not going to be installed
Depends: apache-common (< 1.3.27-0) but it is not going to be installed
Depends: perl5 or
perl but it is not going to be installed
Depends: logrotate (>= 3.5.4-1) but it is not going to be installed
Depends: dpkg (> 1.9.0) but it is not going to be installed
mysql-server: Depends: mysql-client (>= 3.23.52-2) but it is not going to be installed
Depends: debconf (>= 0.9.90) but it is not going to be installed
Depends: libdbi-perl but it is not going to be installed
Depends: perl (>= 5.6) but it is not going to be installed
Depends: libc6 (>= 2.2.5-13) but it is not going to be installed
Depends: libmysqlclient10 but it is not going to be installed
Depends: libstdc++2.10-glibc2.2 (>= 1:2.95.4-0.010810) but it is not going to be installed
Depends: libwrap0 but it is not going to be installed
Depends: zlib1g (>= 1:1.1.4) but it is not going to be installed
Depends: adduser (>= 3.40) but it is not going to be installed
Depends: psmisc but it is not going to be installed
Depends: passwd but it is not going to be installed
php4: Depends: libbz2-1.0 but it is not going to be installed
Depends: libc6 (>= 2.2.4-4) but it is not going to be installed
Depends: libdb2 (>= 2:2.7.7.0-7) but it is not going to be installed
Depends: libexpat1 (>= 1.95.2-6) but it is not going to be installed
Depends: libmm11 but it is not going to be installed
Depends: libpam0g (>= 0.72-1) but it is not going to be installed
Depends: libpcre3 but it is not going to be installed
Depends: zlib1g (>= 1:1.1.4) but it is not going to be installed
Depends: apache-common (>= 1.3.26) but it is not going to be installed
Depends: fileutils (>= 4.0-5)
php4-mysql: Depends: libc6 (>= 2.2.4-4) but it is not going to be installed
Depends: libmysqlclient10 but it is not going to be installed
Depends: zlib1g (>= 1:1.1.4) but it is not going to be installed
E: Sorry, broken packages
頭像
kahn
活潑的高中生
活潑的高中生
 
文章: 350
註冊時間: 週三 9月 04, 2002 10:52 pm
來自: 彰化

re:apt-get install mysql-server apache php4 php4-mysql

文章訪客 » 週四 3月 13, 2003 4:46 pm

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=183477
libc6和php4有版本的衝突.我也中了,我以為電腦被我玩爛了,今天才重灌過了.........
訪客
 

re:apt-get install mysql-server apache php4 php4-mysql

文章kahn » 週四 3月 13, 2003 7:43 pm

不知目前的解決方式為何?
頭像
kahn
活潑的高中生
活潑的高中生
 
文章: 350
註冊時間: 週三 9月 04, 2002 10:52 pm
來自: 彰化

re:apt-get install mysql-server apache php4 php4-mysql

文章yoyoro » 週四 3月 13, 2003 11:29 pm

剛搞了一個晚上就在搞這個問題...

下午做完dist-upgrade後,發現所有php4相關的套件統統
被移除了,重新apt-get install php4時,就一直出現上述
的訊息,我的解決方法是:

1. 設定sources.list為unstable然後apt-get update
2. 然後apt-get install php4 php4-.....等php4相關的套件
3. 設定sources.list回testing然後apt-get update

看了一下,apache會被升級到1.3.27,php4會安裝4.2.xx,其他
的好像沒太大的影響,總算是又活過來了...
yoyoro
可愛的小學生
可愛的小學生
 
文章: 2
註冊時間: 週三 3月 05, 2003 7:29 pm


回到 debian server

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客