Skip to content

Fix -L flag for certain ARM64 distributions (#281) - #386

Open
zavocc wants to merge 1 commit into
termux:masterfrom
zavocc:master
Open

Fix -L flag for certain ARM64 distributions (#281)#386
zavocc wants to merge 1 commit into
termux:masterfrom
zavocc:master

Conversation

@zavocc

@zavocc zavocc commented Aug 9, 2026

Copy link
Copy Markdown

It turns out the reason dpkg keeps failing or outputting symbolic size changes warnings or errors could be dpkg arm64 calls newfstatat / fstatat64 instead of lstat(2) (or could be glibc arm64's implementation) which fix_symlink_size extension only hooked lstat/lstatat64

Note that I actually had this draft several months ago and had tested on Debian13 installation and Ubuntu 16.04 ARM64, so far I've never seen any errors or warnings dpkg complains symlink size changes as I use this patch. I only didn't open pull request since testing is needed as I only tested this on my device.

To test, run apt update && apt upgrade on the target distribution with out-of-date packages before and after using this patch

This should hopefully fix #281

…which dpkg uses since Ubuntu trusty era causing dpkg to fail until zesty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

proot's -L argument doesn't work correctly

1 participant