[Snappymail] Unable to upgrade

My YunoHost server

Hardware: Old laptop or computer
YunoHost version: 11.2.22
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Today I tried to upgrade snappymail but I get this error

Warning: E: Packages need to be removed but remove is disabled.                                                                      
Warning: The following packages have unmet dependencies:          
Warning:  php8.3-gmagick : Depends: libgraphicsmagick-q16-3 (>= 1.3.20) but it is not going to be installed                          
Warning:                   Conflicts: php-imagick                                                                                    
Warning:                   Recommends: ttf-dejavu-core but it is not installable
Warning: Unable to install apt dependencies

Full log at https://paste.yunohost.org/raw/hexanoyojo

P.S.: I am on travel now so I cannot study the problem more so I am not sure that this is not a simple problem

Hello,
I just had the same problem on 2 servers

On the 1st one, I corrected it using apt install php8.3-gmagick then the snappymail update was possible.

On the 2nd one, this didn’t work. I had to run:

apt-get remove php-gmagick php-imagick
apt-get update
apt-get install php8.3-imagick

then it worked.

1 Like

It did not work for me :frowning:

And now I have a different error:

yunohost app upgrade snappymail
Info: Now upgrading snappymail…
Info: Creating a safety backup prior to the upgrade
Info: Collecting files to be backed up for snappymail…
Info: Declaring files to be backed up...
Warning: /var/cache/yunohost/app_tmp_work_dirs/app_n7vlsnz8/scripts/backup: line 30: phpversion: unbound variable
Error: Could not back up snappymail
Info: The operation 'Create a backup archive' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20240720-210051-backup_create' to get help
Error: Nothing to save

Full log here https://paste.yunohost.org/raw/izesiyinun

I needed to reinstall from a backup and then I could upgrade using your tip!
Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.