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

broken dpkg in proot , armv7a hardfp #252

Open
erfty125 opened this issue Jan 22, 2023 · 5 comments
Open

broken dpkg in proot , armv7a hardfp #252

erfty125 opened this issue Jan 22, 2023 · 5 comments

Comments

@erfty125
Copy link

root@localhost:# apt upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@localhost:
# dpkg --configure -a
dpkg: error: error creating new backup file '/var/lib/dpkg/status-old': Permission denied
root@localhost:~#

@erfty125
Copy link
Author

also i tried sime ways to fix this problem from forums but it doesnt help me

@sylirre
Copy link
Member

sylirre commented Jan 22, 2023

How are you starting your proot environment? Is --link2symlink option added to proot command line?

@erfty125
Copy link
Author

How are you starting your proot environment? Is --link2symlink option added to proot command line?

i followed this tutorial: https://wiki.termux.com/wiki/Debian

@erfty125
Copy link
Author

also i got theese warning at the end of instalation

W: Failure trying to run: proot -w /home -b /dev -b /proc --link2symlink -0 -r /data/data/com.termux/files/home/debian-stable dpkg --force-overwrite --force-confold --skip-same-version --install /var/cache/apt/archives/dmsetup_2%3a1.02.175-2.1_armhf.deb /var/cache/apt/archives/libapparmor1_2.13.6-10_armhf.deb /var/cache/apt/archives/libargon2-1_0~20171227-0.2_armhf.deb /var/cache/apt/archives/libcap2_1%3a2.44-1_armhf.deb /var/cache/apt/archives/libcryptsetup12_2%3a2.3.7-1+deb11u1_armhf.deb /var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.175-2.1_armhf.deb /var/cache/apt/archives/libip4tc2_1.8.7-1_armhf.deb /var/cache/apt/archives/libjson-c5_0.15-2_armhf.deb /var/cache/apt/archives/libkmod2_28-1_armhf.deb /var/cache/apt/archives/systemd_247.3-7+deb11u1_armhf.deb
W: See /data/data/com.termux/files/home/debian-stable/debootstrap/debootstrap.log for details (possibly the package systemd is at fault)

@erfty125
Copy link
Author

also i got theese warning at the end of instalation

W: Failure trying to run: proot -w /home -b /dev -b /proc --link2symlink -0 -r /data/data/com.termux/files/home/debian-stable dpkg --force-overwrite --force-confold --skip-same-version --install /var/cache/apt/archives/dmsetup_2%3a1.02.175-2.1_armhf.deb /var/cache/apt/archives/libapparmor1_2.13.6-10_armhf.deb /var/cache/apt/archives/libargon2-1_0~20171227-0.2_armhf.deb /var/cache/apt/archives/libcap2_1%3a2.44-1_armhf.deb /var/cache/apt/archives/libcryptsetup12_2%3a2.3.7-1+deb11u1_armhf.deb /var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.175-2.1_armhf.deb /var/cache/apt/archives/libip4tc2_1.8.7-1_armhf.deb /var/cache/apt/archives/libjson-c5_0.15-2_armhf.deb /var/cache/apt/archives/libkmod2_28-1_armhf.deb /var/cache/apt/archives/systemd_247.3-7+deb11u1_armhf.deb
W: See /data/data/com.termux/files/home/debian-stable/debootstrap/debootstrap.log for details (possibly the package systemd is at fault)

also when i wrote

proot -w /home -b /dev -b /proc --link2symlink -0 -r /data/data/com.termux/files/home/debian-stable dpkg --force-overwrite --force-confold --skip-same-version --install /var/cache/apt/archives/dmsetup_2%3a1.02.175-2.1_armhf.deb /var/cache/apt/archives/libapparmor1_2.13.6-10_armhf.deb /var/cache/apt/archives/libargon2-1_0~20171227-0.2_armhf.deb /var/cache/apt/archives/libcap2_1%3a2.44-1_armhf.deb /var/cache/apt/archives/libcryptsetup12_2%3a2.3.7-1+deb11u1_armhf.deb /var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.175-2.1_armhf.deb /var/cache/apt/archives/libip4tc2_1.8.7-1_armhf.deb /var/cache/apt/archives/libjson-c5_0.15-2_armhf.deb /var/cache/apt/archives/libkmod2_28-1_armhf.deb /var/cache/apt/archives/systemd_247.3-7+deb11u1_armhf.deb

i got this

proot error: 'dpkg' not found (root = /data/data/com.termux/files/home/debian-stable, cwd = /home, $PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/home/buildAPKs/bin/:/data/data/com.termux/files/home/debil/root/clang+llvm-11.1.0-armv7a-linux-gnueabihf/bin/)                                         fatal error: see `proot --help`.

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