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

Installing clang from ubuntu package repository fails #46

Closed
1 of 5 tasks
rashedmyt opened this issue Oct 17, 2019 · 5 comments
Closed
1 of 5 tasks

Installing clang from ubuntu package repository fails #46

rashedmyt opened this issue Oct 17, 2019 · 5 comments

Comments

@rashedmyt
Copy link

Describe the bug
I have done sudo apt install clang-6.0. The build crashed due to that. The existing clang in ubuntu is not from the ubuntu package repository.

Virtual environments affected

  • macOS 10.14
  • Ubuntu 16.04 LTS
  • Ubuntu 18.04 LTS
  • Windows Server 2016 R2
  • Windows Server 2019

Expected behavior
Should exit gracefully.

Actual behavior
Exits abruptly with following message

The following packages have unmet dependencies:
 libclang-6.0-dev : Depends: libclang1-6.0 (= 1:6.0-1ubuntu2) but 1:6.0.1~svn334776-1~exp1~20190309042703.125 is to be installed
                    Depends: libclang-common-6.0-dev (= 1:6.0-1ubuntu2) but 1:6.0.1~svn334776-1~exp1~20190309042703.125 is to be installed
E: Unable to correct problems, you have held broken packages.
##[error]Process completed with exit code 100.
@fanatid
Copy link

fanatid commented Dec 10, 2019

Similar error for clang-format:

Run sudo apt-get install clang-format
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 clang-format : Depends: clang-format-6.0 (>= 6.0~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
##[error]Process completed with exit code 100.

woodruffw added a commit to trailofbits/krf that referenced this issue Dec 24, 2019
@NilsIrl
Copy link
Contributor

NilsIrl commented Jan 2, 2020

Following https://apt.llvm.org/ doesn't seem to work either

@NilsIrl
Copy link
Contributor

NilsIrl commented Jan 2, 2020

#104 (comment)

works

@github-actions
Copy link
Contributor

This issue has not had any activity for 45 days and will be closed in 45 days if there continues to be no activity.

@maxim-lobanov
Copy link
Contributor

Hi!
I am closing this issue since CLang was preinstalled to Ubuntu images in scope of #104. Feel free to reopen if you still need any help

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

4 participants