Unable to install/upgrade FreshRSS

Hi everyone,
This is my first time posting, so I want to thank everyone involved with this project. As a newbie, this has really helped me get into self-hosting! So, thank you!

My YunoHost server

Hardware: MiniPC (Beelink SER5 Pro Mini PC Ryzen 7 5800H)
YunoHost version: 11.1.21.4 (stable)
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

I ran into an error while upgrading my FreshRSS instance to the latest version yesterday. After a failed upgrade, the tile in my dashboard disappeared. So, I uninstalled the app but now I am not able to reinstall FreshRSS and keep getting this error message.

2023-07-03 12:10:37,871: WARNING - E: Packages need to be removed but remove is disabled.
2023-07-03 12:10:37,872: DEBUG - ++ cat /tmp/tmp.Aabe0F7D8F/dpkg_log
2023-07-03 12:10:37,872: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2023-07-03 12:10:37,872: DEBUG - ++ tr '\n' ' '
2023-07-03 12:10:37,873: DEBUG - + local 'problematic_dependencies=php8.2-gmp php8.2-sqlite3 '
2023-07-03 12:10:37,873: DEBUG - + [[ -n php8.2-gmp php8.2-sqlite3  ]]
2023-07-03 12:10:37,873: DEBUG - + ynh_package_install php8.2-gmp php8.2-sqlite3 --dry-run
2023-07-03 12:10:37,873: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install php8.2-gmp php8.2-sqlite3 --dry-run
2023-07-03 12:10:37,873: DEBUG - + ynh_wait_dpkg_free
2023-07-03 12:10:37,873: DEBUG - + sed --quiet '/Reading state info/,$p'
2023-07-03 12:10:37,873: DEBUG - + grep -v 'fix-broken\|Reading state info'
2023-07-03 12:10:38,008: DEBUG - + return 0
2023-07-03 12:10:38,008: DEBUG - + LC_ALL=C
2023-07-03 12:10:38,008: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-07-03 12:10:38,008: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install php8.2-gmp php8.2-sqlite3 --dry-run
2023-07-03 12:10:38,179: WARNING - Package php8.2-gmp is not available, but is referred to by another package.
2023-07-03 12:10:38,180: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-07-03 12:10:38,180: WARNING - is only available from another source
2023-07-03 12:10:38,180: DEBUG - 
2023-07-03 12:10:38,181: WARNING - Package php8.2-sqlite3 is not available, but is referred to by another package.
2023-07-03 12:10:38,181: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-07-03 12:10:38,181: WARNING - is only available from another source
2023-07-03 12:10:38,181: DEBUG - 
2023-07-03 12:10:38,181: WARNING - E: Package 'php8.2-gmp' has no installation candidate
2023-07-03 12:10:38,181: WARNING - E: Package 'php8.2-sqlite3' has no installation candidate
2023-07-03 12:10:38,182: DEBUG - + ynh_die '--message=Unable to install dependencies'
2023-07-03 12:10:38,189: DEBUG - + ynh_exit_properly
2023-07-03 12:10:38,189: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2023-07-03 12:10:38,190: WARNING - Unable to install dependencies
2023-07-03 12:10:39,693: ERROR - provision_or_update failed for apt : An error occured inside the script snippet

Full log: https://paste.yunohost.org/raw/wufujavesu

What version of Debian are you using ?
Do you know if you have any other app that uses PHP (8.2) ?

Hi, thanks for your response.
I’m on Debian 11 (bullseye).
Sorry, if this is a stupid question but how can I check which other apps use PHP 8.2?
BTW, I tried to start php8.2-gmp and php8.2-sqlite3 and got this error:

**Error**: `"500" Internal Server Error`

**Action**: `"PUT" /yunohost/api/services/php8.2-gmp/start`

**Error message:**

Could not start the service 'php8.2-gmp'

Recent service logs:-- Journal begins at Fri 2022-12-02 18:32:43 HKT, ends at Thu 2023-07-06 17:34:27 HKT. --
-- No entries --

**While processing the action the server said:**

Could not execute the command 'systemctl start php8.2-gmp'

Failed to get status information via dbus for service php8.2-gmp, systemctl didn't recognize this service ('NoSuchUnit').

Thanks for your help!

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

It’s not, that’s not even a simple question :slight_smile:

I would go for the result of the command ls /etc/php/8.2/fpm/pool.d, there should be a list of config files with the name of the app that use it.

You can’t start them, these are dependencies to install (apt install php8.2-gmp php8.2-sqlite3). But for some reason they are not available. FreshRSS requires them: https://github.com/YunoHost-Apps/freshrss_ynh/blob/master/manifest.toml#L74

I don’t really know how to fix this.

Thank you for taking the time to reply!
Apparently, there was some bigger php issue on my server and a diagnostic run was able to figure it out. Don’t remember what command i ran, but it resolved all php issues :slight_smile:

Great news :slight_smile: