我正在使用基本OS Freya。我无法安装Skype。我已经格式化了笔记本电脑,并安装了Freya(两次),同样的事情。无法安装Skype,出现相同错误:

luffy@luffy-Satellite-C850-B797:~$ sudo apt-get install skype
[sudo] password for luffy: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 skype : Depends: skype-bin but it is not installable
E: Unable to correct problems, you have held broken packages.


更新,其他请求的输出:


grep -r "^deb" /etc/apt/sources.list*
echo q | aptitude -s install skype
apt-get -s -o Debug::pkgProblemResolver=yes install skype-bin
apt-cache policy xdg-user-dirs xdg-user-dirs-gtk xdg-user-dirs:i386 xdg-user-dirs-gtk:i386


评论

请编辑sudo apt-get install skype的输出并将其添加到问题中

您能否提供apt-cache策略$(apt-rdepends skype 2> / dev / null | grep“ ^ [a-zA-Z]” | sort | paste -s -d“”)的输出?顺便说一句,您需要安装apt-rdepends,使用sudo apt-get install apt-rdepends

tnx @Sneetsher,我按照您的建议做了,我得到了:Link

试试这个:askubuntu.com/questions/488053/how-to-install-skype-4-3

@ ericb1925,您可以在这里加入聊天室吗?

#1 楼

这是在需要用其他拱门卸下或更换包装时,使用unmet dependencies的正常结果(apt-get)。该消息在aptitude命令中清晰可见:

  xdg-user-dirs : Conflicts: xdg-user-dirs:i386 but 0.15-1ubuntu3+elementary4~ubuntu14.04.1 is to be installed.
  xdg-user-dirs:i386 : Conflicts: xdg-user-dirs but 0.15-1ubuntu3+elementary4~ubuntu14.04.1 is installed.




用i386 arch安装xdg-user-dirs-gtk并替换掉amd64一个。

sudo apt-get install xdg-user-dirs-gtk:i386


它应该仅除去两个软件包并安装两个。删除:xdg-user-dirs-gtk:amd64xdg-user-dirs:amd64,安装:xdg-user-dirs-gtk:i386xdg-user-dirs:i386


现在,安装skype

sudo apt-get install skype


如果不起作用尝试在没有推荐软件包的情况下安装Skype。

sudo apt-get install --no-install-recommends skype


(通常推荐的软件包用于中型选件)




这里的信息要求帮助调试问题:



检查是否启用了所有存储库组件和更新通道

grep -r "^deb" /etc/apt/sources.list*



使用apt调试选项跟踪依赖项解析器

apt-get -s -o Debug::pkgProblemResolver=yes install skype-bin
echo q | aptitude -s install skype



可用的冲突软件包版本

apt-cache policy xdg-user-dirs xdg-user-dirs-gtk xdg-user-dirs:i386 xdg-user-dirs-gtk:i386



但是,我仍然认为这是程序包依赖项中的错误。