pkg upgrade gives: Assertion failed

2014-12-17 Thread Dan Langille
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/







signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: pkg upgrade gives: Assertion failed

2014-12-17 Thread Thierry Thomas
Le mer 17 déc 14 à 23:49:11 +0100, Dan Langille d...@langille.org
 écrivait :

 Ideas?

Not exactly the same messages, but looks like
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195961
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195962

Regards,
-- 
Th. Thomas.


pgpxha1Od_71p.pgp
Description: PGP signature


Re: pkg upgrade gives: Assertion failed

2014-12-17 Thread Andriy Gapon
On 18/12/2014 00:49, Dan Langille wrote:
 I am installing from my own repo onto FreeBSD 9.3 with pkg 1.4.0
 
  $ sudo pkg upgrade -f

Have you just switched from pkg 1.3.x?
If yes, please try pkg update -f before pkg upgrade.

-- 
Andriy Gapon
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: pkg upgrade gives: Assertion failed

2014-12-17 Thread Dan Langille

 On Dec 17, 2014, at 6:06 PM, Andriy Gapon a...@freebsd.org wrote:
 
 On 18/12/2014 00:49, Dan Langille wrote:
 I am installing from my own repo onto FreeBSD 9.3 with pkg 1.4.0
 
 $ sudo pkg upgrade -f
 
 Have you just switched from pkg 1.3.x?

yes.

 If yes, please try pkg update -f before pkg upgrade.

Hmmm, I usually do that every time.

But, success.  Thank you.  Next time you see me, tell me this story and that I 
owe you a beer.  ;)

—
Dan Langille
http://langille.org/







signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: pkg upgrade gives: Assertion failed

2014-12-17 Thread Andriy Gapon
On 18/12/2014 01:19, Dan Langille wrote:
 
 On Dec 17, 2014, at 6:06 PM, Andriy Gapon a...@freebsd.org wrote:

 On 18/12/2014 00:49, Dan Langille wrote:
 I am installing from my own repo onto FreeBSD 9.3 with pkg 1.4.0

 $ sudo pkg upgrade -f

 Have you just switched from pkg 1.3.x?
 
 yes.
 
 If yes, please try pkg update -f before pkg upgrade.
 
 Hmmm, I usually do that every time.
 
 But, success.  Thank you.  Next time you see me, tell me this story and that 
 I owe you a beer.  ;)

Cool :)  Although, I promise to pass that beer to anyone who can fix this 
problem :)
Really, the pkg update -f step should not be required in this situation.


-- 
Andriy Gapon
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org