Termux-Desktops icon indicating copy to clipboard operation
Termux-Desktops copied to clipboard

Issues executing "sh chroot_debian_installer.sh"

Open brunomassarelli opened this issue 10 months ago • 4 comments

Hello DroidMaster,

I've been getting the following error when I try to run the script:

Reading package lists... Error! E: Could not open lock file /var/lib/apt/lists/lock - open (126: Required key not available) E: Unable to lock directory /var/lib/apt/lists/ E: Unable to mkstemp /tmp/clearsigned.message.OooD1e - GetTempFile (126: Required key not available) E: The package lists or status file could not be parsed or opened. groupadd: /etc/group.26129: Required key not available groupadd: cannot lock /etc/group; try again later. groupadd: /etc/group.26130: Required key not available groupadd: cannot lock /etc/group; try again later. groupadd: /etc/group.26131: Required key not available groupadd: cannot lock /etc/group; try again later. usermod: group '3003' does not exist usermod: group '3003' does not exist Reading package lists... Error! E: Could not open lock file /var/lib/apt/lists/lock - open (126: Required key not available) E: Unable to lock directory /var/lib/apt/lists/ E: Unable to mkstemp /tmp/clearsigned.message.wk6anU - GetTempFile (126: Required key not available) E: The package lists or status file could not be parsed or opened. Reading package lists... Error! E: Unable to mkstemp /tmp/clearsigned.message.JBvlNR - GetTempFile (126: Required key not available) E: The package lists or status file could not be parsed or opened. Reading package lists... Error! E: Unable to mkstemp /tmp/clearsigned.message.XXcrvw - GetTempFile (126: Required key not available) E: The package lists or status file could not be parsed or opened. Debian chroot environment configured

Is there anything that I should do from my end ?

Kind Regards, Bruno

brunomassarelli avatar Feb 24 '25 17:02 brunomassarelli

Are related operations missing when users are created and groups are added?

hzykiss avatar Feb 25 '25 14:02 hzykiss

It happens when running unprivileged container without proper access to security related kernel features.

nurmuhammedjoy avatar Mar 22 '25 06:03 nurmuhammedjoy

It happens when running unprivileged container without proper access to security related kernel features.

What to do then?

ShoyebOP avatar Mar 27 '25 16:03 ShoyebOP

I have exactly the same issue. My Samsung tab S5e wifi is running on leneageOS. Could this be a problem ? Is there a solution yet ? Does it comes from magisk ? ( I followed this pipeline to get leneageOS and magisk on the tab: https://gist.github.com/micw/d99d973736c901a58d5622d85f5b3720)

Image

Image

JWastin avatar May 30 '25 10:05 JWastin