Ubuntu 16.04 中的依赖关系损坏,软件包 libgstreamer0.10-0:am​​d64 尚未配置

Ubuntu 16.04 中的依赖关系损坏,软件包 libgstreamer0.10-0:am​​d64 尚未配置

我正在尝试在 ubuntu 16.04 中安装 RStudio,我已经安装了 r,但在安装 RStudio 时遇到问题

我这样做了:

wget --tries=3 --timeout=120 https://download1.rstudio.org/rstudio-1.1.383-amd64.deb

接下来是:

 sudo dpkg -i rstudio-*-amd64.deb

我得到了这个错误

(Reading database ... 224796 files and directories currently installed.)
Preparing to unpack rstudio-1.1.383-amd64.deb ...
Unpacking rstudio (1.1.383) over (1.1.383) ...
dpkg: dependency problems prevent configuration of rstudio:
 rstudio depends on libgstreamer0.10-0; however:
  Package libgstreamer0.10-0:amd64 is not configured yet.
 rstudio depends on libgstreamer-plugins-base0.10-0; however:
  Package libgstreamer-plugins-base0.10-0:amd64 is not configured yet.

dpkg: error processing package rstudio (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1)     ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
 rstudio

我知道有些包配置得不太好,这是什么意思,我该如何修复它。

我想也许如果我更新 ubuntu 它就可以工作了,所以我就更新了

sudo apt-get update

收到

Hit:1 http://cran.stat.ucla.edu/bin/linux/ubuntu xenial/ InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:3 http://ppa.launchpad.net/marutter/rrutter/ubuntu xenial InRelease        
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]     
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]    
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]  
Fetched 306 kB in 1s (279 kB/s)                                    
Reading package lists... Done

然后

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libgstreamer-plugins-base0.10-0 : Breaks: libgstreamer-plugins-    base0.10-0:i386 (!= 0.10.36-2ubuntu0.1) but 0.10.36-2 is installed
 libgstreamer-plugins-base0.10-0:i386 : Breaks: libgstreamer-plugins-    base0.10-0 (!= 0.10.36-2) but 0.10.36-2ubuntu0.1 is installed
 libgstreamer0.10-0 : Breaks: libgstreamer0.10-0:i386 (!= 0.10.36-1.5ubuntu1) but 0.10.36-1.5 is installed
 libgstreamer0.10-0:i386 : Breaks: libgstreamer0.10-0 (!= 0.10.36-1.5) but 0.10.36-1.5ubuntu1 is installed

E:未满足依赖关系。请尝试使用 -f。

我该怎么办,我做错了什么?

相关内容