标签: apt-cacher

apt-cacher 和 apt-cacher-ng 的区别

apt-cacher和之间究竟有什么区别apt-cacher-ng?我似乎无法找到比较两者的任何地方。我找到了关于它们的教程和手册,从设置的角度来看,它们似乎是相同的。

一个比另一个更好或更可靠吗?一个提供另一个不提供的服务吗?各自的优缺点是什么?

apt apt-cache apt-cacher

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

apt-cacher 会改变包访问时间吗?

我尝试使用以下命令从apt-cacher存档中删除长时间未使用的包find

$ find /var/cache/apt-cacher -atime +5 -type f -name ".*deb*" | wc -l 8471
$ find /var/cache/apt-cacher -atime +9 -type f -name ".*deb*" | wc -l 2269
$ find /var/cache/apt-cacher -atime +10 -type f -name ".*deb*" | wc -l 0
Run Code Online (Sandbox Code Playgroud)

我可以依赖 apt-cacher 存档使用的“访问时间”吗?

也就是说,只有当用户收到包裹时,“访问时间”才会改变?

我们使用 apt-cacher 已超过 6 个月。

apt proxy find 12.04 apt-cacher

11
推荐指数
2
解决办法
216
查看次数

为两个 ubuntu 版本安装 apt-cacher 服务器

是否可以在一台机器上同时拥有适用于 Ubuntu 10.04 和 10.10 版本的 apt-cacher 服务器?如果是的话,有人可以解释一下吗?

Ubuntu 10.10 的第一个 CD 缓存工作正常。

我已经导入了 Ubuntu 10.04 版的第二个 cd 缓存,现在当我更新 Ubuntu 10.04 客户端时,出现以下错误..

root@TME51:/etc/apt# apt-get update
Err http://172.29.32.9 lucid Release.gpg
  Could not connect to 172.29.32.9:3142 (172.29.32.9). - connect (111: Connection refused)
Err http://172.29.32.9/ubuntu/ lucid/main Translation-en_IN
  Unable to connect to 172.29.32.9:3142:
Err http://172.29.32.9/ubuntu/ lucid/restricted Translation-en_IN
  Unable to connect to 172.29.32.9:3142:
Err http://172.29.32.9/ubuntu/ lucid/universe Translation-en_IN
  Unable to connect to 172.29.32.9:3142:
Err http://172.29.32.9/ubuntu/ lucid/multiverse Translation-en_IN
  Unable to connect to 172.29.32.9:3142:
Reading package lists... Done …
Run Code Online (Sandbox Code Playgroud)

mirrors apt-cacher

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

使用 apt-cacher 的 Java 安装错误

当我尝试更新/安装 oracle-java7 或从 webupd8 ppa 时,我得到了这个输出:

Downloading Oracle Java 7...
--2014-11-19 16:35:02--  http://download.oracle.com/otn-pub/java/jdk/7u72-b14/jdk-7u72-    linux-x64.tar.gz
Resolving debiancacherepo.domain.com (debiancacherepo.domain.com)... 192.168.130.129
Connecting to debiancacherepo.domain.com (debiancacherepo.domain.com)|192.168.130.129|:3142... connected.
Proxy request sent, awaiting response... 403 Sorry, not allowed to fetch that type of file: jdk-7u72-linux-x64.tar.gz
2014-11-19 16:35:02 ERROR 403: Sorry, not allowed to fetch that type of file: jdk-7u72-linux-x64.tar.gz.

download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing package oracle-java7-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Run Code Online (Sandbox Code Playgroud)

我的 /etc/apt-cacher.conf

#package_files_regexp = …
Run Code Online (Sandbox Code Playgroud)

java apt-cacher

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

apt-cacher 不起作用:端口 3142 被阻止,如何打开?

在客户端 PC 上安装 ubuntu 12.04 后。我尝试在客户端 PC 中设置 apt-cache 服务器。但是,它在 ubuntu 客户端中不起作用。

Err http://136.xxx.xxx.x precise/multiverse Sources
  403  Forbidden
Run Code Online (Sandbox Code Playgroud)

我尝试这一步:

Step 1: sudo apt-get install apt-cacher apache2
Step 2: sudo nano /etc/default/apt-cacher --> already set AUTOSTART = 1
Step 3: sudo invoke-rc.d apache2 restart
Step 4: open http://server:3142/apt-cacher in browser
    HTTP Error 403 (Forbidden): The server refused to fulfill the request.
Run Code Online (Sandbox Code Playgroud)

这是我的/etc/apt-cacher/apt-cacher.conf

http://paste.ubuntu.com/1087474/

我尝试打开:

wget -q -O- http://www.google.com

<TITLE>Error</TITLE>
<BODY>
<H1>Error</H1>
FW-1 at jeinfw: Access denied.</BODY>

ufw status

Status: …
Run Code Online (Sandbox Code Playgroud)

server client apt-cacher

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

标签 统计

apt-cacher ×5

apt ×2

12.04 ×1

apt-cache ×1

client ×1

find ×1

java ×1

mirrors ×1

proxy ×1

server ×1