Questions tagged «apt-cacher-ng»

2
如何防止apt-get / aptitude保留缓存
我已经安装了Apt-Cacher NG来为多台计算机提供程序包缓存。因此,我认为aptitude / apt-get在中保留自己的(第二个)缓存毫无意义/var/cache/apt/archives。我知道可以使用清空此缓存sudo apt-get clean,但是有某种方法可以配置apt-get在安装完成后自动清除缓存?

8
使用Apt-Cacher NG的Apt-Get无法获取哈希和不匹配的软件包
我有一台使用Apt-Cacher NG的计算机在另一台计算机上作为缓存代理运行。 当我尝试运行时sudo apt-get update,出现以下错误: W: Failed to fetch gzip:/var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_binary-amd64_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_oneiric-updates_universe_binary-amd64_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_binary-i386_Packages Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old …

3
如何使pbuilder使用apt-cacher-ng实例?
我的局域网上有一个apt-cacher-ng服务器,我想知道如何“强制” pbuilder使用它(以加快软件包的构建速度)。 缓存的典型设置客户端如下所示: 在/etc/apt/apt.conf: Acquire::http { Proxy "http://servername:3142"; };
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.