Bookworm Upgrade on nanoPi R5C - mongodb repository not found

Creating a bug report/issue

Required Information

  • DietPi version |
    cat /boot/dietpi/.version

  • /.Distro version | bullseye

  • Kernel version |
    Linux DietPi 5.10.160 #1 SMP Tue Jul 4 15:42:58 CST 2023 aarch64 GNU/Linux

  • Architecture |

  • SBC model |
    NanoPi R5S/R5C (aarch64)

  • Power supply used |
    Argon 3.5A

  • SD card used |
    SanDisk Ultra

Additional Information (if applicable)

  • Software title | mongodb
  • Was the software title installed freshly or updated/migrated? Updated
  • Can this issue be replicated on a fresh installation of DietPi? Not tested
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID |


Steps to reproduce

  1. Run bookworm update script

Expected behaviour

Upgrade works smoothly

Actual behaviour

The following message about mongodb not being found:

Ign:6 MongoDB Repositories bookworm/mongodb-org/6.0 InRelease

Err:7 MongoDB Repositories bookworm/mongodb-org/6.0 Release

404 Not Found [IP: 80]

Hit:8 bookworm InRelease

Reading package lists…

E: The repository ‘MongoDB Repositories bookworm/mongodb-org/6.0 Release’ does not have a Release file.

[FAILED] dietpi-bookworm-upgrade | APT update

  • Command: apt-get -y -eany update

Extra details

Your manually added repository does not support Bookworm and you need to switch back to Bullseye.

Hi Joulinar

I quite confused as the following attempt at removing results in:

sudo apt-get purge mongodb-org
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package mongodb-org

And there was no mongodb service running or installed


Hi Joulinar

I had a vestigial mongodb entry which I have now removed

Thank you for your help!