[Gllug] help with Ubuntu 9.10

david david at gbenet.com
Fri Jun 18 13:32:32 UTC 2010


John Edwards wrote:
> On Thu, Jun 17, 2010 at 04:33:47PM +0100, david wrote:
>> Hello All,
>>
>> I have installed root - which works fine. My problem is as follows:
>>
>> When I run update manager Synaptic Package Manager I get the following
>> error:
>>
>> "Extract templates from packes: 100%
>> Preconfiguring packages ...
>> dpkg: unrecoverable fatal error, aborting:
>> syntax error: unknown user 'amavis' in statoverride file
>> E: Sub-process /usr/bin/dpkg returned an error code (2)
>> A package failed to install. Trying to recover:
>>
>> My solutions have been:
>>
>> (1) I've tried Edit - Fix broken packages - failed
>> (2) from the command line apt-get -f install
>>
>> I do not know what to do next. I've looked throu various Ubuntu manuals
>> I have but have yet to come up with a solution.
>>
>> I can't install or upgrade any packages at this time.
> 
> A quick google search for "syntax error: unknown user 'amavis' in
> statoverride file" shows that the amavis packages do not clean up
> after themselves very well when uninstalled.
> 
> 1) Check if you have any amavis packages installed:
> 	dpkg --get-selections | grep amavis
> 
>    If you do have amavis or amavis-ng or amavis-new isntall then you
>    should reinstall them to recreate the user. Eg:
> 	apt-get install --reistall amavis-new
> 
> 2) If you don't have them installed then check if they have left
>    any entries in the statoverride file:
> 	grep amavis /var/lib/dpkg/statoverride
> 
> 3) If there are entries in there then take a backup of that file
>    and use a text editor as root to remove those amavis lines.
>    Then try running your package management tool again.
> 
> 
> 
I tried all that and it failed to resolve anything, so decided to edit
the file. I wiped all things amivis and spamassisin - and then performed
an update - success - so a Thank You Very Much - and I owe you a beer!!

David

-- 
This e-mail message, and any attachments, is intended only for the use
of the individual or entity identified in the alias address of this
message and may contain information that is confidential, privileged and
subject to legal restrictions and penalties regarding its unauthorized
disclosure and use. Any unauthorized review, copying, disclosure, use or
distribution is strictly prohibited. If you have received this e-mail
message in error, please notify the sender immediately by reply e-mail
and delete this message and any attachments from your system. Thank you.
change your mind - change the world. postmaster at gbenet.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 296 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20100618/3ba664e7/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list