Control: reassign -1 apt 1.6.1

Matus UHLAR - fantomas <uh...@fantomas.sk> ezt írta (időpont: 2019.
aug. 19., H, 18:12):
>
> Hello,
>
> this problem seems to be in apt, not in unattended-uprades.
>
> I have configured apt to use /tmp as base for packages:
>
> Dir::Cache::archives "/tmp/archives";
> Apt::Update::Pre-Invoke {"mkdir -m 700 -p /tmp/archives/partial";};
>
> unfortunately, the pre-invoke command only seems to be called when package
> list is updated (as its name says), not when packages are fetched to be
> installed.
>
> hacking unattended-uprades to call update would apparently fix this

Thanks for the additional info.
IMO APT should either provide a hook to be called before fetching
archives or the maintainers can decide to not provide one and tell
users to create the directory structure for themselves.
Since the issue affects all python-apt users and APT maintainers
should make the call on the solution I'm reassigning the bug.

Cheers,
Balint

Reply via email to