源代码列表无法读取Ubuntu 16.04

我正在尝试更新我的软件包,我不断收到错误说,

E: Malformed entry 52 in list file /etc/apt/sources.list (Component) E: The list of sources could not be read 

当我跑

 sudo nano /etc/apt/sources.list 

我在第52行得到了这些代码

 deb http://cran.rstudio.com/bin/linux/ubuntu xenial 

deb http://cran.rstudio.com/bin/linux/ubuntu xenial任何人有任何想法,我试图写xenial合作伙伴但无济于事。 任何帮助将非常感谢。 谢谢

根据UBUNTU PACKAGES FOR R ,针对xenial版本的cran存储库的正确deb条目是( 注意尾随斜杠 /

 deb http://cran.rstudio.com/bin/linux/ubuntu xenial/ 

这似乎是一个相当模糊的语法点:这些条目的一般forms是

 deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...] 

但是来自man sources.list

  The URI for the deb type must specify the base of the Debian distribution, from which APT will find the information it needs. suite can specify an exact path, in which case the components must be omitted and suite must end with a slash (/) . This is useful for the case when only a particular sub-directory of the archive denoted by the URI is of interest. If suite does not specify an exact path, at least one component must be present. 

这是这种情况。