mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
646a5c1cbf
a/pkgtools-15.0-noarch-13.txz: Rebuilt. installpkg: default line length for --terselength is the number of columns. removepkg: added --terse mode. upgradepkg: default line length for --terselength is the number of columns. upgradepkg: accept -option in addition to --option. ap/vim-8.1.0026-x86_64-1.txz: Upgraded. d/bison-3.0.5-x86_64-1.txz: Upgraded. e/emacs-26.1-x86_64-1.txz: Upgraded. kde/kopete-4.14.3-x86_64-8.txz: Rebuilt. Recompiled against libidn-1.35. n/conntrack-tools-1.4.5-x86_64-1.txz: Upgraded. n/libnetfilter_conntrack-1.0.7-x86_64-1.txz: Upgraded. n/libnftnl-1.1.0-x86_64-1.txz: Upgraded. n/links-2.16-x86_64-2.txz: Rebuilt. Rebuilt to enable X driver for -g mode. n/lynx-2.8.9dev.19-x86_64-1.txz: Upgraded. n/nftables-0.8.5-x86_64-1.txz: Upgraded. n/p11-kit-0.23.11-x86_64-1.txz: Upgraded. n/ulogd-2.0.7-x86_64-1.txz: Upgraded. n/whois-5.3.1-x86_64-1.txz: Upgraded. xap/network-manager-applet-1.8.12-x86_64-1.txz: Upgraded. xap/vim-gvim-8.1.0026-x86_64-1.txz: Upgraded.
116 lines
2.9 KiB
Groff
116 lines
2.9 KiB
Groff
.\" -*- nroff -*-
|
|
.ds g \" empty
|
|
.ds G \" empty
|
|
.\" Like TP, but if specified indent is more than half
|
|
.\" the current line-length - indent, use the default indent.
|
|
.de Tp
|
|
.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
|
|
.el .TP "\\$1"
|
|
..
|
|
.TH UPGRADEPKG 8 "31 May 2002" "Slackware Version 8.1.0"
|
|
.SH NAME
|
|
upgradepkg \- upgrade Slackware packages.
|
|
.SH SYNOPSIS
|
|
.B upgradepkg
|
|
[
|
|
.B --dry-run
|
|
]
|
|
[
|
|
.B --install-new
|
|
]
|
|
[
|
|
.B --reinstall
|
|
]
|
|
[
|
|
.B \--terse
|
|
]
|
|
[
|
|
.B \--terselength <length>
|
|
]
|
|
[
|
|
.B --verbose
|
|
]
|
|
.BI newpackagename
|
|
.BI [ newpackagename2 ]
|
|
.LP
|
|
.B upgradepkg
|
|
[
|
|
.B --dry-run
|
|
]
|
|
[
|
|
.B --install-new
|
|
]
|
|
[
|
|
.B --reinstall
|
|
]
|
|
[
|
|
.B \--terse
|
|
]
|
|
[
|
|
.B \--terselength <length>
|
|
]
|
|
[
|
|
.B --verbose
|
|
]
|
|
.BI oldpackagename%newpackagename
|
|
.BI [ old2%new2 ]
|
|
.SH DESCRIPTION
|
|
.B upgradepkg
|
|
upgrades a Slackware package from an older version to a
|
|
newer one. It does this by
|
|
.B INSTALLING
|
|
the new package onto the system, and then
|
|
.B 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.
|
|
|
|
If upgradepkg finds more than one installed package matching the old package's
|
|
name, it will remove them all.
|
|
.TP
|
|
To upgrade in a directory other than / (such as /mnt):
|
|
.TP
|
|
ROOT=/mnt upgradepkg package.txz (or .tbz, .tgz, .tlz)
|
|
.SH OPTIONS
|
|
.TP
|
|
.B \--dry-run
|
|
Output a report about which packages would be installed or upgraded
|
|
but don't actually perform the upgrades.
|
|
.TP
|
|
.B \--install-new
|
|
Normally upgradepkg only upgrades packages that are already installed on the system, and
|
|
will skip any packages that do not already have a version installed.
|
|
If
|
|
.B --install-new
|
|
is specified, the behavior is modified to install new packages in addition to upgrading
|
|
existing ones.
|
|
.TP
|
|
.B \--reinstall
|
|
Upgradepkg usually skips packages if the exact same package
|
|
(matching name, version, arch, and build number) is already installed on the system.
|
|
Use the --reinstall option if you want to upgrade all packages even if the same
|
|
version is already installed.
|
|
.TP
|
|
.B \--terse
|
|
Upgrade the package displaying only a single description line to stdout.
|
|
.TP
|
|
.B \--terselength <length>
|
|
Maximum line length of --terse mode output. Default is the number of terminal columns.
|
|
.TP
|
|
.B \--verbose
|
|
Show all the gory details of the upgrade.
|
|
.SH 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.
|
|
.SH AUTHOR
|
|
Patrick J. Volkerding <volkerdi@slackware.com>
|
|
.SH "SEE ALSO"
|
|
.BR makepkg(8),
|
|
.BR installpkg(8),
|
|
.BR removepkg(8),
|
|
.BR explodepkg(8),
|
|
.BR pkgtool(8)
|