Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

Clamav Updating on Ubuntu

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


webmaster at flfinancieel

May 4, 2008, 1:50 AM

Post #1 of 16 (389 views)
Permalink
Clamav Updating on Ubuntu

Dear People,

I am trying now for a long time now to get clamav updated to first 0.92
and now on 0.93 on my Ubuntu Fiesty server

I have tried all kind things compile it from scratch but also through
apt-get update (will only update to 0.92) Ubuntu claims to install 0.92
but nothing changes as far I can see.
Only one version is installed.

Log watch keep on bugging me that I don't have to worry but that I need
to update.

I have been searching the web for a solution but cannot find one is
there anyone how can help me out.

Like to hear

Frans

By the way, for me it is not a solution to upgrade to the latest version
of Ubuntu !

--
Frans Lieshout Financieel BV

BANJOSTRAAT 49
1312KB Almere
NEDERLAND

Tel : +31 (36) 5467722
Mobiel : +31 (6) 22406833

Web : http://www.flfinancieel.nl
Email :info[at]flfinancieel.nl

BTW NR :
812.54.43.16.B.01
KVK Lelystad : 39083803

De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoekt Frans Lieshout Financieel BV u contact op te nemen met de afzender.
Bovendien verzoekt Frans Lieshout Financieel BV u in dat geval deze e-mail te vernietigen en de inhoud aan niemand openbaar te maken.
Frans Lieshout Financieel BV aanvaardt geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mail, noch voor overgebrachte virussen.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 4, 2008, 1:55 AM

Post #2 of 16 (380 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

webmaster[at]flfinancieel.nl wrote:
> Dear People,
>
> I am trying now for a long time now to get clamav updated to first 0.92
> and now on 0.93 on my Ubuntu Fiesty server
>
> I have tried all kind things compile it from scratch but also through
> apt-get update (will only update to 0.92) Ubuntu claims to install 0.92
> but nothing changes as far I can see.
> Only one version is installed.
>

What problems did you encounter when compiling from scratch?
Keep in mind that by default it install to /usr/local, if you want to
install to /usr you need to pass --prefix=/usr to configure.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


webmaster at flfinancieel

May 4, 2008, 2:24 AM

Post #3 of 16 (380 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

You have a good point there while compiling I use /etc because that is
the place where I can find clamav

Is it possible that Ubuntu from his resps installs it in a complete diff
directory. and if so do I frist than have to delete the present version
of clamav and than use /etc again
or do I use youre standard

I have tried both and in the first situation all of the sudden I had two
installations and by the second Ubuntu could not found Clamav (make more
sense to me)

And if I installed it like the first with prefix /etc after a update of
Ubuntu it sets Clamav back to 0.91 ? Also the resp from Ubuntu always
claims to install 0.92 but is does not happen! But I think that could be
a problem from Ubuntu.

Could /etc be a problem as prefix

Like to hear



Török Edwin schreef:
> webmaster[at]flfinancieel.nl wrote:
>
>> Dear People,
>>
>> I am trying now for a long time now to get clamav updated to first 0.92
>> and now on 0.93 on my Ubuntu Fiesty server
>>
>> I have tried all kind things compile it from scratch but also through
>> apt-get update (will only update to 0.92) Ubuntu claims to install 0.92
>> but nothing changes as far I can see.
>> Only one version is installed.
>>
>>
>
> What problems did you encounter when compiling from scratch?
> Keep in mind that by default it install to /usr/local, if you want to
> install to /usr you need to pass --prefix=/usr to configure.
>
> Best regards,
> --Edwin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>


--
Frans Lieshout Financieel BV

BANJOSTRAAT 49
1312KB Almere
NEDERLAND

Tel : +31 (36) 5467722
Mobiel : +31 (6) 22406833

Web : http://www.flfinancieel.nl
Email :info[at]flfinancieel.nl

BTW NR :
812.54.43.16.B.01
KVK Lelystad : 39083803

De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoekt Frans Lieshout Financieel BV u contact op te nemen met de afzender.
Bovendien verzoekt Frans Lieshout Financieel BV u in dat geval deze e-mail te vernietigen en de inhoud aan niemand openbaar te maken.
Frans Lieshout Financieel BV aanvaardt geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mail, noch voor overgebrachte virussen.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 4, 2008, 2:38 AM

Post #4 of 16 (379 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

webmaster[at]flfinancieel.nl wrote:
> You have a good point there while compiling I use /etc because that is
> the place where I can find clamav
>
> Is it possible that Ubuntu from his resps installs it in a complete diff
> directory. and if so do I frist than have to delete the present version
> of clamav and than use /etc again
> or do I use youre standard
>
> I have tried both and in the first situation all of the sudden I had two
> installations and by the second Ubuntu could not found Clamav (make more
> sense to me)
>
> And if I installed it like the first with prefix /etc after a update of
> Ubuntu it sets Clamav back to 0.91 ? Also the resp from Ubuntu always
> claims to install 0.92 but is does not happen! But I think that could be
> a problem from Ubuntu.
>
> Could /etc be a problem as prefix
>

Yes, /etc is for configuration, not for binaries!
Usual prefixes are /usr, or /usr/local.

You should also remove the Ubuntu package before installing the
hand-built binary.

--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


webmaster at flfinancieel

May 4, 2008, 2:39 AM

Post #5 of 16 (380 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

Oh yes this one I forget as well

when I try to add deb http://volatile.debian.org/debian-volatile
etch/volatile main contrib non-free in de source.list

I get this response The following signatures couldn't be verified
because the public key is not available: NO_PUBKEY EC61E0B0BBE55AB3

how to solve this

Regards



webmaster[at]flfinancieel.nl schreef:
> You have a good point there while compiling I use /etc because that is
> the place where I can find clamav
>
> Is it possible that Ubuntu from his resps installs it in a complete diff
> directory. and if so do I frist than have to delete the present version
> of clamav and than use /etc again
> or do I use youre standard
>
> I have tried both and in the first situation all of the sudden I had two
> installations and by the second Ubuntu could not found Clamav (make more
> sense to me)
>
> And if I installed it like the first with prefix /etc after a update of
> Ubuntu it sets Clamav back to 0.91 ? Also the resp from Ubuntu always
> claims to install 0.92 but is does not happen! But I think that could be
> a problem from Ubuntu.
>
> Could /etc be a problem as prefix
>
> Like to hear
>
>
>
> Török Edwin schreef:
>
>> webmaster[at]flfinancieel.nl wrote:
>>
>>
>>> Dear People,
>>>
>>> I am trying now for a long time now to get clamav updated to first 0.92
>>> and now on 0.93 on my Ubuntu Fiesty server
>>>
>>> I have tried all kind things compile it from scratch but also through
>>> apt-get update (will only update to 0.92) Ubuntu claims to install 0.92
>>> but nothing changes as far I can see.
>>> Only one version is installed.
>>>
>>>
>>>
>> What problems did you encounter when compiling from scratch?
>> Keep in mind that by default it install to /usr/local, if you want to
>> install to /usr you need to pass --prefix=/usr to configure.
>>
>> Best regards,
>> --Edwin
>> _______________________________________________
>> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
>> http://lurker.clamav.net/list/clamav-users.html
>>
>>
>
>
>


--
Frans Lieshout Financieel BV

BANJOSTRAAT 49
1312KB Almere
NEDERLAND

Tel : +31 (36) 5467722
Mobiel : +31 (6) 22406833

Web : http://www.flfinancieel.nl
Email :info[at]flfinancieel.nl

BTW NR :
812.54.43.16.B.01
KVK Lelystad : 39083803

De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoekt Frans Lieshout Financieel BV u contact op te nemen met de afzender.
Bovendien verzoekt Frans Lieshout Financieel BV u in dat geval deze e-mail te vernietigen en de inhoud aan niemand openbaar te maken.
Frans Lieshout Financieel BV aanvaardt geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mail, noch voor overgebrachte virussen.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


webmaster at flfinancieel

May 4, 2008, 2:50 AM

Post #6 of 16 (379 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

Oke,

Than I do have a problem there I now found two clamd.conf one in
/etc/clamav and one in /usr/local/etc/.
So I'll think the best way is once again first remove all the clamav
files I can find and than install it again from source.

But how can I find which prefix to use or does it does not matter when I
start from scratch and simply use /usr

What strikes me a strange that I find two conf but when I check if
clamav is installed it comes only back with one instalaltion and I also
think that Ubuntu is installing in a diff dir than you standard so its
better no the use apt-get update here ?

Thanks for your support so far.

Frans



Török Edwin schreef:
> webmaster[at]flfinancieel.nl wrote:
>
>> You have a good point there while compiling I use /etc because that is
>> the place where I can find clamav
>>
>> Is it possible that Ubuntu from his resps installs it in a complete diff
>> directory. and if so do I frist than have to delete the present version
>> of clamav and than use /etc again
>> or do I use youre standard
>>
>> I have tried both and in the first situation all of the sudden I had two
>> installations and by the second Ubuntu could not found Clamav (make more
>> sense to me)
>>
>> And if I installed it like the first with prefix /etc after a update of
>> Ubuntu it sets Clamav back to 0.91 ? Also the resp from Ubuntu always
>> claims to install 0.92 but is does not happen! But I think that could be
>> a problem from Ubuntu.
>>
>> Could /etc be a problem as prefix
>>
>>
>
> Yes, /etc is for configuration, not for binaries!
> Usual prefixes are /usr, or /usr/local.
>
> You should also remove the Ubuntu package before installing the
> hand-built binary.
>
> --Edwin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>


--
Frans Lieshout Financieel BV

BANJOSTRAAT 49
1312KB Almere
NEDERLAND

Tel : +31 (36) 5467722
Mobiel : +31 (6) 22406833

Web : http://www.flfinancieel.nl
Email :info[at]flfinancieel.nl

BTW NR :
812.54.43.16.B.01
KVK Lelystad : 39083803

De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoekt Frans Lieshout Financieel BV u contact op te nemen met de afzender.
Bovendien verzoekt Frans Lieshout Financieel BV u in dat geval deze e-mail te vernietigen en de inhoud aan niemand openbaar te maken.
Frans Lieshout Financieel BV aanvaardt geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mail, noch voor overgebrachte virussen.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 4, 2008, 3:03 AM

Post #7 of 16 (380 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

webmaster[at]flfinancieel.nl wrote:
> Oke,
>

http://wiki.clamav.net/Main/InstallFromSource

> Than I do have a problem there I now found two clamd.conf one in
> /etc/clamav and one in /usr/local/etc/.
> So I'll think the best way is once again first remove all the clamav
> files I can find and than install it again from source.
>
> But how can I find which prefix to use or does it does not matter when I
> start from scratch and simply use /usr
>

A default install from source will put things into /usr/local. It is ok
this way, you can edit the config files in /usr/local/etc, run clamd
from /usr/local/sbin/clamd, ...
Since /usr is managed by dpkg it is best to not put hand-built stuff
inthere, but use /usr/local.
You can force an /usr prefix though:
./configure --prefix=/usr --sysconfdir=/etc/clamav

Also try searching the archives of this mailing list, I'm sure questions
like this have been answered more than once.

> What strikes me a strange that I find two conf but when I check if
> clamav is installed it comes only back with one instalaltion and I also
> think that Ubuntu is installing in a diff dir than you standard so its
> better no the use apt-get update here ?
>

You can use apt-get update, but you should either use Ubuntu's packages,
or your own binaries, not both.
So do not apt-get install clamav-daemon if you built clamd yourself.
You should remove the packages with apt-get remove.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


clamlist at gmail

May 4, 2008, 3:06 AM

Post #8 of 16 (380 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

<snip>
> files I can find and than install it again from source.

In the clamav website, there is a uninstall step which you can try.
./configure and after that make uninstall

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


webmaster at flfinancieel

May 4, 2008, 10:12 AM

Post #9 of 16 (378 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

Ok, Edwin I appreciate you remark about searching the mailing list but the problem is that there is a lot support to given solutions to rebuild or build clamav but not one why every time Ubuntu is replacing now the 0.93 version with the 0.91 version.

I have installed 0.93 now from scratch. I get clamav-daemon and freshclam-daemon now started (only find this ERROR: Can't save PID in file /var/run/clamd.pid not looked into this yet)
lam-deamon started but I now have ERROR: Can't save PID in file /var/run/clamd.pid (have not looked into this yet)

But I have finally achieved that when I use

|clamscan -V thatt I get |ClamAV 0.93/6688/Wed Apr 9 16:40:38 2008 and only this not that there are two versions

|
And what was more disturbing that even though the clamav website gives tons of information I could not find my solution could also be my way of searching.

A part of my problem is now solved because if I want to do now an upgrade for Feisty it offers me to install clamav ? As long there is nothing else to install problem because when I say yes version 0.93 is gone again at least it will not start up anymore. And adjusting de confd is not the solution.
So I will never be able to use upgrade anymore (also put this on several forums by Ubuntu)

Thanks for you help sofar
|


Török Edwin schreef:
> webmaster[at]flfinancieel.nl wrote:
>
>> Oke,
>>
>>
>
> http://wiki.clamav.net/Main/InstallFromSource
>
>
>> Than I do have a problem there I now found two clamd.conf one in
>> /etc/clamav and one in /usr/local/etc/.
>> So I'll think the best way is once again first remove all the clamav
>> files I can find and than install it again from source.
>>
>> But how can I find which prefix to use or does it does not matter when I
>> start from scratch and simply use /usr
>>
>>
>
> A default install from source will put things into /usr/local. It is ok
> this way, you can edit the config files in /usr/local/etc, run clamd
> from /usr/local/sbin/clamd, ...
> Since /usr is managed by dpkg it is best to not put hand-built stuff
> inthere, but use /usr/local.
> You can force an /usr prefix though:
> ./configure --prefix=/usr --sysconfdir=/etc/clamav
>
> Also try searching the archives of this mailing list, I'm sure questions
> like this have been answered more than once.
>
>
>> What strikes me a strange that I find two conf but when I check if
>> clamav is installed it comes only back with one instalaltion and I also
>> think that Ubuntu is installing in a diff dir than you standard so its
>> better no the use apt-get update here ?
>>
>>
>
> You can use apt-get update, but you should either use Ubuntu's packages,
> or your own binaries, not both.
> So do not apt-get install clamav-daemon if you built clamd yourself.
> You should remove the packages with apt-get remove.
>
> Best regards,
> --Edwin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>


--
Frans Lieshout Financieel BV

BANJOSTRAAT 49
1312KB Almere
NEDERLAND

Tel : +31 (36) 5467722
Mobiel : +31 (6) 22406833

Web : http://www.flfinancieel.nl
Email :info[at]flfinancieel.nl

BTW NR :
812.54.43.16.B.01
KVK Lelystad : 39083803

De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoekt Frans Lieshout Financieel BV u contact op te nemen met de afzender.
Bovendien verzoekt Frans Lieshout Financieel BV u in dat geval deze e-mail te vernietigen en de inhoud aan niemand openbaar te maken.
Frans Lieshout Financieel BV aanvaardt geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mail, noch voor overgebrachte virussen.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 4, 2008, 10:25 AM

Post #10 of 16 (378 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

webmaster[at]flfinancieel.nl wrote:
> Ok, Edwin I appreciate you remark about searching the mailing list but the problem is that there is a lot support to given solutions to rebuild or build clamav but not one why every time Ubuntu is replacing now the 0.93 version with the 0.91 version.
>
> I have installed 0.93 now from scratch. I get clamav-daemon and freshclam-daemon now started (only find this ERROR: Can't save PID in file /var/run/clamd.pid not looked into this yet)
> lam-deamon started but I now have ERROR: Can't save PID in file /var/run/clamd.pid (have not looked into this yet)
>

Permissions?

> But I have finally achieved that when I use
>
> |clamscan -V thatt I get |ClamAV 0.93/6688/Wed Apr 9 16:40:38 2008 and only this not that there are two versions
>
> |
> And what was more disturbing that even though the clamav website gives tons of information I could not find my solution could also be my way of searching.
>
> A part of my problem is now solved because if I want to do now an upgrade for Feisty it offers me to install clamav ? As long there is nothing else to install problem because when I say yes version 0.93 is gone again at least it will not start up anymore. And adjusting de confd is not the solution.So I will never be able to use upgrade anymore (also put this on several forums by Ubuntu)
>

I don't understand what you say. I can only guess:
- you are afraid that when you upgrade Ubuntu it will install an old
clamav package
- you are afraid to upgrade anything, because it might downgrade clamav

As long as you don't have any clamav packages installed, you don't have
to worry.
Upgrading other packages won't magically install a clamav package,
neither will upgrading Ubuntu install a clamav for you.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


webmaster at flfinancieel

May 4, 2008, 11:45 AM

Post #11 of 16 (377 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

Try it once more,

if I do apt-get update Ubuntu will install clamav version 0.91 and will
indeed downgrade this happened allready several times. Clamav is a part
of one of the resp of Ubuntu but I cannot find which one otherwise I
would simply uncomment that resp.

And with apt-get upgrade it is or you upgrade everything or nothing at
least as far as I now.

It not such a big deal because I am building a new server with the
latest version of Ubuntu (hardy).

And for good orders sake I am talking about a server and not the desktop
version of ubuntu.

And this one I forgot I still have in de freshclam log this message
WARNING: Local version: 0.91.2 Recommended version: 0.93.
Have been reading that this should be solved in a cvd update but nothing
happend here.

Kind regards



örök Edwin schreef:
> webmaster[at]flfinancieel.nl wrote:
>
>> Ok, Edwin I appreciate you remark about searching the mailing list but the problem is that there is a lot support to given solutions to rebuild or build clamav but not one why every time Ubuntu is replacing now the 0.93 version with the 0.91 version.
>>
>> I have installed 0.93 now from scratch. I get clamav-daemon and freshclam-daemon now started (only find this ERROR: Can't save PID in file /var/run/clamd.pid not looked into this yet)
>> lam-deamon started but I now have ERROR: Can't save PID in file /var/run/clamd.pid (have not looked into this yet)
>>
>>
>
> Permissions?
>
>
>> But I have finally achieved that when I use
>>
>> |clamscan -V thatt I get |ClamAV 0.93/6688/Wed Apr 9 16:40:38 2008 and only this not that there are two versions
>>
>> |
>> And what was more disturbing that even though the clamav website gives tons of information I could not find my solution could also be my way of searching.
>>
>> A part of my problem is now solved because if I want to do now an upgrade for Feisty it offers me to install clamav ? As long there is nothing else to install problem because when I say yes version 0.93 is gone again at least it will not start up anymore. And adjusting de confd is not the solution.So I will never be able to use upgrade anymore (also put this on several forums by Ubuntu)
>>
>>
>
> I don't understand what you say. I can only guess:
> - you are afraid that when you upgrade Ubuntu it will install an old
> clamav package
> - you are afraid to upgrade anything, because it might downgrade clamav
>
> As long as you don't have any clamav packages installed, you don't have
> to worry.
> Upgrading other packages won't magically install a clamav package,
> neither will upgrading Ubuntu install a clamav for you.
>
> Best regards,
> --Edwin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>


--
Frans Lieshout Financieel BV

BANJOSTRAAT 49
1312KB Almere
NEDERLAND

Tel : +31 (36) 5467722
Mobiel : +31 (6) 22406833

Web : http://www.flfinancieel.nl
Email :info[at]flfinancieel.nl

BTW NR :
812.54.43.16.B.01
KVK Lelystad : 39083803

De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoekt Frans Lieshout Financieel BV u contact op te nemen met de afzender.
Bovendien verzoekt Frans Lieshout Financieel BV u in dat geval deze e-mail te vernietigen en de inhoud aan niemand openbaar te maken.
Frans Lieshout Financieel BV aanvaardt geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mail, noch voor overgebrachte virussen.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 4, 2008, 12:24 PM

Post #12 of 16 (368 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

webmaster[at]flfinancieel.nl wrote:
> Try it once more,
>
> if I do apt-get update Ubuntu will install clamav version 0.91 and will
> indeed downgrade this happened allready several times. Clamav is a part
> of one of the resp of Ubuntu but I cannot find which one otherwise I
> would simply uncomment that resp.
>
> And with apt-get upgrade it is or you upgrade everything or nothing at
> least as far as I now.
>
What is the output of:
dpkg -l | grep clamav
apt-cache policy clamav clamav-daemon libclamav3
> It not such a big deal because I am building a new server with the
> latest version of Ubuntu (hardy).
>
> And for good orders sake I am talking about a server and not the desktop
> version of ubuntu.
>
> And this one I forgot I still have in de freshclam log this message
> WARNING: Local version: 0.91.2 Recommended version: 0.93.
>

You need to restart freshclam, you're still running the old version.
Also run ldconfig.

--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


webmaster at flfinancieel

May 4, 2008, 12:46 PM

Post #13 of 16 (367 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

dpkg -l gives


ii clamav-base
0.92.1~dfsg2-1.1~feisty1 anti-virus utility for Unix
- base package
ii clamav-daemon
0.91.2-3ubuntu2.3~feisty1 antivirus scanner daemon
ii clamav-freshclam
0.91.2-3ubuntu2.3~feisty1 downloads clamav virus
databases f rom the In
ii libclamav2
0.91.2-3ubuntu2.3~feisty1 virus scanner library
rc libclamav3
0.92.1~dfsg2-1.1~feisty1 anti-virus utility for Unix
- libr ary

apt-cache gives

clamav:

Geïnstalleerd: (geen)
Kandidaat: 0.92.1~dfsg2-1.1~feisty1
Versietabel:
0.92.1~dfsg2-1.1~feisty1 0
500 http://nl.archive.ubuntu.com feisty-backports/universe Packages
0.90.2-0ubuntu1.6 0
500 http://security.ubuntu.com feisty-security/universe Packages
0.90.2-0ubuntu1 0
500 http://nl.archive.ubuntu.com feisty/universe Packages
clamav-daemon:
Geïnstalleerd: 0.91.2-3ubuntu2.3~feisty1
Kandidaat: 0.92.1~dfsg2-1.1~feisty1
Versietabel:
0.92.1~dfsg2-1.1~feisty1 0
500 http://nl.archive.ubuntu.com feisty-backports/universe Packages
*** 0.91.2-3ubuntu2.3~feisty1 0
100 /var/lib/dpkg/status
0.90.2-0ubuntu1.6 0
500 http://security.ubuntu.com feisty-security/universe Packages
0.90.2-0ubuntu1 0
500 http://nl.archive.ubuntu.com feisty/universe Packages
libclamav3:
Geïnstalleerd: (geen)
Kandidaat: 0.92.1~dfsg2-1.1~feisty1
Versietabel:
0.92.1~dfsg2-1.1~feisty1 0
500 http://nl.archive.ubuntu.com feisty-backports/universe Packages
100 /var/lib/dpkg/status

I have restarted Fresclam en I deed ldconfig and also reboot the machine
in total still this message

freshclam daemon 0.91.2 (OS: linux-gnu, ARCH: i386, CPU: i486)
ClamAV update process started at Sun May 4 21:28:41 2008
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.91.2 Recommended version: 0.93
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 46, sigs: 231834, f-level: 26, builder:
sven)
daily.inc is up to date (version: 7024, sigs: 45628, f-level: 26,
builder: ccordes)

clamscan and freshclam -V gives ClamAV 0.93/6688/Wed Apr 9 16:40:38 2008
whereis clamscan gives /usr/local/bin/clamscan
whereis freshclam gives /usr/bin/freshclam ( is this not odd )

If I do apt-get remove clamav Ubuntu gives message clamav not installed

If I do apt-get upgrade Ubuntu want to install the next

Reading state information... Klaar
De volgende pakketten zijn achtergehouden:
clamav-daemon clamav-freshclam
De volgende pakketten zullen opgewaardeerd worden:
ca-certificates
1 pakketten opgewaardeerd, 0 nieuwe pakketten geïnstalleerd, 0
verwijderen en 2 niet opgewaardeerd.
Er moeten 93,9kB aan archieven opgehaald worden.
Na het uitpakken zal er 0B extra schijfruimte gebruikt worden.
Wilt u doorgaan [J/n]? n
Afbreken.

Sorry but I am losing it alltough I think the solution is near.

Regards

Török Edwin schreef:
> webmaster[at]flfinancieel.nl wrote:
>
>> Try it once more,
>>
>> if I do apt-get update Ubuntu will install clamav version 0.91 and will
>> indeed downgrade this happened allready several times. Clamav is a part
>> of one of the resp of Ubuntu but I cannot find which one otherwise I
>> would simply uncomment that resp.
>>
>> And with apt-get upgrade it is or you upgrade everything or nothing at
>> least as far as I now.
>>
>>
> What is the output of:
> dpkg -l | grep clamav
> apt-cache policy clamav clamav-daemon libclamav3
>
>> It not such a big deal because I am building a new server with the
>> latest version of Ubuntu (hardy).
>>
>> And for good orders sake I am talking about a server and not the desktop
>> version of ubuntu.
>>
>> And this one I forgot I still have in de freshclam log this message
>> WARNING: Local version: 0.91.2 Recommended version: 0.93.
>>
>>
>
> You need to restart freshclam, you're still running the old version.
> Also run ldconfig.
>
> --Edwin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>


--
Frans Lieshout Financieel BV

BANJOSTRAAT 49
1312KB Almere
NEDERLAND

Tel : +31 (36) 5467722
Mobiel : +31 (6) 22406833

Web : http://www.flfinancieel.nl
Email :info[at]flfinancieel.nl

BTW NR :
812.54.43.16.B.01
KVK Lelystad : 39083803

De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoekt Frans Lieshout Financieel BV u contact op te nemen met de afzender.
Bovendien verzoekt Frans Lieshout Financieel BV u in dat geval deze e-mail te vernietigen en de inhoud aan niemand openbaar te maken.
Frans Lieshout Financieel BV aanvaardt geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mail, noch voor overgebrachte virussen.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 4, 2008, 11:55 PM

Post #14 of 16 (362 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

webmaster[at]flfinancieel.nl wrote:
> dpkg -l gives
>
>
> ii clamav-base
> 0.92.1~dfsg2-1.1~feisty1 anti-virus utility for Unix
> - base package
> ii clamav-daemon
> 0.91.2-3ubuntu2.3~feisty1 antivirus scanner daemon
> ii clamav-freshclam
> 0.91.2-3ubuntu2.3~feisty1 downloads clamav virus
> databases f rom the In
> ii libclamav2
> 0.91.2-3ubuntu2.3~feisty1 virus scanner library
> rc libclamav3
> 0.92.1~dfsg2-1.1~feisty1 anti-virus utility for Unix
> - libr ary
>
>

You need to remove these: apt-get remove clamav-base clamav-daemon
clamav-freshclam libclamav2 libclamav3

> whereis freshclam gives /usr/bin/freshclam ( is this not odd )
>

You still have freshclam from the Ubuntu package installed, the 'ii' in
dpkg -l says it is installed.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


webmaster at flfinancieel

May 5, 2008, 1:23 AM

Post #15 of 16 (363 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

Indeed you are right there is still a part of freshclam installed.

When I look into the dpkg log found this

2008-05-05 10:09:09 status unpacked libclamav2 0.91.2-3ubuntu2.3~feisty1
2008-05-05 10:09:09 status unpacked libclamav2 0.91.2-3ubuntu2.3~feisty1
2008-05-05 10:09:09 status unpacked libclamav2 0.91.2-3ubuntu2.3~feisty1
2008-05-05 10:09:09 status half-configured libclamav2
0.91.2-3ubuntu2.3~feisty1
2008-05-05 10:09:09 status installed libclamav2 0.91.2-3ubuntu2.3~feisty1

Also did apt-get remove clamav-base etc after that clamav, freshclam
would not start could not find shared lib libclamav2

Installed libclamav2 again and clamav starts up again but than with the
remark by fresclam wrong version.

Before I installed 0.93 i first did apt-get remove clamav and than went
manually through Ubuntu to remove all the files related to clamav
because apt-get does not remove all also not with auto remove.

Oke I did not check with the functions you gave me now (I am only a
short time user of Linux, but learning fast *-) ) so it seems that you
cannot be sure unless you check it with more than one function.

So how can I be sure that I remove all the stuff related to the old
installation.

Like to hear

Török Edwin schreef:
> webmaster[at]flfinancieel.nl wrote:
>
>> dpkg -l gives
>>
>>
>> ii clamav-base
>> 0.92.1~dfsg2-1.1~feisty1 anti-virus utility for Unix
>> - base package
>> ii clamav-daemon
>> 0.91.2-3ubuntu2.3~feisty1 antivirus scanner daemon
>> ii clamav-freshclam
>> 0.91.2-3ubuntu2.3~feisty1 downloads clamav virus
>> databases f rom the In
>> ii libclamav2
>> 0.91.2-3ubuntu2.3~feisty1 virus scanner library
>> rc libclamav3
>> 0.92.1~dfsg2-1.1~feisty1 anti-virus utility for Unix
>> - libr ary
>>
>>
>>
>
> You need to remove these: apt-get remove clamav-base clamav-daemon
> clamav-freshclam libclamav2 libclamav3
>
>
>> whereis freshclam gives /usr/bin/freshclam ( is this not odd )
>>
>>
>
> You still have freshclam from the Ubuntu package installed, the 'ii' in
> dpkg -l says it is installed.
>
> Best regards,
> --Edwin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>


--
Frans Lieshout Financieel BV

BANJOSTRAAT 49
1312KB Almere
NEDERLAND

Tel : +31 (36) 5467722
Mobiel : +31 (6) 22406833

Web : http://www.flfinancieel.nl
Email :info[at]flfinancieel.nl

BTW NR :
812.54.43.16.B.01
KVK Lelystad : 39083803

De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoekt Frans Lieshout Financieel BV u contact op te nemen met de afzender.
Bovendien verzoekt Frans Lieshout Financieel BV u in dat geval deze e-mail te vernietigen en de inhoud aan niemand openbaar te maken.
Frans Lieshout Financieel BV aanvaardt geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mail, noch voor overgebrachte virussen.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


webmaster at flfinancieel

May 6, 2008, 3:20 AM

Post #16 of 16 (345 views)
Permalink
Re: Clamav Updating on Ubuntu [In reply to]

Oke,

Once again delete everything which relates to clamd clamav clamscan and
freshclam after that dit a reboot

still

dpkg -l | grep clamav
rc clamav-daemon
0.91.2-3ubuntu2.3~feisty1 antivirus scanner daemon
rc clamav-freshclam
0.91.2-3ubuntu2.3~feisty1 downloads clamav virus
databases fr

but two are gone

clamscan -V whereis clamscan wheris freshclam dit not return any data so
decided to configure 0.93 once again

after starting clamav and freshclam the log gave this results

CLAMAV

+++ Started at Tue May 6 10:54:31 2008
clamd daemon 0.93 (OS: linux-gnu, ARCH: i386, CPU: i686)
Log file size limited to 12582912 bytes.
Reading databases from /var/lib/clamav
Loaded 231780 signatures.
LOCAL: Unix socket file /tmp/clamd.socket
LOCAL: Setting connection queue length to 15
Limits: Global size limit set to 104857600 bytes.
Limits: File size limit set to 26214400 bytes.
Limits: Recursion level limit set to 16.
Limits: Files limit set to 10000.
Archive support enabled.
Algorithmic detection enabled.
Portable Executable support enabled.
ELF support enabled.
Mail files support enabled.
OLE2 support enabled.
PDF support disabled.
HTML support enabled.
Self checking every 600 seconds.

FRESCLAM

Tue May 6 11:04:18 2008 -> freshclam daemon 0.93 (OS: linux-gnu, ARCH:
i386, CPU: i686)
Tue May 6 11:04:18 2008 -> ClamAV update process started at Tue May 6
11:04:18 2008
Tue May 6 11:04:18 2008 -> SECURITY WARNING: NO SUPPORT FOR DIGITAL
SIGNATURES
Tue May 6 11:04:18 2008 -> See the FAQ at
http://www.clamav.net/support/faq for an explanation.
Tue May 6 11:04:38 2008 -> Downloading main.cvd [100%]
Tue May 6 11:04:38 2008 -> main.cvd updated (version: 46, sigs: 231834,
f-level: 26, builder: sven)
Tue May 6 11:04:40 2008 -> Downloading daily.cvd [100%]
Tue May 6 11:04:40 2008 -> daily.cvd updated (version: 7040, sigs:
48318, f-level: 26, builder: ccordes)
Tue May 6 11:04:40 2008 -> Database updated (280152 signatures) from
database.clamav.net (IP: 217.19.16.188)

So it seems to go well, but no amavis claims to see a second installation.

May 6 11:10:17 myserver amavis[1200]: Found decoder for .exe at
/usr/bin/rar
May 6 11:10:17 myserver amavis[1200]: Using internal av scanner code
for (primary) ClamAV-clamd
May 6 11:10:17 myserver amavis[1200]: Using internal av scanner code
for (primary) check-jpeg
May 6 11:10:17 myserver amavis[1200]: Found secondary av scanner
ClamAV-clamscan at /usr/local/bin/clamscan
May 6 11:10:17 myserver amavis[1200]: Creating db in
/var/lib/amavis/db/; BerkeleyDB 0.31, libdb 4.4

I do not know if this something to worry about will digg into this later.

But what is suprising how ever that everything now is installed in
usr/local and etc/local directories. I think it all went wrong after I
did the upgrade which was announced by Ubuntu. I originally used the
howto perfect setup for a mailserver which also used the source code and
than configure instead of the apt-get.

Oke I will watch my log if the problem is gone now




Török Edwin schreef:
> webmaster[at]flfinancieel.nl wrote:
>
>> dpkg -l gives
>>
>>
>> ii clamav-base
>> 0.92.1~dfsg2-1.1~feisty1 anti-virus utility for Unix
>> - base package
>> ii clamav-daemon
>> 0.91.2-3ubuntu2.3~feisty1 antivirus scanner daemon
>> ii clamav-freshclam
>> 0.91.2-3ubuntu2.3~feisty1 downloads clamav virus
>> databases f rom the In
>> ii libclamav2
>> 0.91.2-3ubuntu2.3~feisty1 virus scanner library
>> rc libclamav3
>> 0.92.1~dfsg2-1.1~feisty1 anti-virus utility for Unix
>> - libr ary
>>
>>
>>
>
> You need to remove these: apt-get remove clamav-base clamav-daemon
> clamav-freshclam libclamav2 libclamav3
>
>
>> whereis freshclam gives /usr/bin/freshclam ( is this not odd )
>>
>>
>
> You still have freshclam from the Ubuntu package installed, the 'ii' in
> dpkg -l says it is installed.
>
> Best regards,
> --Edwin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>


--
Frans Lieshout Financieel BV

BANJOSTRAAT 49
1312KB Almere
NEDERLAND

Tel : +31 (36) 5467722
Mobiel : +31 (6) 22406833

Web : http://www.flfinancieel.nl
Email :info[at]flfinancieel.nl

BTW NR :
812.54.43.16.B.01
KVK Lelystad : 39083803

De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoekt Frans Lieshout Financieel BV u contact op te nemen met de afzender.
Bovendien verzoekt Frans Lieshout Financieel BV u in dat geval deze e-mail te vernietigen en de inhoud aan niemand openbaar te maken.
Frans Lieshout Financieel BV aanvaardt geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mail, noch voor overgebrachte virussen.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.