Solved after freebsd 12.1 to 12.2 pkg upgrade -f failed

Hello

as title says after upgraded my system to 12.2 from 12.1 when i run
pkg upgrade -f

i got the following msg

Code:
freebsd# pkg upgrade -f
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (1357 candidates):  15%
ruby23 has no direct installation candidates, change it to ruby? [Y/n]: y
Checking for upgrades (1357 candidates):  16%
quazip-qt4 has no direct installation candidates, change it to quazip-qt5? [Y/n]: y
Checking for upgrades (1357 candidates):  20%
python35 has no direct installation candidates, change it to python? [Y/n]: y
Checking for upgrades (1357 candidates):  75%y
gtk12 has no direct installation candidates, change it to gtk2? [Y/n]: y
Please type 'Y[es]' or 'N[o]' to make a selection
gtk12 has no direct installation candidates, change it to gtk2? [Y/n]: y
Checking for upgrades (1357 candidates):  82%
gcc6 has no direct installation candidates, change it to gcc? [Y/n]: y
Checking for upgrades (1357 candidates): 100%
Processing candidates (1357 candidates): 100%
pkg: sqlite error while executing UPDATE packages SET name=?1  WHERE name=?2; in file pkg_jobs.c:1734: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=?1  WHERE name=?2; in file pkg_jobs.c:1734: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=?1  WHERE name=?2; in file pkg_jobs.c:1734: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=?1  WHERE name=?2; in file pkg_jobs.c:1734: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=?1  WHERE name=?2; in file pkg_jobs.c:1734: UNIQUE constraint failed: packages.name
Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386.
Child process pid=23048 terminated abnormally: Abort trap

any ideas?
 
Back
Top