Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpkg fails to install packages on Android 6.0 #8

Open
bk2204 opened this issue Dec 6, 2015 · 1 comment
Open

dpkg fails to install packages on Android 6.0 #8

bk2204 opened this issue Dec 6, 2015 · 1 comment

Comments

@bk2204
Copy link

bk2204 commented Dec 6, 2015

On Android 6.0 on my Google Nexus 5X, the link(2) system call is disabled; it always fails with EACCES (link). dpkg requires the ability to hard link in order to make an atomic backup of the status file (function atomic_file_backup), and currently, packages cannot be installed because it cannot do so.

As a result, this package isn't very useful on Android 6.0. dpkg probably needs to be patched so that it can perform a copy when link(2) isn't available.

@pelya
Copy link
Owner

pelya commented Dec 9, 2015

Could you try GNURoot app? They added link2symlink extension to proot in
their app some time ago.

On Sun, Dec 6, 2015 at 9:13 PM, brian m. carlson notifications@github.com
wrote:

On Android 6.0 on my Google Nexus 5X, the link(2) system call is disabled;
it always fails with EACCES (link)
https://stackoverflow.com/questions/32365690/is-android-m-not-allowing-hard-links.
dpkg requires the ability to hard link in order to make an atomic backup of
the status file (function atomic_file_backup), and currently, packages
cannot be installed because it cannot do so.

As a result, this package isn't very useful on Android 6.0. dpkg probably
needs to be patched so that it can perform a copy when link(2) isn't
available.


Reply to this email directly or view it on GitHub
#8.

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

No branches or pull requests

2 participants