Failing system update (after a failed attempt to upgrade to YunoHost 11.x ?)

My YunoHost server

Hardware: OVH dedicated server
YunoHost version: 4.4.214
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

Hello!

I think I did something stupid:

  • Two days ago, I ran an System Update
  • The I tried to run the "21. Upgrade the system to Debian Bullseye and YunoHost 11.x " Migration from Tools > Migrations
  • Then I had an error, and instead of saving the error log, I thought I’d come back to it later, with more time (duuuh, I know)
  • Today I ran a backup.
  • Then I attempted a System Update from the webadmin and got the error message that I copied at the end of this message.

The reason why I’m asking you first before trying to fix it myself is that, in addition to my very limited sysadmin skills, I’m guessing that it could be linked with my unsuccessfull attempt to upgrade to YunoHost 11.x, and before breaking more things, I’d like to know if you recognise and understand this error, given the context.

Also, no rush, my apps are all running and working well :slight_smile:

Thanks a lot!

Error message

YunoHost encountered an internal error

Really sorry about that.

You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:

Error: "500" Internal Server Error

Action: "PUT" /yunohost/api/update/all

Error message:

Unable to update the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:

sources.list:deb http://debian.mirrors.ovh.net/debian bullseye main 
sources.list:deb-src http://debian.mirrors.ovh.net/debian bullseye main 
sources.list:deb http://security.debian.org/debian-security bullseye-security main 
sources.list:deb-src http://security.debian.org/debian-security bullseye-security main 
sources.list:deb http://debian.mirrors.ovh.net/debian bullseye-updates main 
sources.list:deb-src http://debian.mirrors.ovh.net/debian bullseye-updates main 
sources.list.d/crystal.list:deb http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable/ / 
sources.list.d/mongodb-org-3.2.list:deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.2 main 
sources.list.d/docker.list:deb [arch=amd64] https://download.docker.com/linux/debian bullseye edge 
sources.list.d/php7.list:deb https://packages.sury.org/php/ bullseye main 
sources.list.d/nodesource.list:deb http://deb.nodesource.com/node_6.x bullseye main 
sources.list.d/nodesource.list:deb-src http://deb.nodesource.com/node_6.x bullseye main 
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bullseye main 
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ bullseye stable 
sources.list.d/mongodb-org-3.4.list:deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main 
sources.list.d/mongodb-org-4.0.list:deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main 
sources.list.d/ovhkernel.list:deb https://last-public-ovh-kernel.snap.mirrors.ovh.net/debian/ ovhkernel main

While processing the action the server said:

  • Fetching available upgrades for system packages…
  • E: The repository ‘Index of /node_6.x/ bullseye Release’ does not have a Release file.
  • W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
  • W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
  • W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
  • W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
  • W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
  • W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1

Edit

I’m guessing this sources.list.d/nodesource.list:deb http://deb.nodesource.com/node_6.x bullseye main repo is not available for Bullseye.

How could I tell which app requires the packages from this repo? Maybe it’s an old test and I could just get rid of it, but how to know?

Yeah it’s probably not a huge deal to remove that source.list, maybe that’s an old legacy stuff that didnt get properly cleaned up … and worst case scenario, the corresponding app will readd it if needed (but I highly doubt it’s useful anyway) :

sudo rm /etc/apt/sources.list.d/nodesource.list

Thanks a lot, it worked!

Now I get stuck at the mariadb-db-server-10.3 too :smiley: I’ll follow the other threads with the same problem. Good luck :slight_smile:

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