- start med at fjerne alle PPA-lagre for mongodb, og derefter:
- 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 -
- ekko "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 upgrade
- sudo apt update
- sudo apt-opgradering
- sudo apt-get install -y mongodb-org
- sudo apt-get install libc6
- sudo service mongod start
- sudo service mongod status
Dette hjalp mig med problemet