Adam Conrad wrote: > > > MySQL used to work fine until the php4 package got replaced with > > php4-cgi and php4-mysql when I installed crossfire-server/unstable > > that triggered the installation of a new libc. > > This also sounds like an issue. If php4 got replaced with php4-cgi, you're > not running the Apache module at all anymore (though, this seems rather > odd. I can't think of any instance where php4 would be forcefully removed > rather than upgraded). You might want to reinstall php4, then toss > "extension=mysql.so" in your /etc/php4/apache/php.ini.
Hmm, I managed to 'apt-get -t unstable install php4' which did not work without '-t unstable'. Everything now works ok again. I include the shell output and my /etc/apt/preferences, sources.list. Should I still file a bug? Against php4, crossfire, libc6 or what? ------------------------------------------------------------ s:/etc/apt# apt-get -t unstable install crossfire-server crossfire-maps crossfire-doc Reading Package Lists... Done Building Dependency Tree... Done Sorry, crossfire-maps is already the newest version. The following extra packages will be installed: libc6 libc6-dev libexpat1 locales php4-cgi php4-mysql The following packages will be REMOVED: php4 The following NEW packages will be installed: php4-cgi 7 packages upgraded, 1 newly installed, 1 to remove and 261 not upgraded. Need to get 13.1MB of archives. After unpacking 1004kB will be used. Do you want to continue? [Y/n] Get:1 http://gd.tuwien.ac.at unstable/main libc6-dev 2.3.1-14 [2416kB] Get:2 http://gd.tuwien.ac.at unstable/main locales 2.3.1-14 [3745kB] Get:3 http://gd.tuwien.ac.at unstable/main libexpat1 1.95.6-3 [54.8kB] Get:4 http://gd.tuwien.ac.at unstable/main php4-cgi 4:4.2.3-9 [1011kB] Get:5 http://gd.tuwien.ac.at unstable/main php4-mysql 4:4.2.3-9 [15.0kB] Get:6 http://gd.tuwien.ac.at unstable/main libc6 2.3.1-14 [3193kB] Get:7 http://gd.tuwien.ac.at unstable/main crossfire-doc 1.4.0-4 [718kB] Get:8 http://gd.tuwien.ac.at unstable/main crossfire-server 1.4.0-4 [1939kB] Fetched 13.1MB in 6m29s (33.6kB/s) Preconfiguring packages ... (Reading database ... 61681 files and directories currently installed.) Preparing to replace libc6-dev 2.2.5-14.3 (using .../libc6-dev_2.3.1-14_i386.deb) ... Unpacking replacement libc6-dev ... Preparing to replace locales 2.2.5-14.3 (using .../locales_2.3.1-14_all.deb) ...Unpacking replacement locales ... Preparing to replace libexpat1 1.95.2-9 (using .../libexpat1_1.95.6-3_i386.deb) ... Unpacking replacement libexpat1 ... Selecting previously deselected package php4-cgi. Unpacking php4-cgi (from .../php4-cgi_4%3a4.2.3-9_i386.deb) ... Preparing to replace php4-mysql 4:4.1.2-5 (using .../php4-mysql_4%3a4.2.3-9_i386.deb) ... Unpacking replacement php4-mysql ... dpkg: php4: dependency problems, but removing anyway as you request: squirrelmail depends on php4 | php4-cgi; however: Package php4 is to be removed. Package php4-cgi is not configured yet. (Reading database ... 61748 files and directories currently installed.) Removing php4 ... The apache webserver is configured to load the php module at startup If you remove this package now, apache will not start You should remove the following lines from httpd.conf: LoadModule php4_module /usr/lib/apache/1.3/libphp4.so Do you want me to remove these lines for you [Y/n] ? dpkg - warning: while removing php4, directory `/etc/php4/apache' not empty so not removed. (Reading database ... 61733 files and directories currently installed.) Preparing to replace libc6 2.2.5-14.3 (using .../libc6_2.3.1-14_i386.deb) ... Unpacking replacement libc6 ... Setting up libc6 (2.3.1-14) ... Checking for services that may need to be restarted...done. Name Service Switch has changed in the C Library. Running programs may not be able to do NSS lookups until they are restarted (for services such as ssh, this can affect your ability to login). Note: restarting sshd should not affect any existing connections. The services detected are: inetd snmpd cron proftpd apache ssh exim If other services begin to fail mysteriously after this upgrade, it may be necessary to restart them too. Do you wish to Restart Services? [Y/n] Restarting services possibly affected by the upgrade: inetd: stopping...starting...done. snmpd: stopping...starting...done. cron: stopping...starting...done. proftpd: stopping...starting...done. apache: stopping...starting...FAILED! (1) ssh: stopping...starting...done. exim: stopping...starting...done. The following services failed to start: apache You will need to start these manually by running `/etc/init.d/<service> start' If the service still fails to start, you may need to file a bug on libc6 or the service involved. Press ENTER to continue: Current default timezone: 'Europe/Vienna'. Local time is now: Mon Mar 3 21:34:23 CET 2003. Universal Time is now: Mon Mar 3 20:34:23 UTC 2003. Run 'tzconfig' if you wish to change it. (Reading database ... 61746 files and directories currently installed.) Preparing to replace crossfire-doc 1.3.0-1 (using .../crossfire-doc_1.4.0-4_all.deb) ... Unpacking replacement crossfire-doc ... Preparing to replace crossfire-server 1.3.0-1 (using .../crossfire-server_1.4.0-4_i386.deb) ... Stopped /usr/games/crossfire (pid 12721). Unpacking replacement crossfire-server ... Setting up libc6-dev (2.3.1-14) ... Setting up locales (2.3.1-14) ... Generating locales... de_AT.ISO-8859-1... done en_US.ISO-8859-1... done Generation complete. Setting up libexpat1 (1.95.6-3) ... Setting up crossfire-doc (1.4.0-4) ... Setting up crossfire-server (1.4.0-4) ... Starting /usr/games/crossfire... Setting up php4-cgi (4.2.3-9) ... Setting up php4-mysql (4.2.3-9) ... s:/etc/apt# /etc/init.d/apache start Starting web server: apacheSyntax error on line 5 of /etc/squirrelmail/apache.conf: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration failed s:~# apt-get install php4 Reading Package Lists... Done Building Dependency Tree... Done 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. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: Sorry, but the following packages have unmet dependencies: 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-4) 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.23) but it is not going to be installed Depends: fileutils (>= 4.0-5) E: Sorry, broken packages s:~# apt-get install -t unstable php4 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: apache apache-common libmm12 The following NEW packages will be installed: libmm12 php4 2 packages upgraded, 2 newly installed, 0 to remove and 259 not upgraded. Need to get 1805kB of archives. After unpacking 1520kB will be used. Do you want to continue? [Y/n] Get:1 http://gd.tuwien.ac.at unstable/main apache 1.3.27-0.1 [358kB] Get:2 http://gd.tuwien.ac.at unstable/main apache-common 1.3.27-0.1 [816kB] Get:3 http://gd.tuwien.ac.at unstable/main libmm12 1.2.2-1 [15.4kB] Get:4 http://gd.tuwien.ac.at unstable/main php4 4:4.2.3-9 [616kB] Fetched 1805kB in 46s (38.5kB/s) (Reading database ... 61753 files and directories currently installed.) Preparing to replace apache 1.3.26-1.1 (using .../apache_1.3.27-0.1_i386.deb) ... Unpacking replacement apache ... Preparing to replace apache-common 1.3.26-1.1 (using .../apache-common_1.3.27-0.1_i386.deb) ... Unpacking replacement apache-common ... Selecting previously deselected package libmm12. Unpacking libmm12 (from .../libmm12_1.2.2-1_i386.deb) ... Selecting previously deselected package php4. Unpacking php4 (from .../php4_4%3a4.2.3-9_i386.deb) ... Setting up apache-common (1.3.27-0.1) ... Setting up apache (1.3.27-0.1) ... Reloading apache modules. Setting up libmm12 (1.2.2-1) ... Setting up php4 (4.2.3-9) ... ----------------- /etc/apt/sources.list ----------------------- deb http://gd.tuwien.ac.at/linux/debian/ testing main non-free contrib deb http://gd.tuwien.ac.at/linux/debian-non-US/ testing/non-US main contrib non-free deb http://gd.tuwien.ac.at/linux/debian/ unstable main non-free contrib deb http://gd.tuwien.ac.at/linux/debian-non-US/ unstable/non-US main contrib non-free deb http://security.debian.org/ stable/updates main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free --------------- /etc/apt/preferences ---------------------- Package: * Pin: release a=stable Pin-Priority: 650 Package: * Pin: release a=testing Pin-Priority: 700 Package: * Pin: release a=unstable Pin Priority: 600 Bernhard -- Low end Serverhousing ab 25 e inkl. 1x 11 e/GB, etc.: http://bksys.at -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]