mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
ca85aab953
a/pkgtools-15.0-noarch-20.txz: Rebuilt. Move pkgtools database to /var/lib/pkgtools/. Move removed logs to /var/log/pkgtools/. a/sysvinit-2.90-x86_64-1.txz: Upgraded. ap/cups-filters-1.20.3-x86_64-3.txz: Rebuilt. Recompiled against poppler-0.66.0. kde/calligra-2.9.11-x86_64-22.txz: Rebuilt. Recompiled against poppler-0.66.0. l/dbus-python-1.2.8-x86_64-1.txz: Upgraded. l/gc-7.6.6-x86_64-1.txz: Upgraded. l/harfbuzz-1.8.1-x86_64-1.txz: Upgraded. l/poppler-0.66.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/pulseaudio-12.0-x86_64-1.txz: Upgraded. n/dhcpcd-7.0.6-x86_64-1.txz: Upgraded. n/php-7.2.7-x86_64-1.txz: Upgraded. Added support for libedit. t/texlive-2017.171108-x86_64-7.txz: Rebuilt. Recompiled against poppler-0.66.0. x/libwacom-0.30-x86_64-1.txz: Upgraded. xfce/exo-0.12.2-x86_64-1.txz: Upgraded. xfce/tumbler-0.2.1-x86_64-4.txz: Rebuilt. Recompiled against poppler-0.66.0. xfce/xfce4-settings-4.12.4-x86_64-1.txz: Upgraded.
114 lines
3.2 KiB
Groff
114 lines
3.2 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 REMOVEPKG 8 "23 Nov 2001" "Slackware Version 8.1.0"
|
|
.SH NAME
|
|
removepkg \- remove Slackware packages.
|
|
.SH SYNOPSIS
|
|
.B removepkg
|
|
.BI packagename
|
|
.LP
|
|
[
|
|
.B ROOT=/mnt
|
|
]
|
|
.B removepkg
|
|
[
|
|
.B \--copy
|
|
]
|
|
[
|
|
.B \--keep
|
|
]
|
|
[
|
|
.B \--preserve
|
|
]
|
|
[
|
|
.B \--terse
|
|
]
|
|
[
|
|
.B \--warn
|
|
]
|
|
.BI packagename
|
|
.SH DESCRIPTION
|
|
.B removepkg
|
|
removes a previously installed Slackware package, while writing a progress
|
|
report to the standard output. A package may be specified either by the
|
|
full package name (as you'd see listed in /var/lib/pkgtools/packages/), or by the
|
|
base package name. For example, the package foo-1.0-i586-1.txz may be removed
|
|
with any of the following commands:
|
|
|
|
removepkg foo-1.0-i586-1.txz (also recognized: .tgz, .tbz, .tlz)
|
|
|
|
removepkg foo-1.0-i586-1
|
|
|
|
removepkg foo.txz
|
|
|
|
removepkg foo
|
|
|
|
When deleting files,
|
|
.B removepkg
|
|
will analyze the contents of the other packages installed on your system, and
|
|
will only delete the files that are unique to the package being removed.
|
|
Similarly, the installation scripts for all the other packages will be
|
|
considered when deciding whether or not to delete symbolic links from the
|
|
package.
|
|
.LP
|
|
Removing a package (as well as installing one) can be a dangerous undertaking.
|
|
For this reason, there is the
|
|
.B \-warn
|
|
option available. When you use this,
|
|
.B removepkg
|
|
will not actually remove any files or links, but will output a detailed report
|
|
of what it would do if you actually did remove the package. It's suggested that
|
|
you do this (and maybe pipe the output to
|
|
.B less
|
|
) before removing packages to make sure you've backed up anything that might
|
|
be important.
|
|
.LP
|
|
When removing a package, it's original file index will be moved from
|
|
/var/lib/pkgtools/packages to /var/log/pkgtools/removed_packages. Likewise, its installation
|
|
script will be moved from /var/lib/pkgtools/scripts to /var/log/pkgtools/removed_scripts.
|
|
.SH OPTIONS
|
|
.TP
|
|
.B \--copy packagename
|
|
Construct a copy of the package under /var/lib/pkgtools/setup/tmp/preserved_packages/packagename,
|
|
but don't remove it. (same effect as \-warn \-preserve)
|
|
.TP
|
|
.B \--keep
|
|
Save the intermediate files created by removepkg (delete_list,
|
|
required_files, uniq_list, del_link_list, required_links,
|
|
required_list). Mostly useful for debugging purposes.
|
|
.TP
|
|
.B \--preserve packagename
|
|
If specified, the complete package subtree is reconstructed in
|
|
/var/lib/pkgtools/setup/tmp/preserved_packages/packagename.
|
|
.TP
|
|
.B \--terse
|
|
Remove the package displaying only a single description line to stdout.
|
|
.TP
|
|
.B \--warn packagename
|
|
Generate a report to the standard output about which files and directories
|
|
would be removed, but does not actually remove the package.
|
|
.SH " "
|
|
It's possible to remove a package from a filesystem
|
|
other than / by supplying
|
|
.B removepkg
|
|
with a
|
|
.B ROOT
|
|
environment variable:
|
|
.TP
|
|
.B ROOT=/mnt removepkg package
|
|
|
|
.SH AUTHORS
|
|
Patrick J. Volkerding <volkerdi@slackware.com>,
|
|
with enhancements by Christian Franke <c.franke@acm.org>
|
|
.SH "SEE ALSO"
|
|
.BR installpkg(8),
|
|
.BR makepkg(8),
|
|
.BR pkgtool(8),
|
|
.BR upgradepkg(8)
|