Closed yahya-mohammed07 closed 2 years ago
USING UBUNTU: 22.04.1
writing these commands gave me: -bash: /etc/apt/sources.list.d/wsl-transdebian.list: Permission denied #19
sudo -s chmod a+r /etc/apt/trusted.gpg.d/wsl-transdebian.gpg sudo -s cat << EOF > /etc/apt/sources.list.d/wsl-transdebian.list
deb https://arkane-systems.github.io/wsl-transdebian/apt/ $(lsb_release -cs) main deb-src https://arkane-systems.github.io/wsl-transdebian/apt/ $(lsb_release -cs) main EOF -bash: /etc/apt/sources.list.d/wsl-transdebian.list: Permission denied
You should be running sudo -s once to get a root shell before running the listed commands, not prefixing it to them.
sudo -s
USING UBUNTU: 22.04.1
writing these commands gave me: -bash: /etc/apt/sources.list.d/wsl-transdebian.list: Permission denied #19
sudo -s chmod a+r /etc/apt/trusted.gpg.d/wsl-transdebian.gpg sudo -s cat << EOF > /etc/apt/sources.list.d/wsl-transdebian.list