From owner-freebsd-questions@FreeBSD.ORG  Wed Oct 22 17:02:10 2003
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 697D216A4B3
	for <freebsd-questions@freebsd.org>;
	Wed, 22 Oct 2003 17:02:10 -0700 (PDT)
Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 625A943F93
	for <freebsd-questions@freebsd.org>;
	Wed, 22 Oct 2003 17:02:09 -0700 (PDT)
	(envelope-from ioang@verizon.net)
Received: from pool-151-199-107-32.roa.east.verizon.net ([151.199.107.32])
	by out003.verizon.netESMTP
	<20031023000208.EIVB8791.out003.verizon.net@pool-151-199-107-32.roa.east.verizon.net>;
	Wed, 22 Oct 2003 19:02:08 -0500
From: ivan georgiev <ioang@verizon.net>
To: Jens Rehsack <rehsack@liwing.de>, Kent Stewart <kstewart@owt.com>
Date: Wed, 22 Oct 2003 20:02:07 -0400
User-Agent: KMail/1.5.4
References: <200310212029.08699.ioang@verizon.net>
	<200310221014.05005.kstewart@owt.com> <3F96BD0C.2090104@liwing.de>
In-Reply-To: <3F96BD0C.2090104@liwing.de>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200310222002.07118.ioang@verizon.net>
X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from
	[151.199.107.32] at Wed, 22 Oct 2003 19:02:08 -0500
cc: freebsd-questions@freebsd.org
Subject: Re: portupgrade problems, please help
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: ioang@verizon.net
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 00:02:10 -0000

> Kent Stewart wrote:
> > On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote:
> >>>What versions of ruby do you have installed? I can remember back
> >>> a few versions, that uninstalling portupgrade and ruby and then
> >>> making and installing portupgrade was faster than fighting the
> >>> problems with ruby.
> >>>
> >>>Kent
> >>
> >>-su-2.05b# ruby -v
> >>ruby 1.6.8 (2003-03-26) [i386-freebsd5]
> >
> > I don't have any idea. It looks like a source/configuration/make
> > error of some type. My version is the also the following
> > ruby 1.6.8 (2003-03-26) [i386-freebsd5]
>
> Maybe complete remove of ruby and dependend packages
> followed by a reinstall of all of them may help.
> If you only have portupgrade installed, you can
> simply
> # pkg_delete -rx ruby
> # cd /usr/ports/sysutils/portupgrade
> # make install clean
>
> If you have other ruby-dependend ports, please write them down,
> eg. by
> $ cd
> $ ls -l /var/db/pkg/ >installed-packages
> $ su -
> # [above procedure]
> $ ls -l /var/db/pkg/ >after-reinstall-ruby-packages
> $ diff installed-packages after-reinstall-ruby-packages
>
> And then reinstall all packages missing (and you need).

Thanks for all of the suggestions!
Finaly "portupgrade -arR" works again. Here is what I did 
(chronologically)
1) ls -l /var/db/pkg/ > ~/old
2) pkg_delete -rx ruby
3) cd /usr/ports/sysutils/portupgrade; make install; make clean
4) ls -l /var/db/pkg/ > ~/new
5) diff ~/old ~/new
which showed no other difference but for the new installed ruby;
6)/usr/local/sbin/pkgdb -fuF
7)/usr/local/sbin/portupgrade -arR
the result was :( 

Then I tried the other suggestion:
8)cd /usr/ports
9) make index
which produced zillion of outputs like:
....
make_index: xcdplayer-2.2_1: no entry for /usr/ports/x11/
XFree86-4-libraries
....
10) /usr/local/sbin/pkgdb -fuF
11) /usr/local/sbin/portupgrade -arR
which took much longer than usual to say something the result is :) 

Ivan