[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#690183: ITP: apt-fast -- shellscript wrapper for apt-get or aptitude



On Thu, Oct 11, 2012 at 10:51 PM, Dominique Lasserre
<lasserre.d@googlemail.com> wrote:
> On 11/10/12 16:52, David Kalnischkies wrote:
>> On Wed, Oct 10, 2012 at 11:53 PM, Dominique Lasserre
>> <lasserre.d@gmail.com> wrote:
>> Oh, and try dir::cache::archives="/tmp" and you will know why apt-config has
>> flags for these dir options instead of forcing people to build paths by hand.
> Those config options are used. apt-fast downloads into
> Dir::Cache::archives + "apt-fast" (but yes you can change it (still) in
> config file).

What I meant is that apt-fast combines the path itself.
With a setting like Dir::Cache::archives="/tmp" I would expect the
archives directory to be /tmp, but as the script reads Dir and Dir::Cache
separately and concatenates them I end up with /var/cache/apt/tmp.

So what apt-fast should do is using
apt-config shell APTCACHE Dir::Cache::archives/d
instead of building the path manually as it will take care of all that.
(relative/absolute paths, RootDir set or not, …)


Best regards

David Kalnischkies


Reply to: