Skip to content

[Bug]: pkg is not working anymore #10782

@KabirHere

Description

@KabirHere

Problem description

when I try to install or update packages using pkg, it show me the following error:-

/data/data/com.termux/files/usr/bin/pkg: line 197: TERMUX_MAIN_PACKAGE_FORMAT: unbound variable

Steps to reproduce the behavior.

All I found in the internet is to use apt instead of pkg.

What is the expected behavior?

It should install or update packages.

System information

  • Termux application version: v0.118
  • Android OS version: 9
  • Device model: Oppo A1k

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportSomething is not working properly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions