小编jro*_*rts的帖子

/etc/apt/sources.list 中缺少源,我该如何取回它们?

不知何故,我的 Ubuntu 安装找不到我认为非常常见的软件包......

E: Unable to locate package php5-curl
E: Unable to locate package php5-gd
Run Code Online (Sandbox Code Playgroud)

我知道这与我的来源有关,但是,我不确定我需要哪个来源或这些包将包含在哪个来源中。

这些是我运行的命令

sudo apt-get install php5-curl
sudo apt-get install php5-gd
Run Code Online (Sandbox Code Playgroud)

以下是内容/etc/apt/sources.list

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

## Major bug fix updates produced after the final release of the
## distribution. …
Run Code Online (Sandbox Code Playgroud)

apt software-sources

2
推荐指数
1
解决办法
4441
查看次数

标签 统计

apt ×1

software-sources ×1