I can reproduce the bug in php4-cli package from Edgy.

php4 -v
PHP Warning:  mime_magic: type regex            BEGIN[[:space:]]*[{]    
application/x-awk invalid in Unknown on line 0
PHP 4.4.2-1.1 (cli) (built: Jun 20 2006 02:33:21)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

# apt-cache show php4-cli

Package: php4-cli
Priority: optional
Section: universe/web
Installed-Size: 3040
Maintainer: Debian PHP Maintainers <[EMAIL PROTECTED]>
Architecture: i386
Source: php4
Version: 4:4.4.2-1.1
Replaces: php4-cgi (<< 4:4.3.8-6)
Provides: phpapi-20050606
Depends: libbz2-1.0, libc6 (>= 2.4-1), libcomerr2 (>= 1.33-3), libdb4.3 (>= 
4.3.28-1), libexpat1 (>= 1.95.8), libgdbm3, libkrb53 (>= 1.4.2), libncurses5 
(>= 5.4-5), libpcre3 (>= 4.5), libssl0.9.8 (>= 0.9.8a-1), libzzip-0-12 (>= 
0.12.83), zlib1g (>= 1:1.2.1), mime-support (>= 2.03-1), php4-common (= 
4:4.4.2-1.1), libmagic1
Suggests: php-pear
Filename: pool/universe/p/php4/php4-cli_4.4.2-1.1_i386.deb
Size: 1550318
MD5sum: 98f2cb890849e0ea93e0a4449d627afb
SHA1: a5856264db8dc1cd2bdf08c2340d2487fa339844
SHA256: 2496f1f3562e532aa9b930601246c30ee0e6bcbba8de9285cda63df1dcd04597

php4 doesn't depends on apache2 , so i think is not the way to fix it.

the bug comes from libmagic1 package , Pierre Buyle did the right fix as
debian maintainer did also in libmagic from Etch.

So i think that ubuntu maintainer just should get  libmagic version
4.17-5 from debian Etch and build a new package for Ubuntu , so
4.17-5ubuntu1 will fix that annoying problem.

-- 
mime_magic: type regex  ... application/x-awk invalid
https://launchpad.net/bugs/59183

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to