为什么我在 Debian 存储库中找不到 wireless-tools?

为什么我在 Debian 存储库中找不到 wireless-tools?

我已在计算机上以离线模式安装了 Debian 的挤压版本(安装期间没有互联网连接)。

安装完成后(安装成功),我编辑了/etc/apt/sources.listcd-rom 源代码并取消注释官方 Debian 存储库。当计算机连接到 Internet 时,包数据库似乎按计划更新(使用),但我在存储库中apt-get update找不到该包:不返回任何内容。wireless-toolsapt-cache search wireless

这是内容/etc/apt/sources.list

#

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 CD Binary-1 20120929-15:56]/ squeeze main

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 CD Binary-1 20120929-15:56]/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#

deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

任何想法?谢谢

答案1

我无法访问该wireless-tools包的原因很简单,因为主存储库不存在。添加与您的发行版相对应的行:

deb http://ftp.debian.org/debian/ squeeze main

deb-src http://ftp.debian.org/debian/ squeeze main

相关内容