Fix support for apt-transport-mirror URLs #8
Loading…
Reference in a new issue
No description provided.
Delete branch "boklm/mmdebstrap:fix_apt-transport-mirror"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This branch fix two issues when using apt-transport-mirror URLs:
https://
/var/lib/apt/lists/auxfiles
is not empty, so rmdir fails. In the patch I replaced itremove_tree
. Maybe we could ignore the error fromrmdir
instead.Hi,
yes, that regex was indeed missing the
mirror
prefix but there is an even better way to fix this problem which currently only exists on my local machine: instead of using apt inside the chroot, we can use apt from the outside to install packages on the inside. This has several advantages:So essentially, the part of the code your first commit touches was completely removed.
Your auxfiles patch is still necessary though. What files does apt put into auxfiles? Does that only happen with mirror URIs?
Hi, I wanted to ping you about my question above. Thanks!
Closing as this is no longer relevant.
Pull request closed