<div dir="ltr"><br><br><div class="gmail_quote">On Sun, Sep 7, 2008 at 8:25 PM, Steve Lamb <span dir="ltr"><<a href="mailto:grey@dmiyu.org">grey@dmiyu.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sun, Sep 07, 2008 at 08:00:13PM -0400, Ashley Benton wrote:<br>
> I installed apache2 again (it was working uninstalled) Before the<br>
> installation I found 80 files by searching apache2 now I have 84. I  can't<br>
> tell you which one are news because I don't know it myself and I don't know<br>
> how to find the files and compare by using the command line yet.<br>
<br>
</div>    Ok, in explaining the differences between apt and aptitude in the spawned<br>
thread I see what is going on here.<br>
<br>
    apache2 is a virtual package, nothing more.  It depends on the actual<br>
package which is one of these three:<br>
<br>
{grey@igbuntu:~} apt-cache show apache2 | grep Depends:<br>
Depends: apache2-mpm-worker (>= 2.2.8-1ubuntu0.3) | apache2-mpm-prefork (>=<br>
2.2.8-1ubuntu0.3) | apache2-mpm-event (>= 2.2.8-1ubuntu0.3)<br>
<br>
    That, in turn, depends on apache2.2-common which itself depends on, I<br>
believe, apache2-utils.<br>
<br>
    The problem is since you're addind/removing apache2 with apt which does<br>
not remove dependancies that are no longer needed all you're doing is adding<br>
and removig the virtual package that probably contains the minimum files in<br>
/usr/share/doc/apache2 needed to satisfy Debian's policy.  Copyright, Readme,<br>
Readme.debian and changlog.<br>
<br>
    Try this instead:<br>
<br>
apt-get purge apache2 apache2-mpm-worker apache2.2-common<br>
<br>
    If -worker is not the one installed (I think apt-get installs the first<br>
dependancy when ORs are given) then try -prefork or -event.  I think if you<br>
purge all three you'll get rid of most of the configuration files.  From there<br>
you could probably just delete the the straglers since those would be files<br>
you added to the directories that the package manager does not know about.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c">         Steve C. Lamb         | But who can decide what they dream<br>
       PGP Key: 1FC01004       |      and dream I do<br>
-------------------------------+---------------------------------------------<br>
</div></div><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
<br>
iD8DBQFIxHDiTJCUEB/AEAQRAo3AAKCat3XQI2yDBBxiSjpHcKGntsl2MgCfTi1y<br>
RuZf5KAcBMHbiyTpyClKWaI=<br>
=ci6B<br>
-----END PGP SIGNATURE-----</blockquote><div><br> By removing apache2.2-common and my configuration files apache2 is not
working anymore (which is good) and I came back with only 23 files. I
won't remove them as I am not sure what it would do but I will 
reinstall apache 2 and reinstall one backup file that I need.<br>I'll make sure to know the dependency of the programs I want to remove next time as well as using purge.<br>
Thank you for your answers they allowed me to understand what I did wrong and a little more of how Ubuntu is working.<br><br>Meg<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br></div>