Public bug reported:

Setting the following line in /etc/apt-cacher-ng/acng.conf

CacheDir: /data/apt-cacher-ng

is completely ignored, even after stopping/starting the apt-cache-ng
service. All cached contents are still saved at /var/cache/apt-cacher-
ng/

The only workaround for me so far is to create a symlink from /data/apt-
cacher-ng to /var/cache/apt-cacher-ng/

My system environment looks like this:

root@serverproxy:/var/log/apt-cacher-ng# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Trusty Tahr (development branch)
Release:        14.04
Codename:       trusty

root@serverproxy:/var/log/apt-cacher-ng# apt-cache policy apt-cacher-ng
apt-cacher-ng:
  Installed: 0.7.25-1
  Candidate: 0.7.25-1
  Version table:
 *** 0.7.25-1 0
        500 http://192.168.1.51:3142/archive.ubuntu.com/ubuntu/ trusty/universe 
amd64 Packages
        100 /var/lib/dpkg/status

** Affects: apt-cacher-ng (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1279021

Title:
  CacheDir setting ignored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1279021/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to