Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with installing any version on KDE Neon #92

Closed
venorme opened this issue Oct 14, 2023 · 5 comments
Closed

Issue with installing any version on KDE Neon #92

venorme opened this issue Oct 14, 2023 · 5 comments
Assignees

Comments

@venorme
Copy link

venorme commented Oct 14, 2023

Hello

Right now I have 3.7.9 installed using m
Somehow I can't install a single version using m - all of them return Prebuilt binaries for linux-x86_64 6.0.11 do not appear to be available.. Tried 4.0, 5.0, 6.0 and 7.0.
It might be an issue after my KDE neon updated to 22.04 base (as in #90). But solution there seems to be returning same do not appear to be available.
Not sure if KDE has changed how distro is detected and its no longer seen as Ubuntu 22.04.
Considering it used to work for 3.7.9 but stopped working now - can you suggest any way for me work around it?
Using m is quite indispensible for development so can`t imagine myself not using it.

@stennie stennie self-assigned this Oct 17, 2023
@stennie stennie added the bug label Oct 17, 2023
@stennie
Copy link
Collaborator

stennie commented Oct 17, 2023

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

@stennie
Copy link
Collaborator

stennie commented Oct 17, 2023

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

@stennie stennie closed this as completed Oct 17, 2023
@stennie stennie added enhancement and removed bug labels Oct 17, 2023
@venorme
Copy link
Author

venorme commented Oct 19, 2023

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

@venorme
Copy link
Author

venorme commented Oct 19, 2023

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"

@stennie
Copy link
Collaborator

stennie commented Oct 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants