Skype Alpha 安装问题 ubuntu 16.10

Skype Alpha 安装问题 ubuntu 16.10

最近我在安装 Skype DEB 或通过存储库时遇到了这个问题:

https://www.skype.com/en/download-skype/skype-for-linux/downloading-web/?type=weblinux-deb

查看日志:

Gtk-WARNING **: Theme directory  imported-Humanity/192 of theme Lubuntu has no size field
A seleccionar pacote anteriormente não seleccionado libpango1.0-0:amd64.
(Lendo banco de dados ... 228056 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../libpango1.0-0_1.40.1-1_amd64.deb ...
A descompactar libpango1.0-0:amd64 (1.40.1-1) ...
Configurando libpango1.0-0:amd64 (1.40.1-1) ...
A seleccionar pacote anteriormente não seleccionado skypeforlinux.
(Lendo banco de dados ... 228063 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../skypeforlinux_1.6.0.3_amd64.deb ...
A descompactar skypeforlinux (1.6.0.3) ...
Configurando skypeforlinux (1.6.0.3) ...
Warning: The postinst maintainerscript of the package skypeforlinux
Warning: seems to use apt-key (provided by apt) without depending on gnupg or gnupg2.
Warning: This will BREAK in the future and should be fixed by the package maintainer(s).
Note: Check first if apt-key functionality is needed at all - it probably isn't!
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package skypeforlinux)
OK
/etc/aptsources.list.d is not a folder
dpkg: erro ao processar o pacote skypeforlinux (--install):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
A processar 'triggers' para hicolor-icon-theme (0.15-1) ...
A processar 'triggers' para desktop-file-utils (0.23-1ubuntu1) ...
A processar 'triggers' para mime-support (3.60ubuntu1) ...

有解决问题的想法吗?

答案1

编辑/var/lib/dpkg/info/skypeforlinux.postinst和替换

FULLSOURCEDIR=$ROOTFOLDER$ETCFOLDER$SOURCEDIR

FULLSOURCEDIR=$ROOTFOLDER$ETCFOLDER/$SOURCEDIR

然后运行

sudo apt-get -f install

答案2

要安装 Skype,您需要首先启用 Canonical 合作伙伴:

$ sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"

然后运行以下命令:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install skype
skype

或者您可以按照描述的步骤安装它这里

`# 确保您已安装 'apt-transport-https'

dpkg -s apt-transport-https > /dev/null || bash -c "sudo apt-get update; sudo apt-get install apt-transport-https -y" 
curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add - 
echo "deb [arch=amd64] https://repo.skype.com/deb stable main" | sudo tee /etc/apt/sources.list.d/skype-stable.list 
sudo apt-get update 
sudo apt-get install skypeforlinux -y 

` 编辑

Skype for Linux Alpha 依赖于用于存储凭据的软件包gnome-keyringlibgnome-keyring0这两个包均作为 Skype for Linux Alpha 包的依赖项安装。

sudo apt-get update
sudo apt-get install gnome-keyring
sudo apt-get install libgnome-keyring0

相关内容