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

Yum issue while installing isulad #9

Open
varanasiroshan2001 opened this issue Jan 4, 2024 · 4 comments
Open

Yum issue while installing isulad #9

varanasiroshan2001 opened this issue Jan 4, 2024 · 4 comments

Comments

@varanasiroshan2001
Copy link

Describe the bug
While i am installing the isulad container engine, the things we write in the yum file isnt working, its telling that it failed to get any thing named isulad from the openeuler repository. The baseURL might be the issue. I tried with the gpg check key to be imported but the key you provided is coming with the error of "import read failed" or due to the not providing of the mirror list. So, due to there the isulad container engine installation work is stopped.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'A VM in AWS or any linux OS then go to root user'

  2. Click on 'the /etc/yum.repos.d/*.repo file and paste the baseurl and other things'

  3. Scroll down to 'the terminal and write the yum install isulad -y then it will show the error' below
    image

  4. See error
    After that as i do with the gpg alternative you provided it shows read failed error
    image

Expected behavior
You will not be able to install the isulad

Screenshots
Added up above

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] Latest
@jianminww
Copy link

@varanasiroshan2001 Could you provide the content of your repo file (etc/yum.repos.d/*.repo) which you add openEuler
baseurl into ? It looks like the baseurl is wrong. And also if you could provide the url of website you refer to, it will be easier to let me help you.

  • This is wrong: https://repo.openeuler.org/openEuler-22.03-LTS/os/\x86_64/repodata/repomd.xml
  • This is right: https://repo.openeuler.org/openEuler-22.03-LTS/OS/x86_64/repodata/repomd.xml

@varanasiroshan2001
Copy link
Author

varanasiroshan2001 commented Jan 5, 2024

I got this from your official installation links only which you gave in the Codeheat ISSUE of installing isulad and when i went for that page this was the repo code in that read me file from
https://github.com/openeuler-mirror/iSulad?tab=readme-ov-file#getting-started I guess there is a small backslash issue before $basearch in that file due to which this bug rose yes

image

@jianminww
Copy link

I got this from your official installation links only which you gave in the Codeheat ISSUE of installing isulad and when i went for that page this was the repo code in that read me file from https://github.com/openeuler-mirror/iSulad?tab=readme-ov-file#getting-started I guess there is a small backslash issue before $basearch in that file due to which this bug rose yes

@varanasiroshan2001 Thank you for your information.

You could try write openEuler.repo file by running the cat command, and not by copying and pasting the content of [openEuler] into openEuler.repo. Otherwise, you will got \$ in your openEuler.repo file which result the above error Error: Failed to download metadata for repo 'openEuler':

After you rewrite openEuler.repo, you could try run yum install -y iSulad again.

@varanasiroshan2001
Copy link
Author

I did exactly what you said via the cat command but check the below images, its still not getting installed but this time the baseurl issue got over but here the rest of the issues its not solving

image
image

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

2 participants