immense / immense/Remotely

Clientinstallation: Linux Mint is not properly detected

Open
#398 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
5.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Linux Mint is based on Ubuntu but output of lsb_release does differ.

I did not put too much effort in it, but for now this qnd solution on "install-Ubuntu-x64.sh" (l.24ff) works for me:

#############################


if systemctl is-active remotely-agent; then
    echo already installed and running
    exit 0
fi

UbuntuVersion=$(lsb_release -r -s)
Distribution=$(lsb_release -i -s)
echo "found $Distribution $UbuntuVersion:"
if [ "$Distribution" == "LinuxMint" ] || [ "$Distribution" == "Linuxmint"  ]; then
        echo "Selecting suitable Version for Mint"
        if [ ${UbuntuVersion:0:2} == "19" ]; then
                UbuntuVersion=18.04
        elif [ ${UbuntuVersion:0:2} == "20" ]; then
                UbuntuVersion=20.04
        fi
fi

echo Distribution: \"$Distribution\"
echo UbuntuVersion $UbuntuVersion

wget -q https://packages.microsoft.com/config/ubuntu/$UbuntuVersion/packages-microsoft-prod.deb -O packages-microsoft-prod.deb


#############################################

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading install-Ubuntu-x64.sh around line 24 and reproduce its lsb_release output on Linux Mint. Compare the detected distribution and version with the installer’s existing package URL selection, then verify the script selects a supported Ubuntu package for Mint.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell, ubuntu
Domain
cli, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.