source list

本文详细介绍了 Ubuntu 10.10 Maverick Meerkat 的软件源配置方法,包括官方软件源、更新源、不受支持的第三方软件源以及安全更新源等,为用户提供了一个全面的软件管理指南。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.


deb http://cn.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ maverick main restricted


## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ maverick-updates main restricted


## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ maverick universe
deb http://cn.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ maverick-updates universe


## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ maverick-updates multiverse


## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://cn.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse


## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner


## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main


deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
### 解决 Sourcelist 只读问题的方法 在处理 `sourcelist` 文件时,通常会遇到权限不足导致无法编辑的情况。这是因为该文件一般位于系统的受保护目录下(如 `/etc/apt/sources.list`),只有超级用户才能对其进行修改。 #### 方法一:通过提升权限来编辑文件 可以使用 `sudo` 命令以管理员身份打开并编辑 `sources.list` 文件。以下是具体操作方法: ```bash sudo nano /etc/apt/sources.list ``` 上述命令将允许用户以超级用户的权限编辑文件[^1]。完成编辑后保存更改即可。 #### 方法二:创建新的源列表文件 如果不想直接修改原始的 `sources.list` 文件,也可以通过创建一个新的 `.list` 文件实现自定义配置。新文件应放置于 `/etc/apt/sources.list.d/` 目录下。例如: ```bash sudo nano /etc/apt/sources.list.d/custom-repo.list ``` 在此文件中添加所需的软件仓库地址,并运行以下命令更新包索引: ```bash sudo apt update ``` 这种方法不仅能够避免直接修改默认文件带来的风险,还便于管理多个不同的软件源配置[^2]。 #### 方法三:检查磁盘挂载选项 有时,即使拥有足够的权限也无法写入文件,这可能是由于所在分区被设置为了只读模式所致。可以通过查看挂载参数确认这一点: ```bash mount | grep 'on / ' ``` 假如输出显示有 `ro` 参数,则表示根文件系统是以只读方式加载的。此时需重新挂载为可写状态: ```bash sudo mount -o remount,rw / ``` 执行此命令之后再尝试编辑 `sources.list` 应当就不会受到限制了[^3]。 ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值