Something went wrong while updating the cache of APT

My YunoHost server

Hardware: VPS bought online
YunoHost version: x.x.x
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

Checking for updates I see this error:

Something went wrong while updating 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://asi-fs-n.contabo.net/debian buster main non-free contrib
sources.list:deb-src http://asi-fs-n.contabo.net/debian buster main non-free contrib
sources.list:deb http://security.debian.org/debian-security buster/updates main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
sources.list:deb http://asi-fs-n.contabo.net/debian buster-updates main contrib non-free
sources.list:deb-src http://asi-fs-n.contabo.net/debian buster-updates main contrib non-free
sources.list.d/mobilizon.list:deb http://packages.erlang-solutions.com/debian buster contrib
sources.list.d/crystal.list:deb https://dl.bintray.com/crystal/deb all stable
sources.list.d/yunohost.list:deb https://forge.yunohost.org/debian/ buster stable
sources.list.d/invidious.list:deb https://dl.bintray.com/crystal/deb all stable
sources.list.d/onlyoffice.list:deb http://download.onlyoffice.com/repo/debian squeeze main
sources.list.d/webmin.list:deb http://download.webmin.com/download/repository sarge contrib

Note: I posted here too Something went wrong while updating the cache of APT (due to SURY) but my issue seems to be different - I get no key error. Just the above.

Please share the messages before that message, because this doesn’t contain the actual error

I get this:
Updating application catalog…

Something went wrong while updating 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://asi-fs-n.contabo.net/debian buster main non-free contrib
sources.list:deb-src http://asi-fs-n.contabo.net/debian buster main non-free contrib
sources.list:deb http://security.debian.org/debian-security buster/updates main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
sources.list:deb http://asi-fs-n.contabo.net/debian buster-updates main contrib non-free
sources.list:deb-src http://asi-fs-n.contabo.net/debian buster-updates main contrib non-free
sources.list.d/mobilizon.list:deb http://packages.erlang-solutions.com/debian buster contrib
sources.list.d/crystal.list:deb https://dl.bintray.com/crystal/deb all stable
sources.list.d/yunohost.list:deb https://forge.yunohost.org/debian/ buster stable
sources.list.d/invidious.list:deb https://dl.bintray.com/crystal/deb all stable
sources.list.d/onlyoffice.list:deb http://download.onlyoffice.com/repo/debian squeeze main
sources.list.d/webmin.list:deb http://download.webmin.com/download/repository sarge contrib

W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/crystal.list:1 and /etc/apt/sources.list.d/invidious.list:1

W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/crystal.list:1 and /etc/apt/sources.list.d/invidious.list:1

W: Target Packages (stable/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/crystal.list:1 and /etc/apt/sources.list.d/invidious.list:1

W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/crystal.list:1 and /etc/apt/sources.list.d/invidious.list:1

W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/crystal.list:1 and /etc/apt/sources.list.d/invidious.list:1

W: Target Packages (stable/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/crystal.list:1 and /etc/apt/sources.list.d/invidious.list:1

Fetching available upgrades for system packages...

You can probably: rm /etc/apt/sources.list.d/invidious.list

1 Like

True. Fixed. Cheers! :slight_smile:

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