Buster upgrade error

My YunoHost server

Hardware: Raspberry Pi at home
YunoHost version: 3.8.5.7
I have access to my server : Through SSH, through the webadmin, direct access via keyboard / screen
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 upgrade to buster through CLI but I get those errors: https://paste.yunohost.org/raw/naligolita
I also tried some solutions from other failed upgrade topics but I could not resolve my problem.

Now, when I try a dist-upgrade I get this:

admin@YunoHost:~ $ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
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:
 libpython3.5-stdlib : Breaks: python3-llfuse (<= 1.2+dfsg-1+b1) but 1.2+dfsg-1 is to be installed
                       Breaks: python3-tk (< 3.6.2-1~) but 3.5.3-1 is to be installed
 nextcloud-ynh-deps : Depends: smbclient but it is not going to be installed
                      Depends: php7.3-fpm but it is not going to be installed
                      Depends: php7.3-imap but it is not going to be installed
                      Depends: php7.3-smbclient
                      Depends: php7.3-mbstring but it is not going to be installed
                      Depends: php7.3-xml but it is not going to be installed
 python : PreDepends: python-minimal (= 2.7.13-2) but it is not going to be installed
 ssowat : Depends: nginx-extras (>= 1.6.2) but it is not going to be installed
 yunohost : Depends: nginx-extras (>= 1.6.2) but it is not going to be installed
            Depends: dnsutils
            Depends: libnss-ldapd but it is not going to be installed
            Depends: unscd but it is not going to be installed
            Depends: libpam-ldapd but it is not going to be installed
            Depends: avahi-daemon but it is not going to be installed
            Depends: libnss-mdns but it is not going to be installed
            Depends: mailutils but it is not going to be installed
            Depends: equivs but it is not going to be installed
            Conflicts: apache2 but 2.4.38-3+deb10u3 is to be installed
            Recommends: libdbd-ldap-perl but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Thanks a lot!

Can you share the output of

apt policy libc6

and

apt install aptitude -y
aptitude why libpython3.5-stdlib

Hi!
Here are the outputs:

libc6:
  Installed: 2.24-11+deb9u4
  Candidate: 2.28-10+rpi1
  Version table:
     2.31-3 150
        150 http://deb.debian.org/debian unstable/main armhf Packages
     2.28-10+rpi1 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
 *** 2.24-11+deb9u4 100
        100 /var/lib/dpkg/status
Reading package lists... Done
Building dependency tree
Reading state information... Done
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 : Depends: unscd but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
i   gdb          Depends libpython3.5 (>= 3.5.0~b1)
i A libpython3.5 Depends libpython3.5-stdlib (= 3.5.3-1+deb9u2)

Uh wokay … your apt sources.list for the default/vanilla Debian seems to be using the unstable channel and sounds like that’s why it doesn’t pick up version 2.31-3 which is available for libc6 … ? Do you know why that happens to be the case …? (the fact that it uses the unstable channel)

Wow I have no idea… I did not modify my sources.list
Should I revert to yunohost default or just debian stable?

Let’s start by reverting to debian stable yes

It resolved some problems but I encountered some more when relaunching the migration:
https://paste.yunohost.org/raw/ujebemineq

Now, apt dist-upgrade outputs this:

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:
 coturn : Depends: libmariadb3 (>= 3.0.0) but it is not installed
 libgssapi-perl : Depends: perl (>= 5.28.0-3) but 5.24.1-3+deb9u7 is installed
                  Depends: perlapi-5.28.0
 libnet-ssleay-perl : Depends: perl (>= 5.28.0-3) but 5.24.1-3+deb9u7 is installed
                      Depends: perlapi-5.28.0
 libnginx-mod-http-auth-pam : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-cache-purge : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-dav-ext : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-echo : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-fancyindex : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-geoip : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-headers-more-filter : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-image-filter : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-lua : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-ndk : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-perl : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-subs-filter : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-uploadprogress : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-upstream-fair : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-mail : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-nchan : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 libnginx-mod-stream : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 nginx-extras : Depends: nginx-common (= 1.10.3-1+deb9u5) but 1.14.2-2+deb10u2 is installed
 systemd : Depends: libsystemd0 (= 232-25+deb9u12) but 241-7~deb10u4+rpi1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

And apt --fix-broken install outputs this:

Setting up util-linux (2.33.1-0.1) ...
insserv: warning: current start runlevel(s) (empty) of script `hwclock.sh' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (S) of script `hwclock.sh' overrides LSB defaults (0 6).
insserv: FATAL: service udev is missed in the runlevels 2 3 4 5 to use service raspi-config
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

I’m quite lost trying to debug this, thanks a lot for your help!

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