pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

"pkg_info: could not process pkgdb"



Hi,

I was beavering away on a NetBSD box trying to package something for
pkgsrc/wip when suddenly something seems to have happened to my pkgdb.
Is this recoverable? (I did reinstall pkg_install, still borked....)

Clayton

{49} make
pkg_info: could not process pkgdb
pkg_info: Error during search in pkgdb for gcc3-c
usage: pkg_admin [-bqSV] [-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 usage: pkg_admin [-bqSV] [-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 pkg_admin: Cannot chdir to -S: No such file or directory
=> Bootstrap dependency digest>=20010302: NOT found
=> Verifying reinstall for ../../pkgtools/digest
===> Installing for digest-20070803
ERROR: digest-20070803 is already installed - perhaps an older version?
ERROR: If so, you may use either of:
ERROR:     - "pkg_delete digest-20070803" and "/usr/bin/make reinstall"
ERROR:       to upgrade properly
ERROR:     - "/usr/bin/make update" to rebuild the package and all
ERROR:       of its dependencies
ERROR:     - "/usr/bin/make replace" to replace only the package without
ERROR:       re-linking dependencies, risking various problems.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/cycle.import



Home | Main Index | Thread Index | Old Index