Update additionals options

This commit is contained in:
Dimitris Zlatanidis 2015-07-25 21:45:57 +03:00
parent b9b6484b47
commit cb78786fd0

View file

@ -20,7 +20,7 @@ Usage: slpkg Commands:
[repo-add [repository name] [URL]] [repo-add [repository name] [URL]]
[repo-remove [repository]] [repo-list] [repo-remove [repository]] [repo-list]
[repo-info [repository]] [update [slpkg]] [repo-info [repository]] [update [slpkg]]
[health, --silent] [deps-status] [health, --silent] [deps-status, --graph=[image]]
Optional arguments: Optional arguments:
[-h] [-v] [-h] [-v]
@ -32,7 +32,7 @@ Usage: slpkg Commands:
[-l [repository], --index, --installed] [-l [repository], --index, --installed]
[-c [repository] --upgrade, --skip=[...] --resolve-off] [-c [repository] --upgrade, --skip=[...] --resolve-off]
[-s [repository] [package...], --resolve-off] [-s [repository] [package...], --resolve-off]
[-t [repository] [package], --check-deps] [-t [repository] [package], --check-deps, --graph=[image]]
[-p [repository] [package], --color=[]] [-p [repository] [package], --color=[]]
[-n [SBo package]] [-F [...]] [-f [...]] [-n [SBo package]] [-F [...]] [-f [...]]
[-i [options] [...]] [-u [options] [...]] [-i [options] [...]] [-u [options] [...]]
@ -58,14 +58,20 @@ The following commands are available.
.PP .PP
Used to re-synchronize the package lists and create some important files. Used to re-synchronize the package lists and create some important files.
This command must run every new repository is added or new updates is available. This command must run every new repository is added or new updates is available.
With additional option "--only=" update at specifically repositories. .PP
Additional options:
.PP
\fB--only=[repositories...]\fP : Update at specifically repositories separate by comma.
.SS upgrade, recreate packages list .SS upgrade, recreate packages list
\fBslpkg\fP \fBupgrade\fP, \fB--only=[repositories...]\fP \fBslpkg\fP \fBupgrade\fP, \fB--only=[repositories...]\fP
.PP .PP
It is sometimes useful to create all of the base file from the beginning so this It is sometimes useful to create all of the base file from the beginning so this
command delete all the package lists and recreated. command delete all the package lists and recreated.
Additional option "--only=" just like "slpkg update --only=[repositories...]". .PP
Additional options:
.PP
\fB--only=[repositories...]\fP : Update at specifically repositories separate by comma.
.SS repo-add, add custom repository .SS repo-add, add custom repository
\fBslpkg\fP \fBrepo-add\fP <\fIrepository name\fP> <\fIURL\fP> \fBslpkg\fP \fBrepo-add\fP <\fIrepository name\fP> <\fIURL\fP>
@ -97,15 +103,21 @@ You can check for new versions and update slpkg itself.
.SS health, health check installed packages .SS health, health check installed packages
\fBslpkg\fP \fBhealth\fP, \fB--silent\fP \fBslpkg\fP \fBhealth\fP, \fB--silent\fP
.PP .PP
Check file list from packages of files installed. The option "--silent" it allows Check file list from packages of files installed.
reference only errors. .PP
Additional options:
.PP
\fB--silent\fP : Print only errors.
.SS deps-status, print dependencies status .SS deps-status, print dependencies status
\fBslpkg\fP \fBdeps-status\fP \fB--graph=[image]\fP \fBslpkg\fP \fBdeps-status\fP \fB--graph=[image]\fP
.PP .PP
Print dependencies status used by packages or design image map dependencies with Print dependencies status used by packages. Prerequisite packages have been installed
additional option "--graph=[image]". Prerequisite packages have been installed
with the option "slpkg -s <repository> <packages>". with the option "slpkg -s <repository> <packages>".
.PP
Additional options:
.PP
\fB--graph=[image]\fP : Drawing image dependencies map.
.SH OPTIONS .SH OPTIONS
.PP .PP
@ -152,36 +164,52 @@ system. Support command "grep" like "# slpkg -l sbo | grep python".
\fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fB--upgrade\fP \fB--skip=[packages...]\fP, \fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fB--upgrade\fP \fB--skip=[packages...]\fP,
\fB--resolve-off\fP \fB--resolve-off\fP
.PP .PP
Check your packages if up to date. Option "--skip=" help to skip packages when upgrading and Check your packages if up to date. Slackware patches repository works independently of the
additional option "--resolve-off" switch off automatic resolve dependencies. others i.e not need before updating the list of packages by choosing "# slpkg update", works
Slackware patches repository works independently of the others i.e not need before updating directly with the official repository and so always you can have updated your system.
the list of packages by choosing "# slpkg update", works directly with the official repository .PP
and so always you can have updated your system. Additional options:
Also you can check ChangeLog.txt for changes without option "--upgrade" like: .PP
"# slpkg -c [repository]" or check all enabled repositories just replace repository name with \fB-c ALL\fP : Check ChangeLog.txt files for changes.
"ALL". NOTE: for option "--skip=" support asterisk "*" to match packages like "*string*" or per .PP
repository like "sbo:*_SBo", this skip all packages from SBo repository. \fB--upgrade\fP : Check and install packages for upgrade.
.PP
\fB--resolve-off\fP : Switch off automatic resolve dependencies.
.PP
\fB--skip=[packages...]\fP : Skip packages from upgrade separate by comma like "slpkg -c sbo --skip=jdk,pep8,pip".
.SS -s, --sync, synchronize packages, download, build and install package with all dependencies .SS -s, --sync, synchronize packages, download, build and install package with all dependencies
\fBslpkg\fP \fB-s\fP <\fIrepository\fP> <\fInames of packages\fP>, \fB--resolve-off\fP \fBslpkg\fP \fB-s\fP <\fIrepository\fP> <\fInames of packages\fP>, \fB--resolve-off\fP
.PP .PP
Installs or upgrade packages from the repositories with automatically resolving all Installs or upgrade packages from the repositories with automatically resolving all
dependencies of the package. Switch off automatic resolve dependencies with additional option dependencies of the package.
"--resolve-off". .PP
Additional options:
.PP
\fB--resolve-off\fP : Switch off automatic resolve dependencies.
.SS -t, --tracking, tracking dependencies .SS -t, --tracking, tracking dependencies
\fBslpkg\fP \fB-t\fP <\fIrepository\fP> <\fIname of package\fP>, \fB--check-deps\fP \fBslpkg\fP \fB-t\fP <\fIrepository\fP> <\fIname of package\fP>, \fB--check-deps\fP, \fB--graph=[image]\fP
.PP .PP
Tracking all dependencies of that package. Tracking all dependencies of that package.
The sequence shown is that you must follow to correctly install package. The sequence shown is that you must follow to correctly install package.
Also you can check if the installed package has all the required dependencies and with Also you can check if the installed package has all the required dependencies.
additional option "--check-deps" if used by other packages. .PP
Additional options:
.PP
\fB--check-deps\fP : Check if installed packages used by other packages.
.PP
\fB--graph=[image]\fP : Drawing image dependencies map.
.SS -p, --desk, print packages description .SS -p, --desk, print packages description
\fBslpkg\fP \fB-p\fP <\fIrepository\fP> <\fIname of package\fP>, \fB--color=[]\fP \fBslpkg\fP \fB-p\fP <\fIrepository\fP> <\fIname of package\fP>, \fB--color=[]\fP
.PP .PP
Print package description from remote repository with color. Available colors: Print package description from remote repository with color. Available colors:
red, green, yellow, cyan, grey red, green, yellow, cyan, grey
.PP
Additional options:
.PP
\fB--color=[]\fP : Change color print.
.SS -F, --FIND, find packages from repositories .SS -F, --FIND, find packages from repositories
\fBslpkg\fP \fB-F\fP <\fInames of packages\fP> \fBslpkg\fP \fB-F\fP <\fInames of packages\fP>
@ -222,9 +250,12 @@ Removes a previously installed Slackware package, while writing a progress repor
the standard output. A package may be specified either by the full package name (as the standard output. A package may be specified either by the full package name (as
you'd see listed in /var/log/packages/), or by the base package name. If installed you'd see listed in /var/log/packages/), or by the base package name. If installed
packages with command "slpkg -s <repo> <packages>" then write a file in /var/log/slpkg/dep/ packages with command "slpkg -s <repo> <packages>" then write a file in /var/log/slpkg/dep/
with all dependencies and it allows you can remove them all together. But with the additional with all dependencies and it allows you can remove them all together.
option "--check-deps" report a list of packages we are dependencies in use.
More information please read "man removepkg". More information please read "man removepkg".
.PP
Additional options:
.PP
\fB--check-deps\fP : Check if installed packages used by other packages.
.SS -d, --display, display the installed packages contents and file list .SS -d, --display, display the installed packages contents and file list
\fBslpkg\fP \fB-d\fP <\fInames of packages\fP> \fBslpkg\fP \fB-d\fP <\fInames of packages\fP>