You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2006/03/01 12:32:44 UTC

Re: Spamassasin on Ubuntu with VHCS

You need to add the "universe" repository.  As to how you do this -- I'd
suggest asking on an Ubuntu forum -- this is an issue with your apt setup,
not SpamAssassin itself.

--j.

James Smith writes:
> I need to get spamassasin installed and working on Ubuntu with VHCS.  I have
> googled this and found a tutorial or two all of which start with the same
> line...
> 
> apt-get install clamav clamav-daemon amavisd-new spamassassin
> 
> Unfortunately this bombes out immediately with the error...
> 
> ------------------------------------------------------
> Reading package lists... Done
> Building dependency tree... Done
> Package clamav is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> W: Couldn't stat source package list cdrom://Ubuntu 5.10 _Breezy Badger_ -
> Release i386 (20051012) breezy/main Packages
> (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i3
> 86%20(20051012)_dists_breezy_main_binary-i386_Packages) - stat (2 No such
> file or directory)
> W: Couldn't stat source package list cdrom://Ubuntu 5.10 _Breezy Badger_ -
> Release i386 (20051012) breezy/restricted Packages
> (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i3
> 86%20(20051012)_dists_breezy_restricted_binary-i386_Packages) - stat (2 No
> such file or directory)
> W: You may want to run apt-get update to correct these problems
> E: Package clamav has no installation candidate
> ------------------------------------------------------
> 
> Skipping clamav and using "apt-get install spamassassin" instead gives
> 
> ------------------------------------------------------
> Reading package lists... Done
> Building dependency tree... Done
> Package spamassassin is not available, but is referred to by another
> package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> W: Couldn't stat source package list cdrom://Ubuntu 5.10 _Breezy Badger_ -
> Release i386 (20051012) breezy/main Packages
> (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i3
> 86%20(20051012)_dists_breezy_main_binary-i386_Packages) - stat (2 No such
> file or directory)
> W: Couldn't stat source package list cdrom://Ubuntu 5.10 _Breezy Badger_ -
> Release i386 (20051012) breezy/restricted Packages
> (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i3
> 86%20(20051012)_dists_breezy_restricted_binary-i386_Packages) - stat (2 No
> such file or directory)
> W: You may want to run apt-get update to correct these problems
> E: Package spamassassin has no installation candidate
> ------------------------------------------------------
> 
> Trying "apt-get update" downloads a few files (the biggest of which is only
> 40k) and then fails with a similar error
> 
> ------------------------------------------------------
> W: You may want to run apt-get update to correct these problems
> E: Some index files failed to download, they have been ignored, or old ones
> used instead.
> ------------------------------------------------------
> 
> Does anyone have any ideas how to solve this?
> 
> --
> James Smith

RE: Spamassasin on Ubuntu with VHCS

Posted by James Smith <ja...@discs.uk.com>.
> You need to add the "universe" repository.  As to how you do 
> this -- I'd suggest asking on an Ubuntu forum -- this is an 
> issue with your apt setup, not SpamAssassin itself.

Thanks, added the new repositories and it now looks to be working.

--
Jay