自几周前以来,我一直在尝试在计算机上安装Skype。我以为这将是一项直截了当的任务,但它将成为一场噩梦。
到目前为止我尝试过的是:
最简单而且最有可能的人会尝试: sudo apt-get install skype
但不幸的是,我得到了这一点:
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
E: Unable to correct problems, you have held broken packages.
如果我尝试sudo apt-get intall skype-bin
得到:
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-bin:i386 :
Depends: libqt4-dbus:i386 (>= 4:4.5.3) but it is not going to be installed
Depends: libqt4-network:i386 (>= 4:4.8.0) but it is not going to be installed
Depends: libqt4-xml:i386 (>= 4:4.5.3) but it is not going to be installed
Depends: libqtcore4:i386 (>= 4:4.7.0~beta1) but it is not going to be installed
Depends: libqtgui4:i386 (>= 4:4.8.0) but it is not going to be installed
Depends: libqtwebkit4:i386 (>= 2.2~2011week36) but it is not going to be installed
Recommends: sni-qt:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
那之后,我试图用类似的命令sudo apt-get clean
,sudo apt-get update
,sudo apt-get autoclean
并且sudo apt-get -f install
,除其他外,为了解决与包依赖任何问题,但它是完全失败的。
我已经按照此处说明的说明进行操作(如何安装Skype?),但是它也不起作用。
如果我尝试从Software Center安装,则会收到与sudo apt-get install skype
从终端运行完全相同的错误。
也失败,我得到以下错误:
skype:取决于:skype-bin,但这是一个虚拟软件包。
我还按照此处描述的说明进行操作:
community.skype.com/t5/Linux/无法安装到未满足的依赖关系-Skype-bin / mp / 1339650 / highlight / true#M3329
大部分都一样,也不起作用。
从http://www.skype.com/zh-CN/download-skype/skype-for-linux/downloading/?type=ubuntu64下载skype-ubuntu-precise_4.1.0.20-1_i386.deb之后,我尝试安装它软件中心,但显示以下错误:
无法安装'lbqt4-dbus:i386'
我已尝试通过遵循这篇文章(添加PPA后如何解决未满足的依赖关系?)来解决软件包的任何可能问题,但是没有用。
如果我尝试遵循https://help.ubuntu.com/community/Skype中解释的说明,则在运行时会遇到问题sudo dpkg --add-architecture i386
,我得到以下信息:
dpkg:错误:未知选项--add-architecture
我还通过遵循我发现的其他帖子和解决方案尝试了其他方法,但是这些方法对我没有用。在这一点上,我已经完全迷路了,我不知道还能做什么。我希望有人能提出任何解决方案。
这是我的sources.list的内容,以防万一:
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ precise main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu precise main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://archive.canonical.com/ precise partner
deb-src http://archive.canonical.com/ precise partner
好的,我已经找到解决问题的方法。我已按照此处描述的步骤操作:http : //rumytaulu.wordpress.com/2012/10/26/cant-install-ia32-libs-and-ia32-libs-multiarch-how-to-fix-it/
在那之后,我干脆跑了sudo apt-get install skype
……瞧,它起作用了!
我必须说我有负面后果。sudo apt-get dist-upgrade
按照第三步所述运行后,如果运行,将得到以下信息sudo apt-get autoremove
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-efi-amd64 (1.99-21ubuntu3.9) ...
/var/lib/dpkg/info/grub-efi-amd64.postinst: line 684: grub-install: command not found
dpkg: error processing grub-efi-amd64 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of grub-efi-amd64-signed:
grub-efi-amd64-signed depends on grub-efi-amd64 (>= 1.99-21ubuntu3.5); however:
Package grub-efi-amd64 is not configured yet.
dpkg: error processing grub-efi-amd64-signed (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
grub-efi-amd64
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
幸运的是,一切正常,但是现在我想用Grub软件包解决该问题,特别是因为它与Grub有关,这非常重要。我只是想知道我是否还能在启动计算机时发现其他意外问题...
好吧,如果我设法解决这种不良后果,我将更新此答案。如果有人知道该怎么做,请告诉我。
更新:
我设法通过GRUB程序包解决了该问题,并在此处描述了该问题和解决方案:无法修复损坏的程序包系统
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句