Skip to content

[Feature]: Separate nonfree packages into a distinct Termux repository #4927

@davidhedlund

Description

@davidhedlund

Feature description

Description

The default Termux package repository (termux-main) currently includes some nonfree packages. For example, proot-distro maintains popular but nonfree GNU/Linux distributions. This mixing of free and nonfree software goes against the principle of repository separation and can create licensing and redistribution concerns.

Steps to Reproduce

  1. Review the default repository configuration at $PREFIX/etc/apt/sources.list, which contains:
    deb https://mirrors.cbrx.io/apt/termux/termux-main stable main
  2. Comment out the above line and run:
    apt update && apt show proot-distro
    The package proot-distro will no longer appear, confirming it resides in termux-main.

Expected Behavior

Nonfree packages should reside in a separate repository (e.g., termux-nonfree) to clearly distinguish between free and nonfree software.

Actual Behavior

termux-main currently includes both free and nonfree packages, such as proot-distro.

Proposed Solution

  • Move nonfree packages (e.g., proot-distro) out of termux-main into a dedicated termux-nonfree repository.
  • Update documentation and sources.list templates accordingly.

References

  1. Verification: When the termux-main source line is commented out, apt show proot-distro fails, confirming its presence in that repository.

Additional information

@robertkirkman Please take a look at this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions