debian-volatile not working (Ubuntu 10.04 LTS) Clamav update
I installed Clamav on my server, and as part of the setup, I added the following line to my sources.list file:
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
However, each time do an apt-get update, it is unable to update from the volatile library.````
root@myhost:/home/me# apt-get update
Get:1 http://us.archive.ubuntu.com lucid Release.gpg [189B]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-enUS
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-enUS
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-enUS
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-enUS
Get:2 http://us.archive.ubuntu.com lucid-updates Release.gpg [198B]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-enUS
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-enUS
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-enUS
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-enUS
Get:3 http://us.archive.ubuntu.com lucid Release [57.2kB]
Get:4 http://us.archive.ubuntu.com lucid-updates Release [58.3kB]
Get:5 http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-enUS
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-enUS
Get:6 http://us.archive.ubuntu.com lucid/main Packages [1,386kB]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-enUS
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-enUS
Get:7 http://security.ubuntu.com lucid-security Release [57.3kB]
Get:8 http://volatile.debian.org lenny/volatile Release.gpg [7,406B]
Get:9 http://volatile.debian.org/debian-volatile/ lenny/volatile/main Translation-enUS [7,406B]
Get:10 http://volatile.debian.org/debian-volatile/ lenny/volatile/contrib Translation-enUS [7,406B]
16% [9 Translation-enUS bzip2 0B] [Waiting for headers] [6 Packages 115kB/1,38b zip2: (stdin) is not a bzip2 file.
Ign http://volatile.debian.org/debian-volatile/ lenny/volatile/main Translation-enUS
Get:11 http://volatile.debian.org/debian-volatile/ lenny/volatile/non-free Translation-enUS [7,406B]
17% [10 Translation-enUS bzip2 0B] [6 Packages 115kB/1,386kB 8%] [7 Release 18b zip2: (stdin) is not a bzip2 file.
Ign http://volatile.debian.org/debian-volatile/ lenny/volatile/contrib Translation-enUS
16% [11 Translation-enUS bzip2 0B] [Connecting to volatile.debian.org (128.31.b zip2: (stdin) is not a bzip2 file.
Ign http://volatile.debian.org/debian-volatile/ lenny/volatile/non-free Translation-en_US
Get:12 http://volatile.debian.org lenny/volatile Release [7,406B]
Ign http://volatile.debian.org lenny/volatile Release
Get:13 http://volatile.debian.org lenny/volatile/main Packages [7,406B]
77% [13 Packages bzip2 0B] [6 Packages 1,041kB/1,386kB 75%] [Waiting for headerb zip2: (stdin) is not a bzip2 file.
Err http://volatile.debian.org lenny/volatile/main Packages
Sub-process /bin/bzip2 returned an error code (2)
Get:14 http://security.ubuntu.com lucid-security/main Packages [426kB]
Get:15 http://us.archive.ubuntu.com lucid/restricted Packages [6,208B]
Get:16 http://us.archive.ubuntu.com lucid/main Sources [659kB]
Get:17 http://us.archive.ubuntu.com lucid/restricted Sources [3,775B]
Get:18 http://us.archive.ubuntu.com lucid/universe Packages [5,448kB]
Get:19 http://volatile.debian.org lenny/volatile/contrib Packages [7,406B]
Get:20 http://volatile.debian.org lenny/volatile/non-free Packages [7,406B]
Get:21 http://us.archive.ubuntu.com lucid/universe Sources [3,165kB]
Get:22 http://us.archive.ubuntu.com lucid/multiverse Packages [180kB]
Get:23 http://us.archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:24 http://us.archive.ubuntu.com lucid-updates/main Packages [626kB]
Get:25 http://us.archive.ubuntu.com lucid-updates/restricted Packages [4,617B]
Get:26 http://us.archive.ubuntu.com lucid-updates/main Sources [225kB]
Get:27 http://us.archive.ubuntu.com lucid-updates/restricted Sources [2,194B]
Get:28 http://us.archive.ubuntu.com lucid-updates/universe Packages [273kB]
Get:29 http://us.archive.ubuntu.com lucid-updates/universe Sources [101kB]
Get:30 http://us.archive.ubuntu.com lucid-updates/multiverse Packages [11.5kB]
Get:31 http://us.archive.ubuntu.com lucid-updates/multiverse Sources [5,818B]
99% [19 Packages bzip2 0B] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Err http://volatile.debian.org lenny/volatile/contrib Packages
Sub-process /bin/bzip2 returned an error code (2)
99% [20 Packages bzip2 0B] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Err http://volatile.debian.org lenny/volatile/non-free Packages
Sub-process /bin/bzip2 returned an error code (2)
Get:32 http://security.ubuntu.com lucid-security/restricted Packages [2,855B]
Get:33 http://security.ubuntu.com lucid-security/main Sources [127kB]
Get:34 http://security.ubuntu.com lucid-security/restricted Sources [1,259B]
Get:35 http://security.ubuntu.com lucid-security/universe Packages [133kB]
Get:36 http://security.ubuntu.com lucid-security/universe Sources [40.7kB]
Get:37 http://security.ubuntu.com lucid-security/multiverse Packages [5,370B]
Get:38 http://security.ubuntu.com lucid-security/multiverse Sources [2,316B]
Fetched 13.2MB in 6s (2,008kB/s)
W: GPG error: http://volatile.debian.org lenny/volatile Release: The following signatures were invalid: NODATA 1 NODATA 2
W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/main/binary-i386/Packages.bz2 Sub-process /bin/bzip2 returned an error code(2)
W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/contrib/binary-i386/Packages.bz2 Sub-process /bin/bzip2 returned an error code (2)
W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/non-free/binary-i386/Packages.bz2 Sub-process /bin/bzip2 returned an error code (2)
E: Some index files failed to download, they have been ignored, or old ones used instead.
````
My understanding is that as a result, my virus definitions are not being updated, and the Clamav engine is out of date.
Has anyone else got this problem? If so, how is it fixed?
Cheers,
Nap
11 Replies
@Napoleon:
Hi,
I installed Clamav on my server, and as part of the setup, I added the following line to my sources.list file:
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
So you're running Debian Lenny?
No?
Then DO NOT USE PACKAGES FROM DEBIAN. Never. Just because a baby will fit inside a microwave oven doesn't mean it's a good idea.
… so what's wrong the Clamav packages included with Ubuntu 10.04 LTS?
If using lenny/volatile is the wrong thing, you could perhaps tell me (thus making your post useful) what is the right one?
But the real issue is that my Clamav is not updating (read the bottom part of my OP).
apt-get purge clamav
vi /etc/apt/sources.list
delete any line containing 'debian'
apt-get update
apt-get upgrade
apt-cache policy clamav
ensure the candidate is 0.96.5+dfsg-1ubuntu1.10.04.4
apt-get install clamav
````
I would try this on a non-production system first, though, since it's likely there will be some configuration mishaps.
The guide I was following indicated that I need to use a Volatile repositry which contains the updates for the definitions and engine as they are released outside of the normal cycle.
Since my Ubuntu is based on debian squeeze, I figured debian lenny would be fine (obviously I was wrong). Do I need to add a new source to my sources.list file to be able to retrieve the definition/engine updates as they come out?
Cheers,
Nap
In addition to not mixing package between distros (which is a recipe for disaster – hence hoopycat's freaking out), Lenny was EoLed in February -- don't use it. Your attempts to fetch Lenny files failed because they have all been moved to the archive.
deb http://archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
needed to be added to my sources.list file.
To control what gets updated through the backports repositry when using apt-get, view UbuntuBackports
I would like to test my install now but am not quite sure how. I've read about the "EICAR-AV-Test" file, but how do I make use of it?
My workstation here has virus protection, so it will block me from sending it. Do I turn off my virus scanner and send the file to a mail account my server as an attachment? Or is there another way of doing it via a command on my server?
Any links to a practical test guide would be appreciated?
Cheers,
Nap
@Napoleon:
Since my Ubuntu is based on debian squeeze, I figured debian lenny would be fine
guides on how to configure something in debian will often be okay on ubuntu (ie change this setting in this conf file), but installation? Never.
@Napoleon:
cheers, I do understand the gravity of the situation.
Just wanted to make sure. I apologize for being more caustic than I usually want to be!
@hoopycat:
I apologize for being more caustic than I usually want to be!
Don't say that tooo loud, or they won't let you visit NYC.
@vonskippy:
@hoopycat:I apologize for being more caustic than I usually want to be!
Don't say that tooo loud, or they won't let you visit NYC.
:lol:
It's all working now. I'm using cron to do the freshclam updates and periodic scans.