To clarify: You must not merge paths manually, that's what /d and /f do.
For example, this:

  RootDir 'foo';
  Dir '/';
  Dir::Cache 'var/cache/apt';
  Dir::Cache::pkgcache 'pkgcache.bin';

Gives you:

Dir::Cache::pkgcache/f = foo/var/cache/apt/pkgcache.bin
Dir::Cache/f = foo/var/cache/apt
Dir::Cache/d = foo/var/cache/apt

(Also note that this handles RootDir, which your code doesn't).

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

Title:
  Trailing slash missing from Dir::Cache in apt configuration

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

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

Reply via email to