Closed 2096779623 closed 2 years ago
What steps will reproduce the bug?
pkg install pacman -y pkg remove apt --allow-remove-essential pacman -Syyu pacman -S --overwrite "*" cmake make git pacman -Rns make cmake git
Unsurprisingly, after removing packages, pacman doesn't work. Uninstalling removes the libarchive
package, it is a dependency for pacman, and since you didn't install pacman via pacman, there is no dependency information for pacman in the database.
In addition, I do not recommend switching to pacman in this way. You must reinstall all apt packages via pacman. Here is the command for this:
pkg ins pacman -y
pacman -Syu
pacman -S $(pkg list-i | sed 's|/| |; s|Listing...||' | awk '{ printf $1 " " }') --overwrite "*"
pacman -Rcns apt dpkg # You also need to remove apt via pacman
You can also generate bootstrap based on pacman using scripts/generate-bootstraps.sh
with the --pm pacman
flag.
OK,Thanks!
Problem description
Transcript
Termux App Info
APP_NAME:
Termux
PACKAGE_NAME:
com.termux
VERSION_NAME:
0.118.0
VERSION_CODE:
118
TARGET_SDK:
28
IS_DEBUGGABLE_BUILD:
true
APK_RELEASE:
Github
SIGNING_CERTIFICATE_SHA256_DIGEST:
B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1
Device Info
Software
OS_VERSION:
4.9.206-perf
SDK_INT:
29
RELEASE:
10
ID:
S618L
DISPLAY:
03.00.01
INCREMENTAL:
03.00.01
SECURITY_PATCH:
2020-06-01
IS_DEBUGGABLE:
0
IS_TREBLE_ENABLED:
true
TYPE:
user
TAGS:
release-keys
Hardware
MANUFACTURER:
SHARP
BRAND:
KDDI
MODEL:
SHV43
PRODUCT:
MZW_jp_kdi
BOARD:
Anasui
HARDWARE:
qcom
DEVICE:
MZW
SUPPORTED_ABIS:
arm64-v8a, armeabi-v7a, armeabi
Termux Files Info
TERMUX_REQUIRED_FILES_DIR_PATH ($PREFIX):
/data/data/com.termux/files
ANDROID_ASSIGNED_FILES_DIR_PATH:
/data/user/0/com.termux/files
Logcat Dump
What steps will reproduce the bug?
What is the expected behavior?
No response
System information
termux-info: