Api/apt.update(): Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 8: Line 8:
'''output:'''
'''output:'''


compares version numbers of installed software and updates if outdated, if the argument "-f" is provided it will force-update
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

Latest revision as of 01:29, 10 October 2024

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