]> git.saurik.com Git - apt.git/commit - test/integration/test-apt-get-download
allow fetcher setup without directory creation
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 27 Sep 2014 17:45:30 +0000 (19:45 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 27 Sep 2014 17:45:30 +0000 (19:45 +0200)
commit43acd01979039b248cb7f033b82e36d778d0ebec
treea4270b97afceaf8b81c730d8501172773f79c5e5
parentb7ed733f2e473da7f707865675247297cd8dc445
allow fetcher setup without directory creation

apt-get download and changelog as well as apt-helper reuse the acquire
system for their own proposes without requiring the directories the
fetcher wants to create, which is a problem if you run them as non-root
and the directories do not exist as it greets you with:
E: Archives directory /var/cache/apt/archives/partial is missing. -
Acquire (13: Permission denied)

Closes: 762898
apt-pkg/acquire.cc
apt-pkg/acquire.h
cmdline/apt-get.cc
cmdline/apt-helper.cc
test/integration/test-apt-get-changelog
test/integration/test-apt-get-download
test/integration/test-apt-helper