pacman and apt

I tried using pacman but ran into errors, Found some info here https://wiki.termux.com/wiki/Switching_package_manager ... So if I'm understanding this right, I can't use both apt and pacman at the same time and have to choose which I want to use? I just noticed in #announcements that box64 was added to gpkg in pacman but isn't available in apt repo.
18 Replies
Max Ivan
Max Ivan16mo ago
What error are you getting?
phoenixbyrd
phoenixbyrdOP16mo ago
error: main: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: x11: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: root: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur-continuous: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur-multilib: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: gpkg: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: no operation specified (use -h for help)
error: main: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: x11: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: root: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur-continuous: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur-multilib: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: gpkg: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: no operation specified (use -h for help)
I admit though, idk how to use pacman at all
pacman -S
error: main: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: x11: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: root: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur-continuous: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur-multilib: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: gpkg: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: database 'main' is not valid (invalid or corrupted database (PGP signature))
error: database 'x11' is not valid (invalid or corrupted database (PGP signature))
error: database 'root' is not valid (invalid or corrupted database (PGP signature))
error: database 'tur' is not valid (invalid or corrupted database (PGP signature))
error: database 'tur-continuous' is not valid (invalid or corrupted database (PGP signature))
error: database 'tur-multilib' is not valid (invalid or corrupted database (PGP signature))
error: database 'gpkg' is not valid (invalid or corrupted database (PGP signature))
pacman -S
error: main: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: x11: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: root: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur-continuous: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: tur-multilib: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: gpkg: signature from "termux-pacman (security signature) <[email protected]>" is unknown trust
error: database 'main' is not valid (invalid or corrupted database (PGP signature))
error: database 'x11' is not valid (invalid or corrupted database (PGP signature))
error: database 'root' is not valid (invalid or corrupted database (PGP signature))
error: database 'tur' is not valid (invalid or corrupted database (PGP signature))
error: database 'tur-continuous' is not valid (invalid or corrupted database (PGP signature))
error: database 'tur-multilib' is not valid (invalid or corrupted database (PGP signature))
error: database 'gpkg' is not valid (invalid or corrupted database (PGP signature))
Max Ivan
Max Ivan16mo ago
pacman-key --init pacman-key --populate
phoenixbyrd
phoenixbyrdOP16mo ago
thanks, that got me setup now without errors. Struggling installing stuff though, tried following something I found on google
pacman -Syy box64
pacman -Syy box64
but says target not found I can do all this stuff so much easier in apt but could never wrap my head around pacman ok nvm I finally figured that part out I didn't have the right package name found it with pacman -Sl so .. installed box64-glibc package but termux doesn't seem to have box64 binary
Max Ivan
Max Ivan16mo ago
GitHub
About glibc runner (grun)
Glibc packages for termux. Contribute to termux-pacman/glibc-packages development by creating an account on GitHub.
phoenixbyrd
phoenixbyrdOP16mo ago
Where do I get grun? I can't find it in pacman or apt amd page seems to just talk about it's use? ok I think I got it now absolute smooth brain when it comes to this gave a whole list of already exists errors
phoenixbyrd
phoenixbyrdOP16mo ago
pacman -S glibc-runner
Max Ivan
Max Ivan16mo ago
Seems like you didn't set pacman as default package manager, send result of command termux-info
phoenixbyrd
phoenixbyrdOP16mo ago
Will doing that change my current setup?
Max Ivan
Max Ivan16mo ago
Or just do it:
pacman -Sdd glibc-runner
pacman -Sdd glibc-runner
phoenixbyrd
phoenixbyrdOP16mo ago
Max Ivan
Max Ivan16mo ago
Well, for this need change bootstrap and because there will be clear Termux but with pacman insted of apt. Dir home will remain Ye, i was right :/
phoenixbyrd
phoenixbyrdOP16mo ago
Ah ok, so if I understand right, I risk losing most of my current setup?
Max Ivan
Max Ivan16mo ago
It depends where configured is located. For example, zsh locates in dir home, openssl in etc dir
phoenixbyrd
phoenixbyrdOP16mo ago
I use my own personal setup I put together, with xfce desktop in termux and a debian proot-distro https://github.com/phoenixbyrd/Termux_XFCE
GitHub
GitHub - phoenixbyrd/Termux_XFCE
Contribute to phoenixbyrd/Termux_XFCE development by creating an account on GitHub.
phoenixbyrd
phoenixbyrdOP16mo ago
I'd rather not reinstall again if I can avoid it ... I can test this out on my son's phone maybe If he has the space available for it
Max Ivan
Max Ivan16mo ago
Unfortunately, in this case you will have to reinstall everything. Also, your setup.sh is configured to work only with apt, which means you need to configure it a little.
phoenixbyrd
phoenixbyrdOP16mo ago
Yea, the app installer I wrote is also configured with apt too.
Want results from more Discord servers?
Add your server