clamav-docs

2 replies [Last post]
ao
ao
Offline
Joined: 07/20/2017

Dear fellow Trisquel users,

There might be an issue with clamav-docs.

After installing clamav-docs (sudo apt install clamav-docs):
---
Preparing to unpack .../clamav-docs_0.103.12+dfsg-0ubuntu0.22.04.1_all.deb ...
Unpacking clamav-docs (0.103.12+dfsg-0ubuntu0.22.04.1) ...
Setting up clamav-docs (0.103.12+dfsg-0ubuntu0.22.04.1) ...
Processing triggers for doc-base (0.11.1) ...
Processing 1 added doc-base file...
Error in `/usr/share/doc-base/clamav-docs.clamav-docs', line 9: all `Format' sections are invalid.
Note: `install-docs --verbose --check file_name' may give more details about the above error.
---
Thank you.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

That line 9 is:
$ sed -n 9p /usr/share/doc-base/clamav-docs.clamav-docs
Files: /usr/share/doc/clamav-docs/html/UserManual/*.html

/usr/share/doc/clamav-docs/html/UserManual does not exist, hence the error:
$ ls /usr/share/doc/clamav-docs/html/UserManual
ls: cannot access '/usr/share/doc/clamav-docs/html/UserManual': No such file or directory

I guess the structure of the HTML manual has changed and that the last two lines in /usr/share/doc-base/clamav-docs.clamav-docs should become:
Index: /usr/share/doc/clamav-docs/html/index.html
Files: /usr/share/doc/clamav-docs/html/manual/*.html

In http://security.ubuntu.com/ubuntu/pool/main/c/clamav/clamav-docs_0.103.12+dfsg-0ubuntu0.22.04.1_all.deb that file and the HTML manual are identical. As a consequence, I believe Ubuntu 22.04 (on which Trisquel 11 is based) suffers from the same bug: it had better be reported there. That said, it looks insignificant and the package in Ubuntu 22.04 (on which Trisquel 12 will be based) does not even include the file anymore: http://security.ubuntu.com/ubuntu/pool/main/c/clamav/clamav-docs_1.0.7+dfsg-0ubuntu0.24.04.1_all.deb

ao
ao
Offline
Joined: 07/20/2017

Thank you!