4 ms·
This is what my terminal shows: sudo curl https://repo.waydro.id/waydroig.gpg https://repo.waydro.id/waydroig.gpg > /usr/share/keyrings/waydroid.gpg && echo "d
by hereme888 5y ago
This is what my terminal shows:
sudo curl https://repo.waydro.id/waydroig.gpg https://repo.waydro.id/waydroig.gpg > /usr/share/keyrings/waydroid.gpg && echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ https://repo.waydro.id/ $DISTRO main" > /etc/apt/sources.list.d/waydroid.list && \
> echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ https://repo.waydro.id/ $DISTRO main" > /etc/apt/sources.list.d/waydroid.list && \
> sudo apt update
bash: /usr/share/keyrings/waydroid.gpg: Permission denied
- marcodiego 5y agoYou are not pasting the command I typed. Look with attention.
- hereme888 5y agosorry, I'm just not getting it. After typing: export DISTRO="bullseye" I do the sudo curl....waydroing.gpg and it gives me the permission denied thing. I also tried with "focal" and yielded the same result. Maybe I'll leave the project for now until I get a better grasp of the terminal.
- marcodiego 5y agoTry one command at a time: export DISTRO="focal" sudo curl https://repo.waydro.id/waydroid.gpg https://repo.waydro.id/waydroid.gpg > /usr/share/keyrings/waydroid.gpg sudo echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ https://repo.waydro.id/ $DISTRO main" > /etc/apt/sources.list.d/waydroid.list sudo apt update
- potyl 5y agoTry this command (sudo is needed only for writing files): DISTRO="focal" sudo curl https://repo.waydro.id/waydroid.gpg -o /usr/share/keyrings/waydroid.gpg echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ $DISTRO main" | sudo tee /etc/apt/sources.list.d/waydroid.list sudo apt update sudo apt install waydroid
- tyroh 5y agothis worked for me, thank you very much potyl!
- hereme888 5y agoOh it almost worked! I got as far as the apt install waydroid this time. However, it gave me this error: The following packages have unmet dependencies: python3-gbinder : Depends: python3 (< 3.9) but 3.9.4-1 is to be installed How do I downgrade python?
- sxldier 5y agoWhen invoking `sudo`, you're escalating privileges on the command followed but that doesn't apply to the redirection of output (`>`). So it's saying permission denied to write to the files. You'll need to do something like `curl | sudo tee /path/to/file`. Same with `echo`.