Author Topic: Unable to update Antivirus component to 3.3.1  (Read 2461 times)

ff8jake

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +4/-0
    • View Profile
Unable to update Antivirus component to 3.3.1
« on: March 10, 2014, 05:48:25 pm »
Hello,

When I attempt to update the Antivirus component from 3.3 to 3.3.1 (on Zentyal 3.3 Community Edition) it fails. All other components have updated fine. My /var/log/zentyal/software.log shows the following:

Code: [Select]
2014-03-10 11:35:25> Zentyal apt-wrapper install started
2014-03-10 11:35:25> Reading package lists...
2014-03-10 11:35:26> Building dependency tree...
2014-03-10 11:35:26> Reading state information...
2014-03-10 11:35:26> Some packages could not be installed. This may mean that you have
2014-03-10 11:35:26> requested an impossible situation or if you are using the unstable
2014-03-10 11:35:26> distribution that some required packages have not yet been created
2014-03-10 11:35:26> or been moved out of Incoming.
2014-03-10 11:35:26> The following information may help to resolve the situation:
2014-03-10 11:35:26>
2014-03-10 11:35:26> The following packages have unmet dependencies:
2014-03-10 11:35:26>  zentyal-antivirus : Depends: libclamav-xs-perl but it is not installable
2014-03-10 11:35:26> E: Unable to correct problems, you have held broken packages.
2014-03-10 11:35:26> Zentyal apt-wrapper install finished

If I attempt to install libclamav-xs-perl by hand using apt-get install, I get the following:

Code: [Select]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libclamav-xs-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libclamav-xs-perl' has no installation candidate

I have updated apt and I haven't messed with the sources in this install. Does anyone have any ideas?

Thanks!


buaya-kun

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Unable to update Antivirus component to 3.3.1
« Reply #2 on: March 10, 2014, 06:35:56 pm »
here's my quick workaround:
  • download the libclamav-xs-perl from here:
    https://launchpad.net/~zentyal/+archive/3.2/+sourcepub/3956678/+listing-archive-extra
    get the .deb format according to your version of zentyal. for 32-bit, get the i386 version, the 64-bit get the amd64 version.
  • use sftp to upload that file to your home directory on the server
  • ssh to the server, go to your home directory, then execute accordingly:
    for 64-bit version: sudo dpkg -i libclamav-xs-perl_0.01_amd64.deb
    for 32-bit version: sudo dpkg -i libclamav-xs-perl_0.01_i386.deb
the package should be installed, then you can proceed to update tha antivirus module :)

ff8jake

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +4/-0
    • View Profile
Re: Unable to update Antivirus component to 3.3.1
« Reply #3 on: March 10, 2014, 06:43:29 pm »
https://forum.zentyal.org/index.php/topic,20933.msg80402.html#msg80402 :)
Not sure I understand what you are trying to say. Are you saying the package will be backported eventually, or that I should just wait for 3.4?

here's my quick workaround:
  • download the libclamav-xs-perl from here:
    https://launchpad.net/~zentyal/+archive/3.2/+sourcepub/3956678/+listing-archive-extra
    get the .deb format according to your version of zentyal. for 32-bit, get the i386 version, the 64-bit get the amd64 version.
  • use sftp to upload that file to your home directory on the server
  • ssh to the server, go to your home directory, then execute accordingly:
    for 64-bit version: sudo dpkg -i libclamav-xs-perl_0.01_amd64.deb
    for 32-bit version: sudo dpkg -i libclamav-xs-perl_0.01_i386.deb
the package should be installed, then you can proceed to update tha antivirus module :)

Awesome. The deb installed and the component updated without issues. Thanks!

papajulio

  • Zentyal Staff
  • Zen Monk
  • *****
  • Posts: 64
  • Karma: +6/-0
    • View Profile
Re: Unable to update Antivirus component to 3.3.1
« Reply #4 on: March 19, 2014, 05:03:03 pm »
This had been corrected on the 3.3 repo, sorry for the inconvenience.
--
Julio José García Martín - QA Engineer