Hardware: computer, Lenovo Ideacenter Q190 YunoHost version: 4.0.8.2 I have access to my server : Through SSH & direct access via keyboard Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
I tried to update Searx, but it failed. I tried to install it again, but it failed.
I guess yes, but you should not have to … We could figure out more stuff if you shared the log of the “Failed remove after the failed install attempt” …
Anyway, you could try to run rm -rf /var/www/searx to clean up the folder the first install created (again, the remove script is supposed to take care of this)
From part of the log it looks like I need to remove /opt/yunohost/searx, correct? I’m just checking, like the cautious carpenter - I check twice, delete once
2020-12-08 21:45:30,525: DEBUG - + ynh_die '--message=Unable to install dependencies'
2020-12-08 21:45:30,525: WARNING - The following packages have unmet dependencies:
2020-12-08 21:45:30,527: WARNING - libssl-dev : Depends: libssl1.1 (= 1.1.1d-0+deb10u3) but 1.1.1g-1+0~20200421.17+debian10~1.gbpf6902f is to be installed
2020-12-08 21:45:30,528: WARNING - libxslt1-dev : Depends: libxml2-dev (>= 2.6.26) but it is not going to be installed
2020-12-08 21:45:30,529: WARNING - python-babel : Depends: python-babel-localedata (= 2.6.0+dfsg.1-1) but it is not going to be installed
2020-12-08 21:45:30,530: WARNING - python-cffi : Depends: python-pycparser but it is not going to be installed
2020-12-08 21:45:30,531: WARNING - uwsgi : Depends: uwsgi-core (= 2.0.18-1) but it is not going to be installed
2020-12-08 21:45:30,532: WARNING - uwsgi-plugin-python : Depends: uwsgi-core (= 2.0.18-1) but it is not going to be installed
2020-12-08 21:45:30,533: WARNING - virtualenv : Depends: python3-virtualenv but it is not going to be installed
2020-12-08 21:45:30,533: DEBUG - + ret_code=1
2020-12-08 21:45:30,534: WARNING - Unable to install dependencies
Looks like something about dependencies that it won’t install for me.
Yes, but I have been ignoring those messages because things were working and didn’t want to inadvertently mess something up.
[WARNING] Some system packages should be downgraded
- Some packages were inadvertendly installed from a third-party repository called Sury. The Yunohost team improved the strategy that handle these packages, but it's expected that some setups that installed PHP7.3 apps while still on Stretch have some remaining inconsistencies. To fix this situation, you should try running the following command: 'apt install --allow-downgrades libssl1.1=1.1.1d-0+deb10u3'
Ok I will try to do this downgrade command, then try reinstalling Searx.
sudo apt install --allow-downgrades libssl1.1=1.1.1d-0+deb10u3
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
searx-ynh-deps : Depends: libxslt-dev
Depends: python-virtualenv but it is not going to be installed
Depends: python-cffi but it is not going to be installed
Depends: virtualenv but it is not going to be installed
Depends: python-babel but it is not going to be installed
Depends: zlib1g-dev but it is not going to be installed
Depends: libffi-dev but it is not going to be installed
Depends: libssl-dev but it is not going to be installed
Depends: python-lxml but it is not going to be installed
Depends: uwsgi but it is not going to be installed
Depends: uwsgi-plugin-python but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
php-igbinary php-redis php-smbclient php5.6-igbinary php5.6-redis php5.6-smbclient php7.0-igbinary php7.0-redis php7.0-smbclient
php7.1-igbinary php7.1-redis php7.1-smbclient php7.2-igbinary php7.2-redis php7.2-smbclient php7.4-igbinary php7.4-redis php7.4-smbclient
php8.0-igbinary php8.0-redis php8.0-smbclient
Use ‘sudo apt autoremove’ to remove them.
The following packages will be REMOVED:
searx-ynh-deps
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
After this operation, 9,216 B disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 114465 files and directories currently installed.)
Removing searx-ynh-deps (0.16.0~ynh1) …
Scanning processes…
Scanning linux images…