Module opkg

Ensure that a package managed by Opkg is installed or absent.

Info:

Functions

present(force_depends, force_reinstall, force_overwrite, force_downgrade, force_maintainer, nodeps, proxy, update)
Install a package. See opkg --help

Promiser:

    package

Aliases:

  • installed
  • install

Parameters:

  • force_depends install despite failed dependencies [Default: false]
  • force_reinstall reinstall package [Default: false]
  • force_overwrite overwrite files from other packages [Default: false]
  • force_downgrade Allow downgrading packages [Default: false]
  • force_maintainer Overwrite existing config files [Default: false]
  • nodeps Do not install dependencies [Default: false]
  • proxy HTTP proxy to use for connections
  • update update package [Default: false]

Usage:

    opkg.present("strace") {
        update = true
    }
absent(force_depends, force_remove, autoremove, force_removal_of_dependent_packages)
Uninstall a package.

Promiser:

    package

Aliases:

  • removed
  • remove

Parameters:

  • force_depends remove despite failed dependencies
  • force_remove Remove packages even if prerm hook fails [Default: false]
  • autoremove Remove packages that were installed to satisfy dependencies [Default: false]
  • force_removal_of_dependent_packages Remove package and all dependencies [Default: false]

Usage:

    opkg.absent("ncurses"){
        force_remove = true
    }
generated by LDoc 1.4.6 Last updated 2017-05-09 15:50:38