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 07 07:55

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)
Re: [vox-tech] Apt Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Apt Problem

Dear Bob,

I had to deal with this same problem recently when a broken php module was put in the unstable package repository. The way I got past this problem was to comment out the lines (in apache2.conf, I think) that loaded broken modules. I can no longer find a configuration file that specifies modules to load, so I think it was replaced with the /etc/apache2/mods-available and /mods-enabled which I now see. If I had this problem now, I would temporarily delete the links to the broken modules in mods-enabled so that apache2 would not try to load them when being stopped/started by apt.



On Wed, 6 Dec 2006, Bob Scofield wrote:

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

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:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.