Having current issues with Rust

Report Bugs, Issues and non- package Requests
Message
Author
User avatar
ph3arr3t
Posts: 28
Joined: Sat Apr 02, 2022 10:10 am

Having current issues with Rust

#1 Post by ph3arr3t »

Current system is Asus ROG Strix G15. running MX-21.1_ahs Wildflower.
only issue is I installed Rust and tried to compile/install asusctl from github.... but it seems that this version of asusctl requires a newer version of rust. can't install overtop of existing install and unable to update or uninstall. can some version of this program be compiled into the repository, or assistance on how to correct this issue please. Great work on the distro btw, love that almost everything was recognized on install. Those that are missing seem to be available in this program. Fan control speed and a few sensors are primarily what doesn't work presently. 9_9
Current project system AMD Ryzen 9 5900HX w/ Radeon graphics & NVIDIA GeForce RTX 3050
Dualbooting MX-Linux and Windows 10 fully matrix themed throughout

User avatar
AVLinux
Posts: 3188
Joined: Wed Jul 15, 2020 1:15 am

Re: Having current issues with Rust

#2 Post by AVLinux »

Hi,

I'm a bit unclear where you got Rust from? MX Repos? or from the Rust site itself? https://rustup.rs/

User avatar
ph3arr3t
Posts: 28
Joined: Sat Apr 02, 2022 10:10 am

Re: Having current issues with Rust

#3 Post by ph3arr3t »

Sorry, yes got the rust.sh from their main site rustup.io
Error is
Older than 2021 edition, only supports 2015, 2018
Makefile:116 build error 101
Current project system AMD Ryzen 9 5900HX w/ Radeon graphics & NVIDIA GeForce RTX 3050
Dualbooting MX-Linux and Windows 10 fully matrix themed throughout

User avatar
ph3arr3t
Posts: 28
Joined: Sat Apr 02, 2022 10:10 am

Re: Having current issues with Rust

#4 Post by ph3arr3t »

At least the Readme in asusctl states that site..
There was an install, seems to be 2018 version, but now a newer version is needed.
Current project system AMD Ryzen 9 5900HX w/ Radeon graphics & NVIDIA GeForce RTX 3050
Dualbooting MX-Linux and Windows 10 fully matrix themed throughout

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Having current issues with Rust

#5 Post by JayM »

Rustup.io returns a 404 error.
Instead of compiling from source why not install rust from MX Package Installer, Stable Repo tab? If you right-click on each package then click More Info it will give you a detailed description of each one so you can decide which packages you need.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
ph3arr3t
Posts: 28
Joined: Sat Apr 02, 2022 10:10 am

Re: Having current issues with Rust

#6 Post by ph3arr3t »

Sorry I had the url wrong.
cargo is in stable repo and 0.47.0-3+b1 is installed
I uninstalled/reinstalled cargo with package manager,
And still getting the same message about update needed....

Uninstalled cargo
Messages...
Unable to find cargo
Unable to find rust
curl installer still says rust is installed... /usr/bin
apt uninstall...
Nothing to Uninstall...
can't install rustup alongside Rust
rustup command not found.
Current project system AMD Ryzen 9 5900HX w/ Radeon graphics & NVIDIA GeForce RTX 3050
Dualbooting MX-Linux and Windows 10 fully matrix themed throughout

User avatar
ph3arr3t
Posts: 28
Joined: Sat Apr 02, 2022 10:10 am

Re: Having current issues with Rust

#7 Post by ph3arr3t »

Run make...
Make cargo no such....
Error 127
curl script still states cargo is installed. How?
Current project system AMD Ryzen 9 5900HX w/ Radeon graphics & NVIDIA GeForce RTX 3050
Dualbooting MX-Linux and Windows 10 fully matrix themed throughout

User avatar
ph3arr3t
Posts: 28
Joined: Sat Apr 02, 2022 10:10 am

Re: Having current issues with Rust

#8 Post by ph3arr3t »

the problem was the version posted in the repo was either numbered differently or to low a version to compile asusctl
so I tracked down the install .sh was able to get it to run, then there was an update to asusctl,
I tried to install new version of cargo over old, delete and clean install... had all those issues I posted prior
the problem is asusctl (https://gitlab.com/asus-linux/asusctl)
states "Requirements are rust >= 1.57 installed from rustup.io if the distro provided version is too old" I know the 404, they don't
they do state --- curl, https://sh.rustup.rs | sh
repo has cargo 0.47.0-3+b1

I eventually resolved the issue by reloading the entire system.
so currently I guess I am forced to wait for cargo to be updated enough for me to be able to install the software to fully control my laptop,
mind you asusctl is a wip so I don't really mind as it gives them more time t fix the bugs.
I do however hope there will be a way for this program to be added to the repo to avoid the version and compile issues I have experienced.
Current project system AMD Ryzen 9 5900HX w/ Radeon graphics & NVIDIA GeForce RTX 3050
Dualbooting MX-Linux and Windows 10 fully matrix themed throughout

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Having current issues with Rust

#9 Post by JayM »

To request new or updated software packages be added to the MX Repositories, please read these instructions first, then post your request in a new topic in the appropriate Package Requests/Status subforum for your version of MX: 21 or 19.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
bassplayer69
Posts: 69
Joined: Wed Dec 25, 2019 5:37 pm

Re: Having current issues with Rust

#10 Post by bassplayer69 »

Have you looked here? Seems pretty straight forward:

https://www.rust-lang.org/tools/install
"The world is full of kings and queens, who blind your eyes and steal your dreams. It's Heaven and Hell." - Ronnie James Dio
Linux Registered User #450992 (defunct)

Post Reply

Return to “Bugs and Non-Package Requests Forum”