- börja med att ta bort alla PPA-lager för mongodb, sedan:
- sudo apt-get purge mongodb-org*
- sudo apt remove mongodb
- sudo apt purge mongodb
- sudo apt autoremove
- sudo rm -r /var/log/mongodb
- sudo rm -r /var/lib/mongodb
- sudo apt-get install gnupg
- wget -qO - https://www.mongodb.org/ static/pgp/server-4.4.asc | sudo apt-key add -
- echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/ apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
- sudo apt-get update
- sudo apt-get uppgradering
- sudo apt update
- sudo apt uppgradering
- sudo apt-get install -y mongodb-org
- sudo apt-get install libc6
- sudo service mongod start
- sudo service mongod status
Detta hjälpte mig med problemet