-
Notifications
You must be signed in to change notification settings - Fork 19
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
PRooted Debian Bullseye: aptitude fails to install a package #25
Comments
Workaround: touch /var/lib/aptitude/pkgstates Yes, this simple. |
Apt seems to work, and is able to install aptitude. However, aptitude complains with lock file errors.
When I Is /var, I get the following:
|
What is your cat /etc/proot/run.cfg ? |
Hi. the run.cfg for debian bullseye is # Main configuration
# Regular user name
USER=my_acct
# Preferred shell (fallback: /bin/sh)
SHELL=/bin/bash
# =======
PROOT=$("$TERMSH" plugin 'green_green_avk.anothertermshellplugin_android10essentials' proot)
PROOT_USERLAND=$("$TERMSH" plugin 'green_green_avk.anothertermshellplugin_android10essentials' proot-userland)
# Mostly for Android < 5 now. Feel free to adjust.
# Not recommended to set it >= '4.8.0' for kernels < '4.8.0'
# becouse of a random number generation API change at this point
# as it could break libopenssl random number generation routine.
_KERNEL_VERSION="4.19.113-22701397"
if [ "${_KERNEL_VERSION%%.*}" -lt 4 ] ; then
PROOT_OPT_ARGS+=('-k' '4.0.0')
fi
# Android >= 9 can have a read restictiction
# on '/proc/version'.
cat /proc/version >/dev/null 2>&1 || {
_PROC_VERSION="$CFG_DIR/proc.version.cfg"
{ uname -a 2>/dev/null || echo 'Linux' ; } > "$_PROC_VERSION"
PROOT_OPT_ARGS+=('-b' "$_PROC_VERSION:/proc/version")
}
# Application data shared directory.
PROOT_OPT_ARGS+=('-b' "$SHARED_DATA_DIR:/mnt/shared")
# Uncomment to manipulate Android application own private data directory.
#PROOT_OPT_ARGS+=('-b' '/data')
# ======= |
Hello, |
Thank you. I guess that would be in an apk update? |
Seems to fix the problem, I can run ls in the bullseye session and I get good listings. Thanks! |
The text was updated successfully, but these errors were encountered: