<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
On Tue, 2006-26-12 at 19:34 -0500, John Dangler wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I have what apparently is a broke spamassassin on my server that i would</FONT>
<FONT COLOR="#000000">like to dump and re-install. Here are the commands I tried, and their</FONT>
<FONT COLOR="#000000">results...</FONT>
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">root@mgjventures:/# apt-get --purge spamassasin</FONT>
<FONT COLOR="#000000">E: Invalid operation spamassasin</FONT>
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">root@mgjventures:/# apt-get --remove spamassassin</FONT>
<FONT COLOR="#000000">E: Invalid operation spamassassin</FONT>
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">root@mgjventures:/# apt-get --purge --remove spamassassin</FONT>
<FONT COLOR="#000000">E: Invalid operation spamassassin</FONT>
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">root@mgjventures:/# apt-get -s install spamassassin</FONT>
<FONT COLOR="#000000">Reading package lists... Done</FONT>
<FONT COLOR="#000000">Building dependency tree... Done</FONT>
<FONT COLOR="#000000">spamassassin is already the newest version.</FONT>
<FONT COLOR="#000000">0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.</FONT>
<FONT COLOR="#000000">1 not fully installed or removed.</FONT>
<FONT COLOR="#000000">Conf spamassassin (3.1.3-1ubuntu1~dapper1 Ubuntu:6.06/dapper-backports)</FONT>
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Can anyone tell me what I'm doing wrong ?</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
You're not paying attention to the (badly-designed) command line for apt-get.<BR>
<BR>
The operation you're interested in is called "remove". The option you want, to get rid of config files, etc. (which doesn't always work) is --purge.<BR>
<BR>
apt-get --purge remove spamassassin.<BR>
<BR>
Try that instead. Note the lack of option dashes in front of "remove".<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<B>Michael T. Richter</B><BR>
<I><FONT SIZE="2">Email:</FONT></I><FONT SIZE="2"> ttmrichter@gmail.com, mtr1966@hotpop.com</FONT><BR>
<I><FONT SIZE="2">MSN:</FONT></I><FONT SIZE="2"> ttmrichter@hotmail.com, mtr1966@hotmail.com; </FONT><I><FONT SIZE="2">YIM:</FONT></I><FONT SIZE="2"> michael_richter_1966; </FONT><I><FONT SIZE="2">AIM:</FONT></I><FONT SIZE="2"> YanJiahua1966; </FONT><I><FONT SIZE="2">ICQ:</FONT></I><FONT SIZE="2"> 241960658; </FONT><I><FONT SIZE="2">Jabber:</FONT></I><FONT SIZE="2"> mtr1966@jabber.cn</FONT><BR>
<BR>
<I><FONT SIZE="1">"My paramount object in this struggle is to save the Union, and is not either to save or to destroy slavery."</FONT></I><FONT SIZE="1"> </FONT><B><FONT SIZE="1">--Abraham Lincoln</FONT></B>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>