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.
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)
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!