Comments (5)
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.
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.
Thanks alot @stennie.
We are using m exactly to test dbs for breaking changes for legacy project updates.
from m.
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.
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)
- ANSI colour coding not working with printf in bash 3.2 (shipped with macOS)
- Add version-based support for native arm64 binaries on macOS when available HOT 1
- Add more context on what to do if the "build from source" path is taken HOT 1
- Warn if $M_PREFIX/bin isn't included in current $PATH
- Adjust --stable for 5.0+ versioning scheme HOT 1
- Database tools are not available for macOS arm64 HOT 1
- Add version-based support for native arm64 Database Tools on macOS when available
- `m latest` outputs 226.0.1 HOT 2
- Warning being shown when running the tool HOT 2
- `m ls` error : command not found HOT 1
- Update detection for supported Linux distros as at MongoDB 6.0 HOT 1
- Not able to run m commands (Windows) HOT 2
- 4.0 and 4.2 incorrectly identified as enterprise, $active includes "-ent"
- RFE: Install mongosh HOT 2
- git: should be replaced with https: HOT 2
- Does not work with Ubuntu 22.04 HOT 6
- Prebuilt binaries for linux-x86_64 4.2.0 do not appear to be available for Ubuntu 22 HOT 1
- 6.0+ m mongo HOT 1
- Add info on installing mongosh via brew for macOS users
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m.