Yunohost install failing due to openssl package conflict / openssl 1.1.1w-0+deb11u1 update kept back because of conflict with debian openssl

Hey guys,
so, I’m currently trying to install Yunohost on an older Raspberry Pi 2b. But while installing, I get the following error:

The following packages have unmet dependencies:
Yunohost : Conflicts: openssl (>= 1.1.1o-0) but 1.1.1w-0~deb11u1+rpt1 is to be installed.

How can I fix this?

My YunoHost server

Hardware: Raspberry Pi 2b
YunoHost version: Latest
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

While doing a fresh install of yunohost on a newly setup Raspberry Pi 2b the installation fails due to package conflicts. The message reads:

The following packages have unmet dependencies:
Yunohost : Conflicts: openssl (>= 1.1.1o-0) but 1.1.1w-0~deb11u1+rpt1 is to be installed.

2 Likes

I have the same problem. I cannot update openssl (de 1.1.1n-0+deb11u5+rpt1 à 1.1.1w-0+deb11u1), nor with the yunohost interface, nor with apt.

A sudo apt-get upgrade retruns

(...)
The following packages have been kept back:
  openssl

And sudo apt-get --with-new-pkgs upgrade openssl returns

The following packages have unmet dependencies:
 yunohost : Conflicts: openssl (>= 1.1.1o-0)
            Conflicts: openssl:armhf (>= 1.1.1o-0)
E: Broken packages

I have Yunohost 11.2.4 installed on a Debian (on a RPi 4).

I’m having this problem as well on a new install inside a Debian 11 x86-64 virtual machine. I check the log and I see:

yunohost : Conflicts: openssl (>= 1.1.1o-0) but 1.1.1w-0+deb11u1 is to be installed
E: Unable to correct problems, you have held broken packages

Same problem here with a vanilla Debian 11.

Reading package lists...
Building dependency tree...
Reading state information...
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:
 yunohost : Conflicts: openssl (>= 1.1.1o-0) but 1.1.1w-0+deb11u1 is to be installed
E: Unable to correct problems, you have held broken packages.

I have the same problem at a vanilla Debian 11.

i manually deinstall open ssl. Then i install 1.1.1o.
openssl version says

OpenSSL 1.1.1o 3 May 2022

i start installation and i have the error
yunohost : Conflicts: openssl (>= 1.1.1o-0) but 1.1.1w-0+deb11u1 is to be installed
E: Unable to correct problems, you have held broken packages.
Why? How can i fix it?

Hello,
same problem here, installation on Debian 11 vanilla failed
The solution that seems to work for me:

  1. Run the installation script until you get the error message.
  2. Install openssl 1.1.1n-0+deb11u5 by hand:
apt install openssl=1.1.1n-0+deb11u5
  1. Relaunch the installation script

Installation successfully completes for me after this workaround.

1 Like

Unfortunately, this doesn’t work for me. It has the same result (openssl kept back).

And trying to force Debian repo for update, may not be a good idea. apt-get install -t bullseye-updates openssl returns:

The following packages will be REMOVED:
  yunohost yunohost-admin
The following packages will be upgraded:
  openssl
WARNING: The following essential packages will be removed.

:sweat_smile:

Fortunately, it is not (yet) a security update.

I think we may change the topic to YNH openssl 1.1.1w-0+deb11u1 update kept back because of conflict with debian openssl

Done

Also this issue has to be fix in YunoHost core, will try to work on a fix this afternoon

5 Likes

So that’s why I can’t install yunohost using the official iso image. It keeps giving error at the “choose and install softwares” step.
Tried on the real hardware I want to use as my new server and on a VM to check if it gives the same error. And it does :

Cannot install yunohost on a vanilla debian VM, always fails at the installation step with a similar error message as @KodeIn.

Hi to everyone,

I’ve encountered the same problem.
If I’ve understood it right Aleks is fixing the issue soon, but he edited his post and it starts with “Done”. That means he has already done it ?

Anyway thank you very much in advance !
Noé Pérez

PS Below the terminal output

sudo apt reinstall openssl --dry-run
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bc bind9-dnsutils dns-root-data dnsmasq dnsmasq-base dovecot-antispam equivs fail2ban fake-hwclock fonts-glyphicons-halflings geoip-database haveged javascript-common jq ldap-utils libc-ares2
  libdbd-ldap-perl libdigest-bubblebabble-perl libev4 libexpat1-dev libgeoip1 libhavege2 libhyperscan5 libjq1 libjs-bootstrap4 libjs-jquery libjs-popper.js libjs-requirejs libjs-sizzle libjs-sphinxdoc
  libjs-underscore libluajit-5.1-2 libluajit-5.1-common libmail-spf-perl libmemcached11 libminiupnpc17 libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnetaddr-ip-perl libnginx-mod-http-auth-pam
  libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip libnginx-mod-http-geoip2 libnginx-mod-http-headers-more-filter
  libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair
  libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-nchan libnginx-mod-stream libnginx-mod-stream-geoip libnginx-mod-stream-geoip2 libnss-ldapd libnss-myhostname libodbc1 libopendbx1
  libopendbx1-sqlite3 libopendkim11 libpam-ldapd libperl4-corelibs-perl libpython3-dev libpython3.9-dev librbl1 libunbound8 libunwind8 libvbr2 lua-json lua-ldap lua-lpeg lua-rex-pcre moulinette
  nginx-common nginx-extras node-jquery nslcd nslcd-utils opendkim-tools php-mbstring php-php-gettext php8.1-mbstring postfix-policyd-spf-perl postsrsd python-is-python3 python-pip-whl python3-appdirs
  python3-bottle python3-bs4 python3-cached-property python3-dateutil python3-defusedxml python3-dev python3-freezegun python3-future python3-gevent python3-gevent-websocket python3-greenlet
  python3-html5lib python3-ifaddr python3-isodate python3-ldap python3-lexicon python3-lxml python3-miniupnpc python3-packaging python3-pip python3-prompt-toolkit python3-psutil python3-publicsuffix2
  python3-pyasn1 python3-pyasn1-modules python3-pygments python3-pyinotify python3-pyparsing python3-requests-file python3-soupsieve python3-systemd python3-tldextract python3-toml python3-tz
  python3-wcwidth python3-webencodings python3-wheel python3-zeep python3-zeroconf python3-zope.event python3-zope.interface python3.9-dev rspamd slapd ssowat unscd unzip whois zlib1g-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  yunohost yunohost-admin
The following packages will be upgraded:
  openssl
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  yunohost
1 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Remv yunohost-admin [11.2.2]
Remv yunohost [11.2.4]
Inst openssl [1.1.1n-0+deb11u5] (1.1.1w-0+deb11u1 Debian:11.8/oldstable [amd64])
Conf openssl (1.1.1w-0+deb11u1 Debian:11.8/oldstable [amd64])

My “Done” was about the previous message asking to update the title

1 Like

Issue should be fixed in YunoHost 11.2.5

6 Likes

Thank you very much! It is working for me.

Thank You! It works!

Issue is fixed for me. New Yunohost install now completes in Debian VM. Thank you, Aleks!

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