Package: apache Version: 1.3.33-6 Severity: normal I had some trouble getting "apt-get update" to work today on my sid machine. It claimed that the web server returned a bad header line. And indeed it did. Below is the output of "od -t c" for what netcat captured from the server responses. I have marked the problematic part: it contains control characters, which is why I used od.
Turns out apache's mime_magic module is the cause. If I turn it off, the problem goes away. I looked at its config file, the one with all the magics, but failed to spot the problem. file(1) works for the file. The file in question is Release.gpg, but I suspect anything with PGP armored data should give the same result. If I can give further information, please don't hesitate to ask. 0000000 H T T P / 1 . 1 2 0 0 O K \r 0000020 \n D a t e : M o n , 0 5 S 0000040 e p 2 0 0 5 2 2 : 2 8 : 3 8 0000060 G M T \r \n S e r v e r : A p 0000100 a c h e / 1 . 3 . 3 3 ( D e b 0000120 i a n G N U / L i n u x ) \r \n 0000140 L a s t - M o d i f i e d : S 0000160 u n , 0 4 S e p 2 0 0 5 0000200 1 9 : 5 0 : 3 5 G M T \r \n E T 0000220 a g : " 9 4 0 0 8 - b d - 4 3 0000240 1 b 5 0 0 b " \r \n A c c e p t - 0000260 R a n g e s : b y t e s \r \n C 0000300 o n t e n t - L e n g t h : 1 0000320 8 9 \r \n C o n n e c t i o n : 0000340 c l o s e \r \n C o n t e n t - T 0000360 y p e : t e x t / p g p \r \n ---- problem header starts here: 0000400 C o n t e n t - E n c o d i n g 0000420 : a r m o r e d p \v \n \b ` ) 0000440 005 \b p ) 005 \b \r \n \r \n - - - - - B ---- 0000460 E G I N P G P S I G N A T U 0000500 R E - - - - - \n V e r s i o n : 0000520 G n u P G v 1 . 4 . 1 ( G 0000540 N U / L i n u x ) \n \n i D 8 D B 0000560 Q B D G 1 A L 8 d U 9 j E 8 2 j 0000600 V 0 R A o / q A K C n h E N k 7 0000620 X f c F L d U J D g l 4 O i B + 0000640 z 8 w y w C d G A w r \n z v / A 0000660 T N U b C N Y 8 2 t w d E i i u 0000700 N L I = \n = x a y M \n - - - - - 0000720 E N D P G P S I G N A T U R 0000740 E - - - - - \n 0000747 -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) Versions of packages apache depends on: ii apache-common 1.3.33-6 support files for all Apache webse ii debconf 1.4.30.13 Debian configuration management sy ii dpkg 1.10.28 Package maintenance system for Deb ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.8-3 XML parsing C library - runtime li ii libmagic1 4.12-1 File type determination library us ii logrotate 3.7-5 Log rotation utility ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap ii perl 5.8.4-8 Larry Wall's Practical Extraction -- debconf information: * apache/server-name: www.pieni.net * apache/document-root: /var/www * apache/server-port: 80 * apache/enable-suexec: true * apache/init: true * apache/server-admin: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]