我正在尝试下载软件包的源代码,但是当我运行时
root@proxy:~# apt-get source squid3 Reading package lists... Done Building dependency tree Reading state information... Done E: Can not find version '3.3.8-1.1' of package 'squid3' E: Unable to find a source package for squid3
它无法找到.但是当我运行apt-cache搜索squid3时,它会找到它.
root@proxy:~# apt-cache search squid3 squid-cgi - Full featured Web Proxy cache (HTTP proxy) - control CGI squid3 - Full featured Web Proxy cache (HTTP proxy) squid3-common - Full featured Web Proxy cache (HTTP proxy) - common files squid3-dbg - Full featured Web Proxy cache (HTTP proxy) - Debug symbols squidclient - Full featured Web Proxy cache (HTTP proxy) - control utility
它也适用于apt-get install squid3.我使用的是Ubuntu 11.04服务器,这是我的/etc/apt/sources.list
deb http://old-releases.ubuntu.com/ubuntu natty main restricted universe deb http://old-releases.ubuntu.com/ubuntu natty-updates main restricted universe deb http://old-releases.ubuntu.com/ubuntu natty-security main restricted universe deb http://archive.canonical.com/ubuntu natty partner deb http://ftp.us.debian.org/debian sid main deb http://packages.dotdeb.org stable all deb-src http://packages.dotdeb.org stable all deb http://archive.ubuntu.com/ubuntu natty universe deb-src http://archive.ubuntu.com/ubuntu natty universe
我已经多次更新了.我尝试了很多不同的debs,并没有发现任何其他地方的错误.