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

URGENT: No Package manager installed with Mariner 2.0 #3878

Closed
adiiot-1316 opened this issue Sep 30, 2022 · 5 comments
Closed

URGENT: No Package manager installed with Mariner 2.0 #3878

adiiot-1316 opened this issue Sep 30, 2022 · 5 comments

Comments

@adiiot-1316
Copy link

Hi ,

I am trying to install few packages , but unfortunately no package manager like Dnf , TDNF, apt , yum is installed.
What could be the reason?
Is there a way to install the package manager manually using CURL etc?

Details of Mariner OS

DISTRIB_ID="Mariner"
DISTRIB_RELEASE="2.0.20220824"
DISTRIB_CODENAME=Mariner
DISTRIB_DESCRIPTION="CBL-Mariner 2.0.20220824"
CBL-Mariner 2.0.20220824
NAME="Common Base Linux Mariner"
VERSION="2.0.20220824"
ID=mariner
VERSION_ID="2.0"

Please let me know if you need any additional details.

@mfrw
Copy link
Member

mfrw commented Oct 1, 2022

This seems a little odd, can you please give more info on what are you using ?
Could you please give us some steps to repro this. What did you do, what was the expectation and what happened.
We do have rpm/tdnf installed in the image by default.

Please let me know if you need any additional details.

What is the output of:

  • which tdnf
  • which rpm
  • which yum

I unfortunately am unable to repro it, and it works as expected:

image

The az-cli command to spawn this vm:

az vm create --name test-vm --resource-group mfrw-rg --location centralindia --image MicrosoftCBLMariner:cbl-mariner:cbl-mariner-2:latest --os-disk-size-gb 32 --admin-username mfrw

@adiiot-1316
Copy link
Author

Thanks Wani for your prompt response,

I tried the above commands and below are the responses.

iotedge-user@iotedge-vm [ ~ ]$ which tdnf which: no tdnf in (/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin) iotedge-user@iotedge-vm [ ~ ]$ which yum which: no yum in (/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin) iotedge-user@iotedge-vm [ ~ ]$ which rpm which: no rpm in (/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin)

@mfrw
Copy link
Member

mfrw commented Oct 4, 2022

This is very strange :(

Please feel free to reach-out offline; we would want some post-mortem of this issue so that it does not happen again.

Also, can you please try to spawn a vm using the following command and see if you can hit the issue again:

az vm create --name test-vm --resource-group my-rg --location centralindia --image MicrosoftCBLMariner:cbl-mariner:cbl-mariner-2:latest --os-disk-size-gb 32 --admin-username azureuser

Please replace:

  • my-rg -> with your appropriate resource-group

@adiiot-1316
Copy link
Author

adiiot-1316 commented Oct 10, 2022

We have been using Azure Edge IoT i.e. azure iot edge for linux on windows (eflow) in which CBL Mariner is pre-installed. But no package manager is installed in that CBL mariner .

@christopherco
Copy link
Contributor

Hi @adiiot-1316 , this may actually be expected. EFLOW is a very purpose-built offering, whose composition may not include the package manager. Tagging @adithyaj and @josephknierman

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

No branches or pull requests

3 participants