Current-Users archive

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

Re: error upgrading packages on current / pkg database



Riccardo Mottola <riccardo.mottola%libero.it@localhost> writes:

> disc# pkg_admin check
> ...................................pkg_admin: can't open
> /usr/pkg/pkgdb/glib2-2.70.2nb1/+CONTENTS: No such file or directory
>
> disc# pkg_admin rebuild
> pkg_admin: glib2-2.70.2nb1: can't open `+CONTENTS'
>
> disc# pkg_admin rebuild-tree
> pkg_admin: Cannot read +CONTENTS of package glib2-2.70.2nb1

1) Understand how pkgdb works

  cd /usr/pkg/pkgdb

  look around at the contents
  
2) look at glib2 specifically

  ls -ld glib2-*
  for d in glib2-*; do
     echo DIR $d
     ls -l  $d
  done

3) Figure out how to write 'pkg_admin fsck' which will detect/fix
automatically

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index