sources.list 修改调整

本文介绍了一款名为apt-spy的工具,该工具能够帮助用户优化Debian及其衍生系统的软件源配置,通过收集不同区域的软件包信息,使用户能够更高效地下载软件。文章提供了安装和使用的详细步骤。

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


一个好用的 软件
有一个好用的专用工具 apt-spy,

下载地址: https://packages.debian.org/wheezy/apt-spy

dpkg -i apt-spy_3.2.2-1_i386.deb

可能需要依赖, 装完依赖便可装上。

apt-spy -d unstable -a Asia -t 5

-d unstable 表示下载的软件可以是最新版本。还有 如stable、testing、分别稳定, 测试,
-a Asia 表示搜集亚洲的信息
-t 5 超时5秒不收集。

要很长时间收集完, 结束后会保存在 /etc/apt/sources.list.d/apt-spy.list

备份以前的  sudo cp /etc/apt/sources.list /etc/apt/sources.list.save


把它替换即可  sudo cp /etc/apt/sources.list.d/apt-spy.list  /etc/apt/sources.list


sudo apt-get update

后就有好多软件可以下载了。

转载于:https://my.oschina.net/dengwo/blog/601177

denbian12更新软件源一直告警udo apt update Ign:1 https://download.docker.com/linux/debian bookworm InRelease Hit:2 http://mirrors.aliyun.com/debian bookworm InRelease Hit:3 http://mirrors.aliyun.com/debian-security bookworm-security InRelease Hit:4 http://mirrors.aliyun.com/debian bookworm-updates InRelease Ign:1 https://download.docker.com/linux/debian bookworm InRelease Ign:1 https://download.docker.com/linux/debian bookworm InRelease Err:1 https://download.docker.com/linux/debian bookworm InRelease Could not handshake: Error in the pull function. [IP: 13.226.61.113 443] Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/docker.list:2 W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/docker.list:2 W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/docker.list:2 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/docker.list:1 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/docker.list:1 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/docker.list:1 W: Target Translations (main/i18n/Translation-zh) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/docker.list:1 W: Target Translations (main/i18n/Translation-zh_CN) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/docker.list:1 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/docker.li
03-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值