Re: [clamav-users] Can't Install ClamAV

2018-02-02 Thread Reindl Harald



Am 02.02.2018 um 12:27 schrieb Paul B.:

Hi guys,

I  had ClamAV up and running fine, but there was a problem and I had
to restore the system from an earlier image. Everything is running
fine, but now I can't install ClamAV.

The system is MX Linux 17 (Debian 9.3) x64. I tried installing from
the MX repo, which has CAV 99.2, and got the following error:

E: clamav-base: subprocess installed post-installation script returned
error exit status 1
E: clamav-freshclam: dependency problems - leaving unconfigured
E: clamav: dependency problems - leaving unconfigured
E: clamtk: dependency problems - leaving unconfigured


ask your distribution or use one with no broken repos


So I then tried to install 99.3 from the download. /configure went
fine, but 'make' and 'make install' returned errors. I posted the
error file at https://drive.google.com/open?id=1OEoMxiqiYzGZxHwKpbIMiq0TL-w7EB0C

Consequently when I tried a scan:

$ clamscan
LibClamAV Error: cli_loaddbdir(): No supported database files found in
/var/lib/clamav
ERROR: Can't open file or directory

If anyone can advise how to get this working again it would be much appreciated


how about freshclam and create /var/lib/clamav
/var/lib/clamav contains the signatures
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] Can't Install ClamAV

2018-02-02 Thread Paul B.
Thanks for the responses.

> ask your distribution or use one with no broken repos

This distro worked fine with Clam before I had a video driver problem.
Restoring from image should have taken me back to safe ground, but for
some reason it hasn't. I can ask at the distro, but I don't readily
see how any lack in their repo caused this.


> Try the below steps and let me know how it goes.

> wget http://database.clamav.net/main.cvd
> sudo cp main.cvd /var/lib/clamav
> wget http://database.clamav.net/daily.cvd
> sudo cp daily.cvd /var/lib/clamav

> restart the freshclam
> restart the clamd

I don't use clamd, and I didn't restart freshclam, but it seems like
this worked! I did a couple of command line scans, and I used clamtk
via the file manager, and all seems well. Awesome!

Thanks much!
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Can't Install ClamAV

2018-02-02 Thread Vijayakumar U
Try the below steps and let me know how it goes.

wget http://database.clamav.net/main.cvd
sudo cp main.cvd /var/lib/clamav
wget http://database.clamav.net/daily.cvd
sudo cp daily.cvd /var/lib/clamav

restart the freshclam
restart the clamd




On 2 February 2018 at 17:39, Reindl Harald  wrote:

>
>
> Am 02.02.2018 um 12:27 schrieb Paul B.:
>
>> Hi guys,
>>
>> I  had ClamAV up and running fine, but there was a problem and I had
>> to restore the system from an earlier image. Everything is running
>> fine, but now I can't install ClamAV.
>>
>> The system is MX Linux 17 (Debian 9.3) x64. I tried installing from
>> the MX repo, which has CAV 99.2, and got the following error:
>>
>> E: clamav-base: subprocess installed post-installation script returned
>> error exit status 1
>> E: clamav-freshclam: dependency problems - leaving unconfigured
>> E: clamav: dependency problems - leaving unconfigured
>> E: clamtk: dependency problems - leaving unconfigured
>>
>
> ask your distribution or use one with no broken repos
>
> So I then tried to install 99.3 from the download. /configure went
>> fine, but 'make' and 'make install' returned errors. I posted the
>> error file at https://drive.google.com/open?
>> id=1OEoMxiqiYzGZxHwKpbIMiq0TL-w7EB0C
>>
>> Consequently when I tried a scan:
>>
>> $ clamscan
>> LibClamAV Error: cli_loaddbdir(): No supported database files found in
>> /var/lib/clamav
>> ERROR: Can't open file or directory
>>
>> If anyone can advise how to get this working again it would be much
>> appreciated
>>
>
> how about freshclam and create /var/lib/clamav
> /var/lib/clamav contains the signatures
>
> ___
> clamav-users mailing list
> clamav-users@lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>



-- 
Cheers,
Vijay.
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Can't Install ClamAV

2018-02-02 Thread Kris Deugau

Paul B. wrote:

Ok, I got the same errors from Synaptics upon trying to install a
completely unrelated program:

E: clamav-base: subprocess installed post-installation script returned
error exit status 1
E: clamav-freshclam: dependency problems - leaving unconfigured
E: clamav: dependency problems - leaving unconfigured
E: clamtk: dependency problems - leaving unconfigured


You have these packages partially installed, and likely won't be able to 
install or upgrade any others until their status is cleaned up.


Synaptic should be able to show you enough information to track down the 
missing dependencies, or allow you to uninstall them.  Note that this 
may break your installed-from-source working ClamAV, depending on where 
it was installed.



Upon rebooting, I tried to reinstall ClamAv, freshclam, clambase, and
clamtk through Synaptics:

Attempt to reinstall freshclam, clambase, and clamtk:

E: Internal Error, No file name for clamav-base:amd64
E: Internal Error, No file name for clamav-freshclam:amd64
E: Internal Error, No file name for clamav:amd64


Something is wrong with the recordkeeping in the package system.

You should probably take this up with a list for your specific Debian 
derivative, or possibly ask on the main Debian users list.  This is just 
a problem that happens to be triggering on the ClamAV packages, not a 
ClamAV problem.


-kgd
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] Can't Install ClamAV

2018-02-02 Thread Paul B.
Ok, I got the same errors from Synaptics upon trying to install a
completely unrelated program:

E: clamav-base: subprocess installed post-installation script returned
error exit status 1
E: clamav-freshclam: dependency problems - leaving unconfigured
E: clamav: dependency problems - leaving unconfigured
E: clamtk: dependency problems - leaving unconfigured

Upon rebooting, I tried to reinstall ClamAv, freshclam, clambase, and
clamtk through Synaptics:

Attempt to reinstall freshclam, clambase, and clamtk:

E: Internal Error, No file name for clamav-base:amd64
E: Internal Error, No file name for clamav-freshclam:amd64
E: Internal Error, No file name for clamav:amd64

I'm sure there was an error for clamtk as well, but I don't see it in my notes.

ClamAV still seems to work on demand from the command line. And ClamTK
seems to work as well. But I doubt the database is updating, and these
persistent errors are a problem.

Any insight?

Thanks!
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Can't Install ClamAV

2018-02-02 Thread Reindl Harald



Am 03.02.2018 um 05:29 schrieb Paul B.:

(Sorry to keep breaking threading. I'm on digest here, and I know of
no way to Reply directly to a post.)


Keep in mind that Debian itself cherry-picked the relevant fixes
into a patch update to 0.99.2.  If you are on Debian stable or a
direct derivative of stable, and have at least 0.99.2+dfsg-6+deb9u1,
then you have all the security fixes included in 0.99.3.



Scott K


Ok, cool. In any case, no version was going to install on the old OS.
I'm now up in the new install, and one of the first things I did was
install Clam, and it was successful


your decision but i would have asked on a distribution forum to get the 
root cause fixed


after 15 years Fedora everywhere with more than 600 dist-upgrades you 
can imagine the row number of dependecy problems but to re-install a 
system? never ever and when .deb can get a state where you need this 
because fix some isue with the package database takes more than 5 
minutes switch to something serious - but i doubt that is the case


on rpm systems:
rpm -qa | grep clamav
rpm -e --nodpes clampackage1 clampackage2
dnf install clam.
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] Can't Install ClamAV

2018-02-02 Thread Paul B.
> Synaptic should be able to show you enough information to track down the
> missing dependencies, or allow you to uninstall them.  Note that this
> may break your installed-from-source working ClamAV, depending on where
> it was installed.

> Something is wrong with the recordkeeping in the package system.

> You should probably take this up with a list for your specific Debian
> derivative, or possibly ask on the main Debian users list.  This is just
> a problem that happens to be triggering on the ClamAV packages, not a
> ClamAV problem.

> -kgd

Ok, thanks. I did the Synaptic uninstall, and it did break the manual
install. I've asked over at MX Linux and will see if they have any
insight.

Paul
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Can't Install ClamAV

2018-02-02 Thread Scott Kitterman


On February 2, 2018 9:14:04 PM UTC, "Paul B."  wrote:
>> Synaptic should be able to show you enough information to track down
>the
>> missing dependencies, or allow you to uninstall them.  Note that this
>> may break your installed-from-source working ClamAV, depending on
>where
>> it was installed.
>
>> Something is wrong with the recordkeeping in the package system.
>
>> You should probably take this up with a list for your specific Debian
>> derivative, or possibly ask on the main Debian users list.  This is
>just
>> a problem that happens to be triggering on the ClamAV packages, not a
>> ClamAV problem.
>
>> -kgd
>
>Ok, thanks. I did the Synaptic uninstall, and it did break the manual
>install. I've asked over at MX Linux and will see if they have any
>insight.

You can't mix distro packages and builds from upstream source on the same 
system.  If you're going to switch from one to the other, you have to uninstall.

Scott K
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Can't Install ClamAV

2018-02-02 Thread Al Varnell
On Fri, Feb 02, 2018 at 06:06 PM, Paul B. wrote:
>> You can't mix distro packages and builds from upstream source
>> on the same system.  If you're going to switch from one to the
>> other, you have to uninstall.
> 
>> Scott K
> 
> That's initially what I did. I was going to avoid 99.3 because of some
> problems reported here, so I went with 99.2 in the repo. It failed. So
> something was wrong with the system before anything was done. Others
> have tried to install 99.2 for my benefit and it went fine. So their
> advice is to reinstall the OS, which I'm going to do.
> 
> Paul


There may be some confusion on your part with regard to 99.3. There were two 
beta releases of 0.99.3 which have been discussed here over several months, but 
have now been withdrawn in order to release a different 0.99.3 which is almost 
only a security release with a couple of minor bug fixes. AFAIK, there have 
been no major issues with that release beyond installation problems such as you 
are having. 

I suspect the right answer in your case is to pressure the OS distributor to 
quickly integrate the current 0.99.3 release into something you can install 
ASAP, before those now public vulnerabilities can be exploited.

-Al-
-- 
Al Varnell
Mountain View, CA




___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Can't Install ClamAV

2018-02-02 Thread Scott Kitterman


On February 3, 2018 3:09:29 AM UTC, Al Varnell  wrote:
>On Fri, Feb 02, 2018 at 06:06 PM, Paul B. wrote:
>>> You can't mix distro packages and builds from upstream source
>>> on the same system.  If you're going to switch from one to the
>>> other, you have to uninstall.
>> 
>>> Scott K
>> 
>> That's initially what I did. I was going to avoid 99.3 because of
>some
>> problems reported here, so I went with 99.2 in the repo. It failed.
>So
>> something was wrong with the system before anything was done. Others
>> have tried to install 99.2 for my benefit and it went fine. So their
>> advice is to reinstall the OS, which I'm going to do.
>> 
>> Paul
>
>
>There may be some confusion on your part with regard to 99.3. There
>were two beta releases of 0.99.3 which have been discussed here over
>several months, but have now been withdrawn in order to release a
>different 0.99.3 which is almost only a security release with a couple
>of minor bug fixes. AFAIK, there have been no major issues with that
>release beyond installation problems such as you are having. 
>
>I suspect the right answer in your case is to pressure the OS
>distributor to quickly integrate the current 0.99.3 release into
>something you can install ASAP, before those now public vulnerabilities
>can be exploited.

Keep in mind that Debian itself cherry-picked the relevant fixes into a patch 
update to 0.99.2.  If you are on Debian stable or a direct derivative of 
stable, and have at least 0.99.2+dfsg-6+deb9u1, then you have all the security 
fixes included in 0.99.3.

Scott K
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] Can't Install ClamAV

2018-02-02 Thread Paul B.
(Sorry to keep breaking threading. I'm on digest here, and I know of
no way to Reply directly to a post.)



> Keep in mind that Debian itself cherry-picked the relevant fixes
> into a patch update to 0.99.2.  If you are on Debian stable or a
> direct derivative of stable, and have at least 0.99.2+dfsg-6+deb9u1,
> then you have all the security fixes included in 0.99.3.

> Scott K

Ok, cool. In any case, no version was going to install on the old OS.
I'm now up in the new install, and one of the first things I did was
install Clam, and it was successful.

Thanks to everyone for your help!

Paul
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] Can't Install ClamAV

2018-02-02 Thread Paul B.
> You can't mix distro packages and builds from upstream source
> on the same system.  If you're going to switch from one to the
> other, you have to uninstall.

> Scott K

That's initially what I did. I was going to avoid 99.3 because of some
problems reported here, so I went with 99.2 in the repo. It failed. So
something was wrong with the system before anything was done. Others
have tried to install 99.2 for my benefit and it went fine. So their
advice is to reinstall the OS, which I'm going to do.

Paul
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Can't Install ClamAV

2018-02-02 Thread Reindl Harald



Am 02.02.2018 um 22:14 schrieb Paul B.:

Ok, thanks. I did the Synaptic uninstall, and it did break the manual
install. I've asked over at MX Linux and will see if they have any
insight
WTF - and *that* is the reason that you either use packages or handbuilt 
stuff and even if you build from sources you should lern how to wrap it 
in packages


how do you imagine the package management to know anything about "the 
manual install" - it's a database which keeps track about installed 
files, folders and permissions and if you collide with manual stuff and 
package files you are asking for troubles from the very begin


to say it clear:

when ever you decide to switch from packages to self compiled or in the 
other direction you have first to cleanup and remove any existing fragment


and that's why when you have problems with distribution packages the 
upstream mailing list and manual magngle around instead consult your 
distribution channels is wrong

___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] Can't Install ClamAV

2018-02-02 Thread Paul B.
Hi guys,

I  had ClamAV up and running fine, but there was a problem and I had
to restore the system from an earlier image. Everything is running
fine, but now I can't install ClamAV.

The system is MX Linux 17 (Debian 9.3) x64. I tried installing from
the MX repo, which has CAV 99.2, and got the following error:

E: clamav-base: subprocess installed post-installation script returned
error exit status 1
E: clamav-freshclam: dependency problems - leaving unconfigured
E: clamav: dependency problems - leaving unconfigured
E: clamtk: dependency problems - leaving unconfigured

So I then tried to install 99.3 from the download. /configure went
fine, but 'make' and 'make install' returned errors. I posted the
error file at https://drive.google.com/open?id=1OEoMxiqiYzGZxHwKpbIMiq0TL-w7EB0C

Consequently when I tried a scan:

$ clamscan
LibClamAV Error: cli_loaddbdir(): No supported database files found in
/var/lib/clamav
ERROR: Can't open file or directory

If anyone can advise how to get this working again it would be much appreciated.

Paul
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml