l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 24: LUGOD election season has begun!
Page last updated:
2006 Sep 14 05:31

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] Apache reinstallation failing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Apache reinstallation failing



I'm having nothing but grief trying to get Apache reinstalled on a Kubuntu 
server I've been building.  I installed Apache, then mistakenly installed 
Apache2 on top of that, then tried to uninstall both, not knowing 
that --reinstall was not an option with apt-get install.  Plenty of files 
were deleted manually, problems arose, hilarity failed to ensue.  Now when I 
try:

$ sudo apt-get --reinstall install apache2

apt tells me that Apache2 is being installed, but there are no /var/log files 
for Apache, and when I try to launch apache2 with /etc/init.d/apache2 start, 
there's no output, and Apache simply doesn't start.  When I tried recently to 
simply install Apache (not 2), I got the following:

deguser@the-matrix:/var/log
$ sudo apt-get --reinstall install apache
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  apache-doc
The following NEW packages will be installed:
  apache
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 385kB of archives.
After unpacking 827kB of additional disk space will be used.
Get:1 http://security.ubuntu.com dapper-security/universe apache 
1.3.34-2ubuntu0.1 [385kB]
Fetched 385kB in 3s (125kB/s)
Preconfiguring packages ...
Selecting previously deselected package apache.
(Reading database ...
dpkg: serious warning: files list file for package `apache2-mpm-prefork' 
missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache2-utils' missing, 
assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache2-common' missing, 
assuming package has no files currently installed.

dpkg: serious warning: files list file for package `apache-common' missing, 
assuming package has no files currently installed.
71621 files and directories currently installed.)
Unpacking apache (from .../apache_1.3.34-2ubuntu0.1_i386.deb) ...
Setting up apache (1.3.34-2ubuntu0.1) ...
/var/lib/dpkg/info/apache.postinst: line 
12: /usr/share/apache/postinst.common: No such file or directory
dpkg: error processing apache (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 apache
E: Sub-process /usr/bin/dpkg returned an error code (1)



Can anyone lead me on the road to recovery here?

-- 
Richard S. Crawford (http://www.mossroot.com)
Editor In Chief at Daikaijuzine (http://www.daikaijuzine.com)
Check out the Cthulhu Wiki: http://www.mossroot.com/cthulhuwiki
AIM: Buffalo2K / GTalk: underpope@gmail.com
Skype/Gizmo: underpope
"You can't trust your judgement when your imagination is out of focus."
		(Mark Twain)

Attachment: pgp00003.pgp
Description: PGP signature

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
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.