pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/39090: pkg_admin from pkg_install-renovation fails to run with 'fetch-pkg-vulnerabilities'
> > download-vulnerability-list is now a wrapper around 'pkg_admin
> > fetch-pkg-vulnerabilities'. However, when invoked this only outputs:
>
> Can you execute it with -x? I might be using a construct your shell
> doesn't understand.
Argh - brainfart!
Sorry, what you wanted was:
# /usr/bsd/bin/bash --version
GNU bash, version 3.2.33(1)-release (mips-sgi-irix6.5)
Copyright (C) 2007 Free Software Foundation, Inc.
# /usr/bsd/bin/bash -x /usr/bsd/sbin/download-vulnerability-list
+ pkg_admin=/usr/bsd/sbin/pkg_admin
+ do_sign=
++ getopt c:hs
+ args=' --'
+ '[' 0 -ne 0 ']'
+ set -- --
+ '[' 1 -gt 0 ']'
+ case "$1" in
+ shift
+ '[' 0 -gt 0 ']'
+ exec /usr/bsd/sbin/pkg_admin fetch-pkg-vulnerabilities
usage: pkg_admin [-bqSvV] [-C config] [-d lsdir] [-K pkg_dbdir] [-s
sfx] command args ...
Where 'commands' and 'args' are:
rebuild - rebuild pkgdb from +CONTENTS files
rebuild-tree - rebuild +REQUIRED_BY files from forward deps
check [pkg ...] - check md5 checksum of installed files
add pkg ... - add pkg files to database
delete pkg ... - delete file entries for pkg in database
set variable=value pkg ... - set installation variable for package
unset variable pkg ... - unset installation variable for package
lsall /path/to/pkgpattern - list all pkgs matching the pattern
lsbest /path/to/pkgpattern - list pkgs matching the pattern best
dump - dump database
pmatch pattern pkg - returns true if pkg matches pattern,
otherwise false
fetch-pkg-vulnerabilities [-s] - fetch new vulnerability file
check-pkg-vulnerabilities [-s] <file> - check syntax and checksums of
the vulnerability file
audit [-es] [-t type] ... - check installed packages for vulnerabilities
audit-pkg [-es] [-t type] ... - check listed packages for vulnerabilities
audit-batch [-es] [-t type] ... - check packages in listed files for
vulnerabilities
audit-history [-t type] ... - print all advisories for package names
config-var name - print current value of the
configuration variable
check-signature ... - verify the signature of packages
sign-package pkg spkg key cert - create signature
D'oh! :D
Home |
Main Index |
Thread Index |
Old Index