I have Ubuntu debian 20.04.4 and installed R studio. But i have the version R 3.6.4. and it says that this is the newest version but thats not true, the new version is something with 4... I removed rbase and rstudio from terminal and reinstall but it is still the same.
It seems you haven't added the gpg key correctly, have you followed the installation instructions?
sudo apt update -qq
# install two helper packages we need
sudo apt install --no-install-recommends software-properties-common dirmngr
# add the signing key (by Michael Rutter) for these repos
# To verify key, run gpg --show-keys /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
# Fingerprint: E298A3A825C0D65DFD57CBB651716619E084DAB9
wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
# add the R 4.0 repo from CRAN -- adjust 'focal' to 'groovy' or 'bionic' as needed
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
hi thanks for answering so fast, but i cant even update now, when i am typing "sudo apt update -qq" i get. I am really new to linux/ubuntu so i could need every help