pkg upgrade gives: Assertion failed

Dan Langille dan at langille.org
Wed Dec 17 22:49:39 UTC 2014


I am installing from my own repo onto FreeBSD 9.3 with pkg 1.4.0

 $ sudo pkg upgrade -f
Updating local repository catalogue...
local repository is up-to-date.
Updating postgresql91 repository catalogue...
postgresql91 repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (422 candidates):  92%
db47 has no direct installation candidates, change it to db48? [Y/n]: y
Checking for upgrades (422 candidates):  93%
db42 has no direct installation candidates, change it to db48? [Y/n]: y
Checking for upgrades (422 candidates): 100%
Processing candidates (422 candidates): 100%
pkg: sqlite error while executing UPDATE packages SET name=?1  WHERE name=?2; in file pkg_jobs.c:1601: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=?1  WHERE name=?2; in file pkg_jobs.c:1601: UNIQUE constraint failed: packages.name
Checking integrity...pkg: cannot load files from pkg to check integrity
pkg: cannot load files from zoo to check integrity
pkg: cannot load files from xtail to check integrity
pkg: cannot load files from xproto to check integrity
pkg: cannot load files from xorg-macros to check integrity
[snip]
pkg: cannot load files from OpenSP to check integrity
pkg: cannot load files from 3dm to check integrity
Assertion failed: (pkgdb_ensure_loaded(j->db, p2, PKG_LOAD_FILES|PKG_LOAD_DIRS) == EPKG_OK), function pkg_conflicts_need_conflict, file pkg_jobs_conflicts.c, line 211.
Child process pid=78554 terminated abnormally: Abort trap: 6

Ideas?

—
Dan Langille
http://langille.org/





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 333 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20141217/311f74bf/attachment.sig>


More information about the freebsd-ports mailing list