[SOLVED] My ClamAV installation is saying its outdated Ubuntu 16.04 and I don't know how to update it
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.
How do I make it so I get updates when I update Ubuntu? Would reinstalling my antivirus do the job?
No, you have to add the "ubuntu - 16.04 - updates" repo to your repo list and then the first time INSTALL the ClamAV package, as provided BY that repo.
How do I make it so I get updates when I update Ubuntu?
Just keep doing what you've been doing. Whatever update method you've been using until now, you are doing it right, because your Clam is at the latest LTS (long-term support) version 0.100.3. Some users prefer the GUI software manager application (I forget what it's called in the menu; it's been a while since I used Ubuntu) while other users prefer terminal commands like:
0.100.3 was released March 26 and appeared in the 'xenial' repository on April 4. The Ubuntu developers take care of their users and have a reasonable response time (about 1 week in this case). Ubuntu LTS users get stable and secure LTS software; that's the beauty of it!
I’ve been updating ClamAV by cli for like 2 years now per instructions I got from Linux Lite OS’s site.
I'm confused.
You started this thread because you were seeking help about updating ClamAV. If you've been doing updates for two years from the cli, just keep doing what you've been doing. I don't understand what you're asking for help with, now.
To “@ehartman”
I don’t know how to do what you suggested. How do I add that line to my repo?
I do not know, I never had to do administer a ubuntu system and it's even been some 5 years
since I worked with people that had one.
The university I (used to) work for never supported ubuntu, so we didn't carry the repo's for it either. They do carry the iso's, so people can install it on their own laptops etc, but from then on they're on their own.
To "@scasey"
I just want my updates to be automatic.
Ok. That's a different question than you asked in your OP. I don't know ubuntu either.
You should be able to find specific instruction on the 'net about how ubuntu repositories work and how to use them, including how to add repositories to you configuration. Maybe start with the man pages? Usually a good place.
Generally speaking, one shouldn't mix methods for a given program. If you've been maintaining clamav manually, you'll (probably) need to remove it before you start maintaining it from the repos. Don't do that, of course, until you figure out how to use the repos to maintain it.
I forgot that Ubuntu update manager provides updates for said antivirus. I guess I should have stuck to documention for my distro.
To “@ehartman”
I don’t know how to do what you suggested. How do I add that line to my repo?
To "@scasey"
I just want my updates to be automatic.
I don't love these random instructions you are following. My two main reservations are: 1) 'sudo rm -rf' is dangerous; one typo and you're in serious trouble. 2) I don't understand the need to delete the log file; seems to me log files are a useful record of what's been done to your computer.
Please don't add any lines to your repos based on @ehartman's advice! They are well-intentioned but by their own admission are unfamiliar with Ubuntu. It is not good advice.
Regarding your "I just want my updates to be automatic" question, I can think of two easy ways: 1) You could make a 'crontab' job to run 'freshclam' at regular intervals. 2) You could write a simple bash script that combines 'freshclam' and 'clamscan' into a single command, so that every time you run the script, you are both updating and scanning with a single command.
Ok. That's a different question than you asked in your OP. I don't know ubuntu either.
You should be able to find specific instruction on the 'net about how ubuntu repositories work and how to use them, including how to add repositories to you configuration.
You're right. It is a different question than the one I asked in my OP. Maybe I should mark this thread as solved.
I don't love these random instructions you are following. My two main reservations are: 1) 'sudo rm -rf' is dangerous; one typo and you're in serious trouble. 2) I don't understand the need to delete the log file; seems to me log files are a useful record of what's been done to your computer.
Please don't add any lines to your repos based on @ehartman's advice! They are well-intentioned but by their own admission are unfamiliar with Ubuntu. It is not good advice.
Regarding your "I just want my updates to be automatic" question, I can think of two easy ways: 1) You could make a 'crontab' job to run 'freshclam' at regular intervals. 2) You could write a simple bash script that combines 'freshclam' and 'clamscan' into a single command, so that every time you run the script, you are both updating and scanning with a single command.
didn't work. It hasn't since the first time I ran it I think. I'll take that word of warning about adding lines to my repos. On another note, I don't know if I'm ready to make a 'crontab" or write a script. I ran the rm -rf command all these years without even thinking about what it did. I agree log files can be useful. I've heard caution in this thread about updating the way I've been doing it. Is there any downside to making crontab or a bash script?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.