CLAMAV

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
user1213213
Posts: 21
Joined: 2024-10-25 13:17
Has thanked: 5 times

CLAMAV

#1 Post by user1213213 »

Code: Select all

sudo apt install clamav
Returns:

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  libdbus-glib-1-2
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  clamav-base clamav-freshclam libclamav11
Suggested packages:
  libclamunrar clamav-docs libclamunrar11
The following NEW packages will be installed:
  clamav clamav-base clamav-freshclam libclamav11
0 upgraded, 4 newly installed, 0 to remove and 38 not upgraded.
Need to get 12,4 MB of archives.
After this operation, 62,1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://deb.debian.org/debian bookworm/main amd64 clamav-base all 1.0.5+dfsg-1~deb12u1
Err:2 http://deb.debian.org/debian bookworm/main amd64 libclamav11 amd64 1.0.5+dfsg-1~deb12u1
  404  Not Found [IP: 2a04:4e42:14::644 80]
Err:3 http://deb.debian.org/debian bookworm/main amd64 clamav-freshclam amd64 1.0.5+dfsg-1~deb12u1
  404  Not Found [IP: 2a04:4e42:14::644 80]
Err:4 http://deb.debian.org/debian bookworm/main amd64 clamav amd64 1.0.5+dfsg-1~deb12u1
  404  Not Found [IP: 2a04:4e42:14::644 80]
Err:1 http://deb.debian.org/debian bookworm/main amd64 clamav-base all 1.0.5+dfsg-1~deb12u1
  404  Not Found [IP: 2a04:4e42:14::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/clamav/clamav-base_1.0.5%2bdfsg-1%7edeb12u1_all.deb  404  Not Found [IP: 2a04:4e42:14::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/clamav/libclamav11_1.0.5%2bdfsg-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:14::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/clamav/clamav-freshclam_1.0.5%2bdfsg-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:14::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/clamav/clamav_1.0.5%2bdfsg-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:14::644 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

lindi
Debian Developer
Debian Developer
Posts: 571
Joined: 2022-07-12 14:10
Has thanked: 2 times
Been thanked: 114 times

Re: CLAMAV

#2 Post by lindi »

Run

Code: Select all

apt update
as suggested in the output.

user1213213
Posts: 21
Joined: 2024-10-25 13:17
Has thanked: 5 times

Re: CLAMAV

#3 Post by user1213213 »

I get the same error message even with

Code: Select all

apt update
as root

arzgi
Posts: 1408
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 56 times

Re: CLAMAV

#4 Post by arzgi »

Those are network errors, is your computer online?

Try in terminal

Code: Select all

arto@dell:~$ ping debian.org
PING debian.org (151.101.194.132) 56(84) bytes of data.
64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=1 ttl=60 time=1.94 ms
64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=2 ttl=60 time=2.00 ms
^X64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=3 ttl=60 time=2.27 ms
^C
--- debian.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.940/2.067/2.265/0.141 ms

user1213213
Posts: 21
Joined: 2024-10-25 13:17
Has thanked: 5 times

Re: CLAMAV

#5 Post by user1213213 »

Pinging works and my computer's online. Samba installs fine.

Code: Select all

sudo apt install samba
So something must be wrong with Clamav ...

User avatar
blackbird
Posts: 90
Joined: 2023-08-17 04:42
Has thanked: 3 times
Been thanked: 19 times

Re: CLAMAV

#6 Post by blackbird »

The current version of clamav is "clamav amd64 1.0.7+dfsg-1~deb12u1" - the error code 404 is no network problem, it means the file is not available (since your system tries to download an old version).

This sounds like a problem that sometime happens where "apt update" don't updates any more without showing errors since some files of it's cache have wrong timestamps. I hope someone here remembers which files have to be deleted.

User avatar
bw123
Posts: 4046
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 33 times

Re: CLAMAV

#7 Post by bw123 »

* #1078608 [i| | ] [apt] apt update silently leaves old index data
https://bugs.debian.org/cgi-bin/bugrepo ... ug=1078608
resigned by AI ChatGPT

Post Reply