Skip to content

Termux #1

Description

@advanceele26-ui
~ $ pkw
usage: pkgwrap [-h] [--version] [--backend]
               {install,remove,update,search} ...

A universal package-manager wrapper.

positional arguments:
  {install,remove,update,search}
                        Available package operations
    install             Install a package
    remove              Remove a package
    update              Update system packages and repositories       search              Search for a package

options:
  -h, --help            show this help message and exit             --version             Show the version number and exit
  --backend             Detect and print the current system
                        package manager backend, then exit

Use 'pkgwrap <command> --help' for more information on a
specific command.
~ $ pkw upgrade
usage: pkgwrap [-h] [--version] [--backend]
               {install,remove,update,search} ...
pkgwrap: error: argument command: invalid choice: 'upgrade' (choose from install, remove, update, search)
~ $ pkw update
ℹ The command 'sudo apt update' requires administrative privileges (sudo).
ℹ Do you want to proceed with sudo? [y/N]: y
ℹ → Running: sudo apt update
✖ Command 'sudo apt update' failed with exit code 127. Error: Executable not found: [Errno 2] No such file or directory: 'sudo'
~ $

On termux sudo isn't configure..
Update is available but upgrade means there is nothing.
Do same words runnable.
What if user doesn't run with sudo no option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions