why when installing rust build fails

sudo: unable to send audit message: Operation not permitted Running snippet curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs | sh info: downloading installer rustup: Unable to run interactively. Run with -y to accept defaults, --help for additional options Error: building at STEP "RUN --mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw --mount=type=bind,from=stage-modules,src=/modules,dst=/tmp/modules,rw --mount=type=bind,from=ghcr.io/blue-build/cli:4f235be4f7ec2aa1a462565f4ba797554ac62edb-build-scripts,src=/scripts/,dst=/tmp/scripts/ --mount=type=cache,dst=/var/cache/rpm-ostree,id=rpm-ostree-cache-meme-os-latest,sharing=locked /tmp/scripts/run_module.sh 'script' '{"type":"script","snippets":["curl -L https://urbit.org/install/linux-x86_64/latest | sudo tar xzk --transform='s/.*/urbit/g' -C /usr/bin && sudo chmod +x /usr/bin/urbit","curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"],"scripts":["initramfs.sh","remove-wp.sh"]}' && ostree container commit": while running runtime: exit status 1 ERROR => Failed to build oci-archive:/etc/bluebuild/meme-os.tar.gz
43 Replies
thaleous
thaleous2mo ago
i should use this? curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
xyny
xyny2mo ago
rustup - Fedora Packages
View rustup in the Fedora package repositories. rustup: Manage multiple rust installations with ease
xyny
xyny2mo ago
it won't install rust though, just rustup, which is used to manage the rust environment
thaleous
thaleous2mo ago
i want rust too
xyny
xyny2mo ago
it will install to your home directory afaik so it wouldn't work in the container build anyway
thaleous
thaleous2mo ago
the script that i wrote?
xyny
xyny2mo ago
if you just want to bake in the latest version of rust you can also install it from fedora https://packages.fedoraproject.org/pkgs/rust/rust/
rust - Fedora Packages
View rust in the Fedora package repositories. rust: The Rust Programming Language
xyny
xyny2mo ago
but that is not recommended because you might need different versions of rust, and when installing it from fedora repos it will only update when your image is updated
thaleous
thaleous2mo ago
aah makes sense
xyny
xyny2mo ago
i don't know of any script you wrote
thaleous
thaleous2mo ago
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh -s -- -y snippet
xyny
xyny2mo ago
oh, yeah, that, the snippet from the rust website, yeah
thaleous
thaleous2mo ago
itll install to home dir? i dont think so
xyny
xyny2mo ago
that's meant for local usage yeah
thaleous
thaleous2mo ago
so that should work better than using fedora's
Want results from more Discord servers?
Add your server