Skip to content

Install cargo only when it is missing#609

Merged
imobachgs merged 2 commits intomasterfrom
install-cargo-when-missing
Jun 7, 2023
Merged

Install cargo only when it is missing#609
imobachgs merged 2 commits intomasterfrom
install-cargo-when-missing

Conversation

@imobachgs
Copy link
Copy Markdown
Contributor

@imobachgs imobachgs commented Jun 7, 2023

Problem

If you install your Rust toolchain using rustup, running the setup-service.sh will fail with the following error:

Problem: the installed rustup-1.25.2~0-4.1.x86_64 conflicts with 'rust+cargo' provided by the to be installed cargo-1.69.0-1.1.x86_64
 Solution 1: deinstallation of rustup-1.25.2~0-4.1.x86_64
 Solution 2: do not install cargo-1.69.0-1.1.x86_64

Solution

Do not install cargo unless it is missing.

@coveralls
Copy link
Copy Markdown

coveralls commented Jun 7, 2023

Pull Request Test Coverage Report for Build 5197970484

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 75.686%

Totals Coverage Status
Change from base Build 5173879017: 0.0%
Covered Lines: 5396
Relevant Lines: 6890

💛 - Coveralls

Co-authored-by: Josef Reidinger <jreidinger@suse.cz>
@imobachgs imobachgs merged commit 09bdba1 into master Jun 7, 2023
@imobachgs imobachgs deleted the install-cargo-when-missing branch June 7, 2023 08:58
@imobachgs imobachgs mentioned this pull request Aug 2, 2023
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

Successfully merging this pull request may close these issues.

3 participants