由于未满足依赖关系,升级无法进行

由于未满足依赖关系,升级无法进行
bash: /home/pjotrs/.rvm/scripts/rvm: No such file or directory
bash: /home/pjotrs/.rvm/scripts/rvm: No such file or directory


E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
pjotrs@pjotrs-desktop:~$ sudo lsof /var/lib/dpkg/lock
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/pjotrs/.gvfs
      Output information may be incomplete.
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME
update-ma 3440 root   56uW  REG    8,1        0 14942841 /var/lib/dpkg/lock
pjotrs@pjotrs-desktop:~$ sudo kill -TERM 3440
pjotrs@pjotrs-desktop:~$ 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:
 libc-l10n : Breaks: locales (< 2.21-1) but 2.13+git20120306-3 is installed
E: Unmet dependencies. Try using -f.

我正在尝试安装升级。但是它一直出现上述错误。我该如何解决这个问题?

答案1

好吧,既然我无法评论,请先上传您的sources.list文件。暂时执行以下操作:

$ sudo apt-get clean

$ sudo apt-get 更新

$ sudo apt-get 升级

相关内容