Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2006 15:47:15 +0300
From:      Todor Dragnev <todor.dragnev@gmail.com>
To:        freebsd-stable@freebsd.org, Elliot Finley <efinleywork@efinley.com>
Subject:   Re: portupgrade failure
Message-ID:  <200606201547.15511.todor.dragnev@gmail.com>
In-Reply-To: <0bcc01c693b0$ba32b3d0$37cba1cd@emerytelcom.com>
References:  <0bcc01c693b0$ba32b3d0$37cba1cd@emerytelcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I have similar problem and find solution in portupgrade man page:
--
     Sometimes a database may get corrupt and the pkgtools commands start to
     abort due to segmentation fault.  In such cases, run ``pkgdb -fu'' to
     rebuild the database, and the problems will go away.  If the command
     failed itself, remove a database file (/var/db/pkg/pkgdb.db) and run it
     again.
--

On Monday 19 June 2006 17:57, Elliot Finley wrote:
> After upgrading to the latest portupgrade:
>
> dns root:~#>portupgrade -v
> portupgrade 2.0.1 (2006/06/18)
>
> I got a failure on 2 out of 4 boxes.  Now when I use portversion,
> portupgrade, or pkgdb I get:
>
> backup root:/usr/ports#>portversion
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 34 packages
> found (-0 +0) Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
>
> Any pointers on how to fix this would be appreciated.
>
> Thanks
> Elliot
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606201547.15511.todor.dragnev>