ts-apt - v1.1.2
    Preparing search index...

    Interface PackageInfo

    Structured package metadata returned by manager operations.

    interface PackageInfo {
        name: PackageName;
        status?: PackageStatus;
        metadata?: MetadataRecord;
    }
    Index

    Package name as reported by the package manager.

    status?: PackageStatus

    Current normalized package status.

    metadata?: MetadataRecord

    Operation specific metadata if available.

    Some are extracted from commands like apt-cache show <package> or apt-get remove <package...>, while others are extracted from the command output itself with ts-apt's custom defined keys [TsAptMetaKeys].

    Example records:

    • {"Description": "command line tool for transferring data with URL syntax"}
    • {"Architecture": "amd64", "Version": "8.5.0-2ubuntu10.6"}
    • {"tsapt-install-repositories": "Ubuntu:20.04/focal [security], Ubuntu:20.04/focal-updates"} with runtime key [TsAptMetaKeys.installRepositories]
    • {"tsapt-remove-dependencies": "wajig:amd64 xfsprogs:amd64 ufw:amd64 ubuntu-pro-client-l10n:amd64"} with runtime key [TsAptMetaKeys.removeDependencies]
    • {"tsapt-install-actions": "Inst Conf"} with runtime key [TsAptMetaKeys.installActions]
    • {"tsapt-install-actions": "Conf"} with runtime key [TsAptMetaKeys.installActions]