UPGRADEPKG(8)

NAME
upgradepkg - upgrade Slackware packages.

SYNOPSIS
upgradepkg newpackagename [newpackagename2]

upgradepkg oldpackagename%newpackagename [old2%new2]

DESCRIPTION
upgradepkg upgrades a Slackware .tgz package from an older version to a newer one. It does this by INSTALLING the new package onto the system, and then REMOVING any files from the old package that aren't in the new package. If the old and new packages have the same name, a single argument is all that is required. If the packages have different names, supply the name of the old package followed by a percent symbol (%), then the name of the new package. Do not add any extra whitespace between pairs of old/new package names.

To upgrade in a directory other than / (such as /mnt):

ROOT=/mnt upgradepkg package.tgz

BUGS
Before upgrading a package, save any configuration files (such as in /etc) that you wish to keep. Sometimes these will be preserved, but it depends on the package structure. If you want to force new versions of the config files to be installed, remove the old ones manually prior to running upgradepkg.

AUTHOR
Patrick J. Volkerding <volkerdi@slackware.com>

SEE ALSO
makepkg(8), installpkg(8), removepkg(8), explodepkg(8), pkgtool(8), setup(8)