Hi,
Recently apache 1.3.29 (testing branch) refuse to start. I wanted to remove it, and use apache 2 instead. It seems that earlier dependency problems caused apache to be not cleanly uninstalled. I tried using apt-get remove apache apt-get remove --purge apache dpkg -r apache but to no avail. There seemed to be some dependency problem with the packages: phpwiki smarty ucf I manually removed those files listed by "dpkg -L packagename", and edited the /var/lib/dpkg/status file by hand to change the status to "purge ok not-installed". This is the current status: [EMAIL PROTECTED]:/home/hanxue# apt-get install apache Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: libclamav1 proftpd ucf Suggested packages: apache-doc proftpd-doc The following packages will be upgraded: apache libclamav1 proftpd ucf 4 upgraded, 0 newly installed, 0 to remove and 629 not upgraded. 11 not fully installed or removed. Need to get 0B/831kB of archives. After unpacking 987kB of additional disk space will be used. Do you want to continue? [Y/n] When I answer "Y", this is the response: Reading changelogs... Done Preconfiguring packages ... (Reading database ... 127263 files and directories currently installed.) Preparing to replace apache 1.3.29.0.2-4 (using .../apache_1.3.29.0.2-4_i386.deb) ... dpkg (subprocess): unable to execute new pre-installation script: Permission denied dpkg: error processing /var/cache/apt/archives/apache_1.3.29.0.2-4_i386.deb (--unpack): subprocess pre-installation script returned error exit status 2 dpkg (subprocess): unable to execute new post-removal script: Permission denied dpkg: error while cleaning up: subprocess post-removal script returned error exit status 2 Preparing to replace libclamav1 0.67-7 (using .../libclamav1_0.70-4_i386.deb) ... Unpacking replacement libclamav1 ... dpkg (subprocess): unable to execute old post-removal script: Permission denied dpkg: warning - old post-removal script returned error exit status 2 dpkg - trying script from the new package instead ... dpkg (subprocess): unable to execute new post-removal script: Permission denied dpkg: error processing /var/cache/apt/archives/libclamav1_0.70-4_i386.deb (--unpack): subprocess new post-removal script returned error exit status 2 dpkg (subprocess): unable to execute new post-removal script: Permission denied dpkg: error while cleaning up: subprocess post-removal script returned error exit status 2 Preparing to replace proftpd 1.2.9-6 (using .../proftpd_1.2.9-12_i386.deb) ... dpkg (subprocess): unable to execute old pre-removal script: Permission denied dpkg: warning - old pre-removal script returned error exit status 2 dpkg - trying script from the new package instead ... dpkg (subprocess): unable to execute new pre-removal script: Permission denied dpkg: error processing /var/cache/apt/archives/proftpd_1.2.9-12_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 2 dpkg (subprocess): unable to execute post-installation script: Permission denieddpkg: error while cleaning up: subprocess post-installation script returned error exit status 2 Preparing to replace ucf 1.06 (using .../apt/archives/ucf_1.06_all.deb) ... dpkg (subprocess): unable to execute new pre-installation script: Permission denied dpkg: error processing /var/cache/apt/archives/ucf_1.06_all.deb (--unpack): subprocess pre-installation script returned error exit status 2 dpkg (subprocess): unable to execute new post-removal script: Permission denied dpkg: error while cleaning up: subprocess post-removal script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/apache_1.3.29.0.2-4_i386.deb /var/cache/apt/archives/libclamav1_0.70-4_i386.deb /var/cache/apt/archives/proftpd_1.2.9-12_i386.deb /var/cache/apt/archives/ucf_1.06_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) What is the problem? Is it because of some corrupted dpkg related file? Any hints on solving this? Thank you in advance. Lee Hanxue -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

