In my upgrade of pkg this morning, I shot myself in the foot. I
inadvertently killed the update while it was installing the new version,
leaving my pkg database all messed up, or at least the entry for pkg is. I
have a clean backup of pkg.sql.xz, but I can't figure out how to restore it.

Any pkg command gets:
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]:
but trying to do so gets:  the most recent version of pkg-2.0.5 is already
installed

Any idea of what I can do to get a working pkg? I'd like to just blow away
the current database and then bootstrap pkg. I'm just not sure of what to
delete. I know there is a sqlite db somewhere. I've rummaged around in it
in hte past, but it's been years and I can't seem to find it.

Any clue as to how to get pkg reinstalled would be much appreciated.
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

Reply via email to