Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently installed clamav, and clamav-getfiles happens to be stuck, or is a bad package. The timer just keeps going. I cannot do anything that I can think of to get rid of it, or find a good replacement. Can anyone plese help?
I'm using Natty Narwhal-Gnome Version: 2.32.1
sudo dpkg --configure -a
Setting up clamav-getfiles (2.0-6) ...
eicar.com md5sum mismatch, file needs downloading
curl --remote-name http://www.eicar.org/download/eicar.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:03:15 --:--:-- 0
Last edited by BabyGirlsVet; 07-03-2011 at 03:09 PM.
Reason: Add version
I recently installed clamav, and clamav-getfiles happens to be stuck, or is a bad package.
As far as I understand your problem is with /usr/bin/update-eicar. If I understand it correctly the "clamav-getfiles" package builds a .deb file you can share and install. It uses "freshclam" which is the only thing you need if you have a (semi-)permanent network connection. You only need the "clamav-getfiles" package if you administer systems that have no (permanent) network connections. I'd suggest you just run 'freshclam'. If that updates your .cvd files then you can remove "clamav-getfiles".
Quote:
Originally Posted by andrewthomas
For future reference, you should have just edited your initial post.
For future reference please do not correct fellow members without addressing the actual question.
I can't un/install anything because of this! How do I remove it???? The timer continues!!
sudo dpkg --configure -a
Setting up clamav-getfiles (2.0-6) ...
eicar.com md5sum mismatch, file needs downloading
curl --remote-name http://www.eicar.org/download/eicar.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 2:05:02 --:--:-- 0
It didn't work. I tried it before the --config -a, as well as running it & your command in a different tab. I closed the tab w/--config -a, and re ran it to see if it did kill it. The timer continues.
sudo pkill -9 -f update-eicar
Killed
sudo dpkg --configure -a
Setting up clamav-getfiles (2.0-6) ...
eicar.com md5sum mismatch, file needs downloading
curl --remote-name http://www.eicar.org/download/eicar.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0
Last edited by BabyGirlsVet; 07-03-2011 at 05:46 PM.
OK, so we prolly need to kill the parent process. Unless anyone has any better ideas like listing $PPID, to find out please post output of 'sudo ps axf' or less nfo: 'sudo ps xf -eo pid,cmd -U root -u root --no-header 2>&1|egrep -ve "(\_[[:blank:]]\[k|\[.*[0,1]\])";'.
sudo ps axf' or less nfo: 'sudo ps xf -eo pid,cmd -U root -u root --no-header 2>&1|egrep -ve "(\_[[:blank:]]\[k|\[.*[0,1]\])";
ERROR: Unsupported option (BSD syntax)
********* simple selection ********* ********* selection by list *********
-A all processes -C by command name
-N negate selection -G by real group ID (supports names)
-a all w/ tty except session leaders -U by real user ID (supports names)
-d all except session leaders -g by session OR by effective group name
-e all processes -p by process ID
T all processes on this terminal -s processes in the sessions given
a all w/ tty, including other users -t by tty
g OBSOLETE -- DO NOT USE -u by effective user ID (supports names)
r only running processes U processes for specified users
x processes w/o controlling ttys t by tty
*********** output format ********** *********** long options ***********
-o,o user-defined -f full --Group --User --pid --cols --ppid
-j,j job control s signal --group --user --sid --rows --info
-O,O preloaded -o v virtual memory --cumulative --format --deselect
-l,l long u user-oriented --sort --tty --forest --version
-F extra full X registers --heading --no-heading --context
********* misc options *********
-V,V show version L list format codes f ASCII art forest
-m,m,-L,-T,H threads S children in sum -y change -l format
-M,Z security data c true command name -c scheduling class
-w,w wide output n numeric WCHAN,UID -H process hierarchy
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.