我花了两个小时尝试在 Ubuntu 12.04 上安装 Skype,但出现错误
Extracting templates from packages: 100%
dpkg: error: unable to create new file '/var/lib/dpkg/info/format-new': Is a directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
任何帮助将不胜感激 !!!
答案1
要安装 Skype,请添加 Canonical Partner Repository。打开终端并运行以下命令:
sudo apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt-get update
在 Ubuntu 32 位上安装 Skype:
wget -O skype.deb http://download.skype.com/linux/skype-ubuntu_4.0.0.8-1_i386.deb
sudo apt-get install libxss1
sudo dpkg -i skype.deb
sudo apt-get -f install
在 Ubuntu 64 位上安装 Skype:
wget -O skype.deb http://download.skype.com/linux/skype-ubuntu_4.0.0.8-1_amd64.deb
sudo apt-get install libxss1 lib32stdc++6 lib32asound2 ia32-libs libc6-i386 lib32gcc1
sudo dpkg -i skype.deb
sudo apt-get -f install