Re: Lost user database after bungled upgrade

2019-08-28 Thread Ryan Stone
On Wed, Aug 28, 2019 at 6:40 PM Ian Lepore wrote: > Or maybe in your case the files are fine and it really is a uid > problem. But a "pkg check -s -a" as suggested in the PR couldn't hurt. > :) I did have some problems here, but unfortunately re-installing the affected packages (and confirming t

Re: Lost user database after bungled upgrade

2019-08-28 Thread Ian Lepore
On Wed, 2019-08-28 at 18:09 -0400, Ryan Stone wrote: > Thanks for the hint; I wasn't aware of /var/backups. Unfortunately > fixing my user database at this point hasn't fixed pkg. I'm worried > that it has some bad data cached somewhere now. I tried restoring the > pkg databack from /var/backups

Re: Lost user database after bungled upgrade

2019-08-28 Thread Ryan Stone
Thanks for the hint; I wasn't aware of /var/backups. Unfortunately fixing my user database at this point hasn't fixed pkg. I'm worried that it has some bad data cached somewhere now. I tried restoring the pkg databack from /var/backups but that hasn't helped. On Wed, Aug 28, 2019 at 5:20 PM Gar

Re: Lost user database after bungled upgrade

2019-08-28 Thread Gary Palmer
On Wed, Aug 28, 2019 at 05:09:35PM -0400, Ryan Stone wrote: > Hi everybody, > > I lost /etc/master.passwd and friends while trying to recover from an > src upgrade gone wrong. I'm trying to run "pkg upgrade -f" to get all > of the users and groups created by packages recreating, but pkg is > hitt

Lost user database after bungled upgrade

2019-08-28 Thread Ryan Stone
Hi everybody, I lost /etc/master.passwd and friends while trying to recover from an src upgrade gone wrong. I'm trying to run "pkg upgrade -f" to get all of the users and groups created by packages recreating, but pkg is hitting an assert related to uids: Checking integrity...Assertion failed: (