pacman -S clang

shows me version clang-5.0.0-1

and then install clang-5.0.0-1-x86_64

What kind of magic do I need to perform to install clang in version 6?

Performing pacman -Syu clang doesn't help (clang 5 is already installed).

Output from a command:

[root@27a829640c2f user]# pacman -Syu clang
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
warning: clang-5.0.0-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) clang-5.0.0-1

Total Installed Size:  273.41 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n]  

https://www.archlinux.org/packages/?sort=&arch=x86_64&repo=Extra&q=clang&maintainer=&flagged= shows version 6.

  • pacman -Syu clang – jasonwryan May 29 '18 at 15:48
  • @jasonwryan performed, didn't help – NoMoreMrNiceGaius May 29 '18 at 16:09
  • 1
    post your repo config – Outurnate May 29 '18 at 16:34
  • 2
    Was this accidentally flagged as "off topic"? I don't see any evidence yet that the problem has gone away. – Jeff Schaller May 29 '18 at 16:40
  • 1
    I don't have clang installed, but when trying to install, v 6.0.0-1 is the candidate. – Bruno9779 May 29 '18 at 18:20

If there is an updated version of a package in the repositories and pacman can't find it, there are one of three issues.

  1. Your local database is out-of-sync with the mirror, so you have to fix that with pacman -Syu.

  2. The mirror(s) that you are syncing with are out of date. So you have to find and configure up-to-date mirrors.

  3. The package is in a repo that you haven't enabled in your pacman.conf.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.