Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2019 17:09:35 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Lost user database after bungled upgrade
Message-ID:  <CAFMmRNy4aj7A0aqrKEpjYzP1TW_h7cUDp2Gm%2BnABD=H01FxFzA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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: (strcmp(uid, p->uid) != 0),
function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c,
line 386.

Is there any way to get past this, or is the system toast?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNy4aj7A0aqrKEpjYzP1TW_h7cUDp2Gm%2BnABD=H01FxFzA>