DietPi-Software | Add MongoDB Server

Created on 21 Apr 2017  ·  8Comments  ·  Source: MichaIng/DietPi

Software Request

All 8 comments

What about this? @Fourdee
😄

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo -e "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" > /etc/apt/sources.list.d/mongodb-org-3.4.list
apt-get update
apt-get install -y mongodb-org
  • 🈴 Lacks ARMv7 ARMv8 binaries
W: Failed to fetch http://repo.mongodb.org/apt/debian/dists/jessie/mongodb-org/3.4/Release  Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://repo.mongodb.org/apt/debian/dists/jessie/mongodb-org/3.4/Release  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

  • x86_32 x86_64 only

  • 🈯️ Available in Raspbian repo:
apt-get install mongodb
  • 🈴 But not debian

Thank You!

General Cleanup:
Marking all software requests as closed. Once interest peaks, we'll reopen once work starts.

Hi, installing mongodb is still an issue in aarch64 machines for Dietpi. I am trying to install mongodb on Pine64 version of Dietpi and getting similar errors:

W: Failed to fetch http://repo.mongodb.org/apt/debian/dists/jessie/mongodb-org/3.4/Release Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://repo.mongodb.org/apt/debian/dists/jessie/mongodb-org/3.4/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

@abhinavgupta

The repo links you listed, only provide x86 packages. They lack ARM.

Origin: mongodb
Label: mongodb
Suite: jessie
Codename: jessie/mongodb-org
Architectures: amd64 i386

@Fourdee Thanks, their testing branch has a binary for arm64, any recommendations on how to tackle this problem further?

:negative_squared_cross_mark: [ Update 1 - 5th July 2018 : Dietpi Debian Stretch]: The Binaries for Debian Stretch dosn't work with DietPi_OdroidXU4-ARMv7-Stretch .. :disappointed:

:heavy_check_mark: [ Update 2 - 5th July 2018 : Dietpi Debian Jessie ]: But The Binaries for Debian Jessie work with DietPi_OdroidXU4-ARMv7-Jessie .. :+1:

  • Download Binaries from here
  • Follow these instruction to install on Odroid XU4.
    Proof:
    screenshot from 2018-07-05 18-48-25

Dear All,

I find https://andyfelong.com/2017/03/mongodb-3-0-14-binaries-for-raspberry-pi-3 MonogDB 3.0.14 binary to be working fine in bellow system:

Board: Odroid XU4
Architecture : armv7l GNU/Linux
DietPi: v6.6

Thanks Andy (@AndyOfLinux) for your work :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

k-plan picture k-plan  ·  3Comments

Kapot picture Kapot  ·  3Comments

Invictaz picture Invictaz  ·  3Comments

1021683053 picture 1021683053  ·  3Comments

pgferr picture pgferr  ·  3Comments