[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache.pm failed to load



Tommy Wu wrote:
> 
> scheme <scheme@cmmail.com> wrote:
> 
> > I'm using woody on PIII. I found since June 26 or so when I dist-upgrade
> > the system, my apache server reported "Apache.pm failed to load" and
> > refused to work.
> > Does anybody know how to solve the problem?
> 
>   I found that mod_perl use perl 5.6.0. but in woody, it use perl 5.6.1 now.
>   You can copy all files in '/usr/lib/perl/5.6.0' to '/usr/lib/perl/5.6.1' and make
>   a soft link from 5.6.0 to 5.6.1.
> 
>   I've try this, it is work now!

This may be relatred to the problem I ran into.  Unfortunately for me 
the perl 5.6.0 directory was already nuked by the upgrade process and 
the upgrade failed due to missing files.  I restored from backups as 
I didn't have time to figure out what went wrong.  Checking things I 
still have the log of the upgrade.  I placed it at:
   http://www.nerdvest.com/debian/2001-07-01.001.errors.txt

---- log part ----
(Reading database ... 103146 files and directories currently installed.)
Preparing to replace perl 5.6.1-3 (using
.../archives/perl_5.6.1-5_i386.deb) ...
Unpacking replacement perl ...
dpkg: error processing /var/cache/apt/archives/perl_5.6.1-5_i386.deb
(--unpack):
 trying to overwrite `/usr/share/doc/perl', which is also in package
perl-base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace perl-modules 5.6.1-3 (using
.../perl-modules_5.6.1-5_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace perl-suid 5.6.1-3 (using
.../perl-suid_5.6.1-5_i386.deb) ...
Unpacking replacement perl-suid ...
Preparing to replace libperl5.6 5.6.1-3 (using
.../libperl5.6_5.6.1-5_i386.deb) ...
Unpacking replacement libperl5.6 ...
Preparing to replace perl-base 5.6.1-3 (using
.../perl-base_5.6.1-5_i386.deb) ...
Unpacking replacement perl-base ...
dpkg: error processing
/var/cache/apt/archives/perl-base_5.6.1-5_i386.deb (--unpack):
 trying to overwrite `/usr/share/doc/perl', which is also in package
perl
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/perl_5.6.1-5_i386.deb
 /var/cache/apt/archives/perl-base_5.6.1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall
again
Press enter to continue.
---- end part ----


-- 
|  Bryan Andersen   |   bryan@visi.com   |   http://www.nerdvest.com   |
| Buzzwords are like annoying little flies that deserve to be swatted. |
|   -Bryan Andersen                                                    |



Reply to: