尝试在Raspberrypi上构建自己的squid3
dpkg -i * .deb
如何解决依赖问题的任何建议 - 留下未配置的问题?
但过了一会儿就停止了:
(Reading database ... 37935 files and directories currently installed.)
Preparing to unpack squid3_3.4.8-6+deb8u4_armhf.deb ...
Unpacking squid3 (3.4.8-6+deb8u4) over (3.4.8-6+deb8u4) ...
Preparing to unpack squid3-common_3.4.8-6+deb8u4_all.deb ...
Unpacking squid3-common (3.4.8-6+deb8u4) over (3.4.8-6+deb8u4) ...
Preparing to unpack squid3-dbg_3.4.8-6+deb8u4_armhf.deb ...
Unpacking squid3-dbg (3.4.8-6+deb8u4) over (3.4.8-6+deb8u4) ...
Preparing to unpack squid-cgi_3.4.8-6+deb8u4_armhf.deb ...
Unpacking squid-cgi (3.4.8-6+deb8u4) over (3.4.8-6+deb8u4) ...
Preparing to unpack squidclient_3.4.8-6+deb8u4_armhf.deb ...
Unpacking squidclient (3.4.8-6+deb8u4) over (3.4.8-6+deb8u4) ...
Preparing to unpack squid-purge_3.4.8-6+deb8u4_armhf.deb ...
Unpacking squid-purge (3.4.8-6+deb8u4) over (3.4.8-6+deb8u4) ...
dpkg: dependency problems prevent configuration of squid3:
squid3 depends on logrotate (>= 3.5.4-1); however:
Package logrotate is not installed.
dpkg: error processing package squid3 (--install):
dependency problems - leaving unconfigured
Setting up squid3-common (3.4.8-6+deb8u4) ...
dpkg: dependency problems prevent configuration of squid3-dbg:
squid3-dbg depends on squid3 (= 3.4.8-6+deb8u4); however:
Package squid3 is not configured yet.
dpkg: error processing package squid3-dbg (--install):
dependency problems - leaving unconfigured
Setting up squid-cgi (3.4.8-6+deb8u4) ...
Setting up squidclient (3.4.8-6+deb8u4) ...
Setting up squid-purge (3.4.8-6+deb8u4) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Processing triggers for systemd (215-17+deb8u7) ...
Errors were encountered while processing:
squid3
squid3-dbg
答案 0 :(得分:0)
嗯,你需要这些依赖项,而dpkg不会为你安装这些依赖项。在Raspberry PI上,您通常可以访问包管理器apt
。如果您的源配置正确,您只需运行:
apt-get install squid3