我对 Linux 还不太熟悉,所以我想我应该从 Kubuntu 开始“简单”的学习。我遇到的问题是 Skype 无法安装。它不在 Muon Discover(软件中心)中,并且无法通过 Konsole 添加要安装的 repo。
因此,这是我收到的错误:
tyler@tyler-GA-78LMT-USB3:~$ sudo apt-get install skype
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package skype:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'skype:i386' has no installation candidate
我也刚刚尝试下载 .deb 文件并通过 Konsole 安装它,但没有成功。
但也许更大的问题是,当我尝试输入“sudo apt-get update”时出现以下错误:
tyler@tyler-GA-78LMT-USB3:~$ sudo apt-get update
Ign http://us.archive.ubuntu.com vivid InRelease
Ign http://us.archive.ubuntu.com vivid-security InRelease
Ign http://us.archive.ubuntu.com vivid-updates InRelease
Hit http://us.archive.ubuntu.com vivid Release.gpg
Hit http://us.archive.ubuntu.com vivid-security Release.gpg
Hit http://us.archive.ubuntu.com vivid-updates Release.gpg
Hit http://us.archive.ubuntu.com vivid Release
Hit http://us.archive.ubuntu.com vivid-security Release
Hit http://us.archive.ubuntu.com vivid-updates Release
Hit http://us.archive.ubuntu.com vivid/main Sources
Hit http://us.archive.ubuntu.com vivid/restricted Sources
Hit http://us.archive.ubuntu.com vivid/universe Sources
Hit http://us.archive.ubuntu.com vivid-security/main Sources
Hit http://us.archive.ubuntu.com vivid-security/restricted Sources
Hit http://us.archive.ubuntu.com vivid-security/universe Sources
Hit http://us.archive.ubuntu.com vivid-updates/main Sources
Hit http://us.archive.ubuntu.com vivid-updates/restricted Sources
Hit http://us.archive.ubuntu.com vivid-updates/universe Sources
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/vivid/Release Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/vivid-security/Release Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/vivid-updates/Release Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
那么这是怎么回事呢?我多次修改了 source.list 文件。这是当前格式:
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ vivid main restricted universe
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid main restricted universe
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ vivid-security main restricted universe
deb http://us.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-security main restricted universe
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
非常感谢您的帮助。
答案1
启用合作伙伴存储库
然后通过更新索引sudo apt-get update
并使用sudo apt-get install skype
它进行安装。
Trusty 中主服务器的合作伙伴存储库如下所示
deb http://archive.canonical.com/ubuntu trusty partner
您应该将其更改trusty
为vivid
或您的特定发布名称。