Api/apt.update()

From Minux Wiki
Jump to navigation Jump to search

this api is used to update software managed by apt

usage:

apt.update()


output:

compares version numbers of installed software and updates if outdated, if the argument "-f" is provided it will force-update all installed packs,

if a package name is provided as argument, it will force update that specific package