Author Topic: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)  (Read 3417 times)

goldp

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
After the Zentyal 6.2 upgrade, the Mailfilter and Antivirus components cannot be installed.
This is the error message:

"Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
zentyal-antivirus : Depends: libclamav9 (= 0.102.2+dfsg-0ubuntu0.18.04.1) but 0.102.3+dfsg-0ubuntu0.18.04.1 is to be installed
Depends: clamav (= 0.102.2+dfsg-0ubuntu0.18.04.1) but 0.102.3+dfsg-0ubuntu0.18.04.1 is to be installed
Depends: clamav-base (= 0.102.2+dfsg-0ubuntu0.18.04.1) but 0.102.3+dfsg-0ubuntu0.18.04.1 is to be installed
Depends: clamav-daemon (= 0.102.2+dfsg-0ubuntu0.18.04.1) but 0.102.3+dfsg-0ubuntu0.18.04.1 is to be installed
Depends: clamav-freshclam (= 0.102.2+dfsg-0ubuntu0.18.04.1) but 0.102.3+dfsg-0ubuntu0.18.04.1 is to be installed"

How could I solve this dependency error?

gwinton

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Same Problem here

I tried to purge Clamav and reinstall. Did not help

ivos

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +1/-0
    • View Profile
I have just create a bug report. So hopefully it is better to wait few days than creating some workaround.

mscfw

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +4/-0
    • View Profile
Quick & Dirty solution for me:

may not be required, but ...
backup of /var/lib/apt/lists/packages.zentyal.org_zentyal_dists_6.2_main_binary-amd64_Packages
backup of /var/lib/apt/lists/packages.zentyal.org_zentyal_dists_6.2_main_binary-i386_Packages

Update in both files the section "Package: zentyal-antivirus" by replacing all "(= 0.102.2+dfsg-0ubuntu0.18.04.1)" with "(>= 0.102.2+dfsg-0ubuntu0.18.04.1)"

backup of /var/lib/dpkg/status

Update also the section "Package: zentyal-antivirus" by replacing all "(= 0.102.2+dfsg-0ubuntu0.18.04.1)" with "(>= 0.102.2+dfsg-0ubuntu0.18.04.1)"

Do not run an apt-get clean/autoclean or whatever here.

After a reboot I could install AV and Mail Filter without any issues.

bye

Markus

goldp

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Thanks to Markus for the solution!
It worked for me, but only in the following way:

1. backup of /var/lib/apt/lists/packages.zentyal.org_zentyal_dists_6.2_main_binary-amd64_Packages
backup of /var/lib/apt/lists/packages.zentyal.org_zentyal_dists_6.2_main_binary-i386_Packages

2. Update in both files the section "Package: zentyal-antivirus" by replacing all "(= 0.102.2+dfsg-0ubuntu0.18.04.1)" with "(>= 0.102.2+dfsg-0ubuntu0.18.04.1)"

3. Restart the computer
4. Install the Zentyal antivirus and Mailfilter component from Zentyal web interface --> Error message

5. backup of /var/lib/dpkg/status
6. Update also the section "Package: zentyal-antivirus" by replacing all "(= 0.102.2+dfsg-0ubuntu0.18.04.1)" with "(>= 0.102.2+dfsg-0ubuntu0.18.04.1)"

7. sudo dpkg --configure -a


johan.badenhorst

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +3/-0
    • View Profile
I have done this, modules installed correctly, but my Zentyal Mail Filter module does not want to start.

Any ideas?

mscfw

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +4/-0
    • View Profile
Hi goldp,
you are right, if an installation is "pending" with an error, you have to fix it using "sudo dpkg --configure -a". Adding additional modules later should work without this step. Sorry, my fault.
bye
Markus

mscfw

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +4/-0
    • View Profile
Hi Johan,
had the same requirement, did work for me, Mail Filter is up and running.
Did you try an extra "sudo dpkg --configure -a"?
bye
Markus

johan.badenhorst

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +3/-0
    • View Profile
Hi mscfw,

Tried that. nothing happens.

actually re-installed via apt-get install --reinstall zentyal-mailfilter and still nothing. the Module status simply stays on "Stopped" and it does not accept mails from the mail system on the default or non-default port.

Any idea what log files can be checked to see why the service is not starting?

blorente

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 22
  • Karma: +72/-0
    • View Profile
Hi everyone,

We are already working on this, probably today or tomorrow we'll publish a fix.

Many thanks!
Zentyal Server Lead Developer

johan.badenhorst

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +3/-0
    • View Profile
Will moderators mark this thread as resolved once the fix is published?

raytracy

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« Reply #11 on: June 01, 2020, 05:16:48 am »
It seems no fix be published yet. I installed new 6.2 instance in yesterday and updated to latest package, but still got same problem with mailfilter and anti-virus until I fix it manually as above.

wirdo

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« Reply #12 on: June 02, 2020, 12:26:24 pm »
This doesn't only apply to 6.2.
I'm having the same issue with the latest update on 6.1.3 (running commercial)

The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zentyal-antivirus : Depends: libclamav9 (= 0.102.2+dfsg-0ubuntu0.18.04.1) but 0.102.3+dfsg-0ubuntu0.18.04.1 is to be installed
                     Depends: clamav (= 0.102.2+dfsg-0ubuntu0.18.04.1)
                     Depends: clamav-base (= 0.102.2+dfsg-0ubuntu0.18.04.1) but 0.102.3+dfsg-0ubuntu0.18.04.1 is to be installed
                     Depends: clamav-daemon (= 0.102.2+dfsg-0ubuntu0.18.04.1) but 0.102.3+dfsg-0ubuntu0.18.04.1 is to be installed
                     Depends: clamav-freshclam (= 0.102.2+dfsg-0ubuntu0.18.04.1) but 0.102.3+dfsg-0ubuntu0.18.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.



jtreml272

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« Reply #13 on: July 30, 2020, 03:05:14 pm »
Hi guys,

is there any progress? I just upgraded Zentyal to 6.2.3 but when I install Antivir 6.2.1 and Mail Filter 6.2.0 both modules are still "STOPPED". Do you have some workable solution ?

Thanks
Josef

doncamilo

  • Zen Samurai
  • ****
  • Posts: 478
  • Karma: +165/-1
    • View Profile
Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« Reply #14 on: August 03, 2020, 11:12:46 am »
 :)

Your issue hasn't the same origin than the old 6.1 packages bug. Did you check your system looking for broken packages? https://forum.zentyal.org/index.php/topic,35015.msg113743.html#msg113743

Cheers!
- Do my pigeons bother you passing over your land?
- They block the sun!

G. Guareschi., Don Camillo.,