Fix support for apt-transport-mirror URLs
#8
Closed
boklm
wants to merge 2 commits from boklm/mmdebstrap:fix_apt-transport-mirror
into main
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'boklm/mmdebstrap:fix_apt-transport-mirror'
Deleting a branch is permanent. It CANNOT be undone. 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.
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.