Closed idc77 closed 1 year ago
this is probably from the package dependencies
the package manager is trying to install rustup since it wasn't installed through it, I'm not sure what's the optimal way to fix this issue, since I don't use Arch.
if you can recommend a fix for this that would be nice
@idc77 Pacman looks for the package rustup not the binary rustup, it can't see your locally installed rustup binary. You have two options to solve this, either by making a dummy package that provides
rust and cargo, so that when you install a program from the AUR that depends on rust, it will recognize the dummy package. or by uninstalling your current installation and install rustup from the arch repos then use rustup to install the toolchain, this is the recommended way since rustup will install the toolchain at ~/.rustup and pacman will recognize that you have rust installed, the only downside here is that you can't do rustup self update
because the package needs to be updated by pacman, and that's not really an issue because it will probably be updated quickly by the maintainers.
since this issue can't be solved from my side, I'm going to close it, thanks for providing a good explanation @mohad12211 :+1:
I, for one, have installed rustup outside of the community package. However when trying to install this package from the AUR I'm only presented with
There should be