Giter Site home page Giter Site logo

Comments (5)

stennie avatar stennie commented on September 27, 2024

Hi @venorme ,

all of them return Prebuilt binaries for linux-x86_64 6.0.11 do not appear to be available.

I suspect the problem is that generic Linux tarballs were retired circa MongoDB 4.2 and are no longer a valid fallback option if the distro detection doesn't match for newer releases. Since Neon is based on Ubuntu, the expected behaviour would be to detect the corresponding Ubuntu release.

Can you please confirm:

  • output of: m --version

  • output of: lsb_release -a

  • output of: cat /etc/lsb-release

Tried 4.0, 5.0, 6.0 and 7.0.

Per the MongoDB Production Notes, Ubuntu 22.04 support is only available for 6.0.4+ versions, so only "6.0" and "7.0" might work out of those options. If you need a legacy version of MongoDB server for some reason, I would use a supported O/S in a container environment.

Right now I have 3.7.9 installed using m

If that is MongoDB server 3.7.9 (an early development build prior to the 4.0 GA release) I would definitely upgrade to a stable version (ideally both stable and supported, but one step at a time).

Regards,
Stennie

from m.

stennie avatar stennie commented on September 27, 2024

Hi @venorme,

I had time to spin up a test with KDE Neon and committed a fix.

Updating to the latest m (1.8.8) should resolve your install issue for MongoDB 6.0.4+ server versions on Neon.

Note: m will try to fallback to tarballs for older versions of Ubuntu if you ask for an unsupported combo (for example, trying 20.04 binaries for MongoDB 5.0) but this will likely lead to dependency errors that require some manual intervention.

Regards,
Stennie

from m.

venorme avatar venorme commented on September 27, 2024

Thanks alot @stennie.
We are using m exactly to test dbs for breaking changes for legacy project updates.

from m.

venorme avatar venorme commented on September 27, 2024

Not sure if I should open separate issue or post it here but they seem connected.
After this update I am able to install all 3.x versions and all 4.4 versions. But all 4.2 versions give same error about not having prebuilt binaries. It would be understandble if 4.x versions were unavailable at all because of Ubuntu 22.04. So far 3.x, 4.4 and 5.3 versions work just fine and only 4.2 versions seem to beinconsistent.Whichisboth wierdand bad since there is no mongo upgrade path from 3.x without 4.2.
m --version 1.8.8
cat /etc/lsb-release
DISTRIB_ID=neon DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="KDE neon 5.27"

from m.

stennie avatar stennie commented on September 27, 2024

Hi @venorme,

Best to create a new issue for issues that have already been closed since this is a slightly different problem (I'll copy your post). Per my earlier response, you may run into dependency issues for combinations of version & O/S that MongoDB doesn't support but m should at least be able to download binaries for 4.2.

For example, MongoDB 4.4 wants a lib which isn't available in Ubuntu 22.04 by default:

error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

Regards,
Stennie

from m.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.