![无法找到软件包软件属性通用](https://linux22.com/image/878153/%E6%97%A0%E6%B3%95%E6%89%BE%E5%88%B0%E8%BD%AF%E4%BB%B6%E5%8C%85%E8%BD%AF%E4%BB%B6%E5%B1%9E%E6%80%A7%E9%80%9A%E7%94%A8.png)
在我的 Ubuntu 15.04(我将其作为虚拟服务器)上,我想安装 Unity。我将一步一步进行,因此首先我尝试安装software-properties-common
,但我得到了:
$ sudo apt-get install software-properties-common
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package software-properties-common
以下是输出cat /etc/apt/sources.list
:
deb http://archive.ubuntu.com/ubuntu vivid main restricted universe
deb http://archive.ubuntu.com/ubuntu vivid-updates main restricted universe
deb http://security.ubuntu.com/ubuntu vivid-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu vivid partner
输出如下sudo apt-get update
:
Get:1 http://security.ubuntu.com vivid-security InRelease [64.4 kB]
Get:2 http://archive.ubuntu.com vivid InRelease [218 kB]
Get:3 http://archive.canonical.com vivid InRelease [10.3 kB]
Get:4 http://archive.canonical.com vivid/partner amd64 Packages [2978 B]
Get:5 http://security.ubuntu.com vivid-security/main amd64 Packages [166 kB]
Ign http://archive.canonical.com vivid/partner Translation-en
Get:6 http://security.ubuntu.com vivid-security/restricted amd64 Packages [11.2 kB]
Get:7 http://archive.ubuntu.com vivid-updates InRelease [64.4 kB]
Get:8 http://security.ubuntu.com vivid-security/universe amd64 Packages [66.3 kB]
Get:9 http://archive.ubuntu.com vivid/main amd64 Packages [1364 kB]
Get:10 http://security.ubuntu.com vivid-security/multiverse amd64 Packages [6045 B]
Get:11 http://security.ubuntu.com vivid-security/main Translation-en [79.8 kB]
Get:12 http://security.ubuntu.com vivid-security/multiverse Translation-en [2743 B]
Get:13 http://security.ubuntu.com vivid-security/restricted Translation-en [2774 B]
Get:14 http://security.ubuntu.com vivid-security/universe Translation-en [41.2 kB]
Get:15 http://archive.ubuntu.com vivid/restricted amd64 Packages [15.4 kB]
Get:16 http://archive.ubuntu.com vivid/universe amd64 Packages [6485 kB]
Get:17 http://archive.ubuntu.com vivid/main Translation-en [793 kB]
Get:18 http://archive.ubuntu.com vivid/restricted Translation-en [4228 B]
Get:19 http://archive.ubuntu.com vivid/universe Translation-en [4456 kB]
Get:20 http://archive.ubuntu.com vivid-updates/main amd64 Packages [260 kB]
Get:21 http://archive.ubuntu.com vivid-updates/restricted amd64 Packages [13.6 kB]
Get:22 http://archive.ubuntu.com vivid-updates/universe amd64 Packages [127 kB]
Get:23 http://archive.ubuntu.com vivid-updates/main Translation-en [125 kB]
Get:24 http://archive.ubuntu.com vivid-updates/restricted Translation-en [3112 B]
Get:25 http://archive.ubuntu.com vivid-updates/universe Translation-en [74.6 kB]
Fetched 14.5 MB in 28s (506 kB/s)
Reading package lists... Done
有人能帮忙指导如何继续吗?
答案1
之后sudo apt-get update
,我就可以安装了software-properties-common
。