Can';t在Ubuntu 19.10上安装r-base;未满足的依赖关系r-推荐

Can';t在Ubuntu 19.10上安装r-base;未满足的依赖关系r-推荐,r,ubuntu,dependencies,R,Ubuntu,Dependencies,一般来说,我是Ubuntu(19.10;eoan)的新手,目前正在尝试安装r-base。安装了r-base-dev。 当我这样做时,我得到以下信息: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages h

一般来说,我是Ubuntu(19.10;eoan)的新手,目前正在尝试安装r-base。安装了r-base-dev。 当我这样做时,我得到以下信息:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 r-base : Depends: r-recommended (= 3.6.2-1xenial) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我已使用以下线程尝试修复我的问题,但没有任何成功

对于这一部分,我停在“禁用/删除/清除PPA:”部分。因为我无法理解这个过程


我将感谢任何解决我的问题的解决方案或建议。

如果没有关于您实际尝试的内容(以及订单)的更多信息,很难尝试并确定它不起作用的原因,但我最近自己在19.10上安装了它。我用了下面的方法

# Get the key from the keyserver.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9

# Add the repository to your sources.list. Make sure that it does not already exist
# and that it is not a typo in there. Making a backup of the file before running the
# next line is useful.
echo "deb https://cloud.r-project.org/bin/linux/ubuntu eoan-cran35/" | sudo tee -a /etc/apt/sources.list

# Install base, dev and other dependencies.
sudo apt install r-base r-base-dev r-cran-curl r-cran-openssl r-cran-xml2 libssl-dev libxml2-dev libcurl4-openssl-dev

它对我来说毫无问题。将正确的存储库添加到
源中非常重要。请列出
。根据错误消息判断,您使用的存储库是指Ubuntu Xenial而不是Ubuntu Eoan。

前两个命令工作正常。”sudo apt install r-base r-base-dev r-cran-curl r-cran-openssl r-cran-xml2 libssl dev libxml2 dev libcurl4 openssl dev’提供了更多依赖项。我试着用“atitute”软件包来解决这个问题,效果很好。我无法解释发生了什么事,但它起了作用。