小编Gar*_*t R的帖子

“apt-get source”找不到包,但“apt-get install”和“apt-get cache”可以找到

我正在尝试下载包的源代码,但是当我运行时

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
Run Code Online (Sandbox Code Playgroud)

无法找到。但是当我运行时apt-cache search 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 …
Run Code Online (Sandbox Code Playgroud)

ubuntu squid deb apt

7
推荐指数
1
解决办法
5701
查看次数

未安装 iptables 评论模块

我想在我的 iptables 规则中使用 -m comment --comment "message" 但没有加载模块。通过一些搜索,我需要的模块是“ipt_comment”,但我没有安装它。我怎样才能做到这一点?

我的 iptables 版本是 1.4.21

/sbin/modprobe --list 不返回任何内容

/sbin/lsmod 也是空的。

我使用的是 Ubuntu 12.04.1 服务器

ubuntu iptables kernel-modules

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

标签 统计

ubuntu ×2

apt ×1

deb ×1

iptables ×1

kernel-modules ×1

squid ×1