l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Dec 08 11:43

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Apt Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Apt Problem

I've got a problem with apt dist-upgrade.

It started when I accidentally installed apache.  I then removed apache, which 
was a mistake.  I've since re-installed and re-removed apache but can't fix 
the problem.  Here's the problem.

When I do "apt dist-upgrade" I get this error message:

"dpkg: apache2-common: dependency problems, but removing anyway as you 
 apache2-mpm-prefork depends on apache2-common (= 2.0.55-4.1).
(Reading database ... 117542 files and directories currently installed.)
Removing apache2-common ...
Stopping apache 2.0 web server...Syntax error on line 1 
of /etc/apache2/mods-enabled/php4.load:
Cannot load /usr/lib/apache2/modules/libphp4.so into 
server: /usr/lib/apache2/modules/libphp4.so: cannot open shared object file: 
No such file or directory
invoke-rc.d: initscript apache2, action "stop" failed.
dpkg: error processing apache2-common (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:"

Here's why this is a serious problem.  If I have other non-apache packages to 
upgrade, they will not upgrade after apt quits because of the apache problem.  
So the apache problem is bigger than it looks.

Thank you for any help you can give me.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!