# \[SOLVED\] Errors in fetching systems update and apps catalog

**URL:** https://forum.yunohost.org/t/solved-errors-in-fetching-systems-update-and-apps-catalog/38429
**Category:** Support
**Tags:** english
**Created:** [August 25, 2025, 1:26pm UTC](https://forum.yunohost.org/t/solved-errors-in-fetching-systems-update-and-apps-catalog/38429 "2025-08-25T13:26:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![HoldMyGin](https://forum.yunohost.org/user_avatar/forum.yunohost.org/holdmygin/32/3701_2.png) [@HoldMyGin](https://forum.yunohost.org/u/HoldMyGin)
#### Post date: [August 25, 2025, 1:26pm UTC](https://forum.yunohost.org/t/solved-errors-in-fetching-systems-update-and-apps-catalog/38429/1 "2025-08-25T13:26:24Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.1  
**How are you able to access your server** : SSH  
**Are you in a special context or did you perform specific tweaking on your YunoHost instance ?** : Probably

### Describe your issue

In my efforts to try and fix the WEKAN faulty installation script ( using, this thread [Wekan: upgrade from 7.49 to 7.51 failed with mongod error - #6 by jln](https://forum.yunohost.org/t/wekan-upgrade-from-7-49-to-7-51-failed-with-mongod-error/30616/6)) I tried to add a mongodb key (6.0) which I then removed as well as the mongodb and service. But I am getting the below errors when updating via the web interface.

Any idea how to solve this?

### Share relevant logs or error messages

W: Some index files failed to download. They have been ignored, or old ones used instead.  
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 [Index of /debian](http://ftp.debian.org/debian) bookworm main contrib  
sources.list:deb-src [Index of /debian](http://ftp.debian.org/debian) bookworm main contrib  
sources.list:deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] [Index of /debian/](http://forge.yunohost.org/debian/) bookworm stable  
sources.list:deb [Index of /debian-security](http://security.debian.org/debian-security) bookworm-security main contrib  
sources.list:deb-src [Index of /debian-security](http://security.debian.org/debian-security) bookworm-security main contrib  
sources.list:deb [Index of /debian](http://ftp.debian.org/debian) bookworm-updates main contrib  
sources.list:deb-src [Index of /debian](http://ftp.debian.org/debian) bookworm-updates main contrib  
sources.list.d/extra\_php\_version.list:deb [signed-by=/etc/apt/trusted.gpg.d/extra\_php\_version.gpg] [Index of /php/](https://packages.sury.org/php/) bookworm main  
sources.list.d/mongodb-org-6.0.list:deb [arch=amd64,arm64] [MongoDB Repositories](https://repo.mongodb.org/apt/ubuntu) focal/mongodb-org/6.0 multiverse  
sources.list.d/yarn.list:deb [signed-by=/etc/apt/trusted.gpg.d/yarn.gpg] [https://dl.yarnpkg.com/debian/](https://dl.yarnpkg.com/debian/) stable main  
sources.list.d/crystal.list:deb [/repositories/devel:/languages:/crystal/Debian\_12 - openSUSE Download](http://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_12/)

---

<div class="post-metadata">

### Author: ![HoldMyGin](https://forum.yunohost.org/user_avatar/forum.yunohost.org/holdmygin/32/3701_2.png) [@HoldMyGin](https://forum.yunohost.org/u/HoldMyGin)
#### Post date: [August 27, 2025, 1:16pm UTC](https://forum.yunohost.org/t/solved-errors-in-fetching-systems-update-and-apps-catalog/38429/2 "2025-08-27T13:16:50Z")

</div>

Any input would be appreciated.

---

<div class="post-metadata">

### Author: ![OniriCorpe](https://forum.yunohost.org/user_avatar/forum.yunohost.org/oniricorpe/32/3356_2.png) [@OniriCorpe](https://forum.yunohost.org/u/OniriCorpe)
#### Post date: [August 27, 2025, 1:22pm UTC](https://forum.yunohost.org/t/solved-errors-in-fetching-systems-update-and-apps-catalog/38429/3 "2025-08-27T13:22:57Z")

</div>

hi, can you share what says an `apt update` please?

---

<div class="post-metadata">

### Author: ![HoldMyGin](https://forum.yunohost.org/user_avatar/forum.yunohost.org/holdmygin/32/3701_2.png) [@HoldMyGin](https://forum.yunohost.org/u/HoldMyGin)
#### Post date: [August 28, 2025, 8:30am UTC](https://forum.yunohost.org/t/solved-errors-in-fetching-systems-update-and-apps-catalog/38429/4 "2025-08-28T08:30:05Z")

</div>

Hello, of course:

```auto
apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://ftp.debian.org/debian bookworm InRelease                                                                                                                                 
Get:3 https://dl.yarnpkg.com/debian stable InRelease                                                                                                                                  
Hit:5 http://ftp.debian.org/debian bookworm-updates InRelease                                                                                                                         
Hit:6 https://packages.sury.org/php bookworm InRelease                                                                                          
Hit:7 http://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_12 InRelease                                               
Hit:8 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 InRelease                                              
Hit:4 https://forge.yunohost.org/debian bookworm InRelease
Fetched 17.1 kB in 1s (16.0 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/6.0/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

```

If I am not mistaken I need to remove the mongodb repo, right? How do I do that?

---

<div class="post-metadata">

### Author: ![OniriCorpe](https://forum.yunohost.org/user_avatar/forum.yunohost.org/oniricorpe/32/3356_2.png) [@OniriCorpe](https://forum.yunohost.org/u/OniriCorpe)
#### Post date: [August 28, 2025, 3:05pm UTC](https://forum.yunohost.org/t/solved-errors-in-fetching-systems-update-and-apps-catalog/38429/5 "2025-08-28T15:05:02Z")

</div>

you should be able to solve your issue with this guide: [Fixing "Key is stored in legacy trusted.gpg keyring" Issue in Ubuntu](https://itsfoss.com/key-is-stored-in-legacy-trusted-gpg/)

---

<div class="post-metadata">

### Author: ![HoldMyGin](https://forum.yunohost.org/user_avatar/forum.yunohost.org/holdmygin/32/3701_2.png) [@HoldMyGin](https://forum.yunohost.org/u/HoldMyGin)
#### Post date: [August 29, 2025, 10:54am UTC](https://forum.yunohost.org/t/solved-errors-in-fetching-systems-update-and-apps-catalog/38429/6 "2025-08-29T10:54:23Z")

</div>

All good. I manually removed the key and the repostory .list file.

Thank you for your replies.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [September 28, 2025, 10:55am UTC](https://forum.yunohost.org/t/solved-errors-in-fetching-systems-update-and-apps-catalog/38429/7 "2025-09-28T10:55:15Z")

</div>

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