Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Apr 2008 18:20:20 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122530: sysutils/portupgrade: works strangely on amd64
Message-ID:  <20080407142020.3788D1702D@hades.panopticon>
Resent-Message-ID: <200804071430.m37EU17l068490@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122530
>Category:       ports
>Synopsis:       sysutils/portupgrade: works strangely on amd64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 14:30:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE FreeBSD 7.0-RELEASE #5: Fri Mar 14 14:26:43 MSK 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
I don't remember having any problems with portupgrade on my i386 boxes, but on amd64 7.0 box with ZFS I experience two problems pretty often.

The first is this:

--
<everything works without problems, but suddenly>
# portupgrade -a
zsh-4.3.: 4.3.: Not in due form: '<version>[_<revision>][,<epoch>]'.
# pkgdb -F      
--->  Checking the package registry database
zsh-4.3.4_3: 4.3.4_3: Not in due form: '<version>[_<revision>][,<epoch>]'.
--

This just happens from time to time, always with zsh, and I don't remember touching any zsh-related port before this.
After deleting and rebuilding pkgdb.db everything works again.

Another problem is that portupgrade freezes after upgrading a port sometimes after this this:

--
...
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 84 packages found (-0 +1) . done]

--

Well, it tends to wait around 10 seconds on all my boxes before exiting, but on amd64 box (which is much more powerful and has a lot less ports installed, btw) it can wait much longer fully loading one of two CPU cores. Not sure if it freezes forever though.

>How-To-Repeat:
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



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