From owner-freebsd-ports  Tue Dec  3  6:18:39 2002
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DE20737B401
	for <ports@freebsd.org>; Tue,  3 Dec 2002 06:18:37 -0800 (PST)
Received: from heaven.gigo.com (heaven.gigo.com [64.57.102.22])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7F5A143E88
	for <ports@freebsd.org>; Tue,  3 Dec 2002 06:18:37 -0800 (PST)
	(envelope-from lioux@brturbo.com)
Received: from 200-193-225-060-bsace7003.dsl.telebrasilia.net.br (200-193-225-060-bsace7003.dsl.telebrasilia.net.br [200.193.225.60])
	by heaven.gigo.com (Postfix) with ESMTP id B14AAB8CD
	for <ports@freebsd.org>; Tue,  3 Dec 2002 06:18:35 -0800 (PST)
Received: (qmail 21092 invoked by uid 1001); 3 Dec 2002 14:01:22 -0000
Message-ID: <20021203140122.21091.qmail@exxodus.fedaykin.here>
Date: Tue, 3 Dec 2002 12:01:00 -0200
From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To: ports@freebsd.org
Subject: Re: portupgrade mplayer: no such package
References: <20021202191619.GC76217@iib.unsam.edu.ar> <20021202195053.26017.qmail@exxodus.fedaykin.here> <20021202210357.GF76217@iib.unsam.edu.ar>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20021202210357.GF76217@iib.unsam.edu.ar>
User-Agent: Mutt/1.4i
X-Operating-System: FreeBSD 4.7-STABLE
X-Disclaimer: I hope you find what you are looking for... in life :)
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-ports.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-ports>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-ports>
X-Loop: FreeBSD.org

On Mon, Dec 02, 2002 at 06:03:35PM -0300, Fernan Aguero wrote:
> +----[ Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> (02.Dec.2002 17:46):
> |
> | On Mon, Dec 02, 2002 at 04:15:57PM -0300, Fernan Aguero wrote:
> 
> So, mplayer-fonts is apparently OK, but it seems that
> mplayer is actually mplayer-gtk. Let's see:
> 
> pi# portupgrade mplayer-gtk
> ** Package name changed from 'mplayer-gtk' (multimedia/mplayer-fonts) to 'mplayer-fonts' (multimedia/mplayer-fonts).
> ** No need to upgrade 'mplayer-gtk-0.90.0.8_1' (>= mplayer-fonts-0.50). (specify -f to force)
> 
> So it seems that portupgrade (or my pkgdb) is not getting
> things OK.
> 
> Actually trying to upgrade everything also fails:
> 
> pi# portupgrade 'mplayer*'
> ** The port directory for 'graphics/mplayer-fonts' does not exist.
> --->  Skipping 'multimedia/mplayer-fonts' (mplayer-gtk-0.90.0.8_1) because 'graphics/mplayer-fonts' (mplayer-fonts-0.50) failed
> ** The following packages were not installed or upgraded (*:skipped / !:failed)
>         ! graphics/mplayer-fonts (mplayer-fonts-0.50) (port directory error)
>         * multimedia/mplayer-fonts (mplayer-gtk-0.90.0.8_1)
> 
> 
> So, is my pkgdb broken? How can I fix it without losing
> information of currently installed ports/packages?

	Okay, let's take a step back and follow the "let's try to
fix the ports tree" recipe :)

	1) CVSup update your ports tree to the latest version
	http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

	2) Install latest version of portupgrade
		2.1) If you already have it installed
			$ portupgrade 'ruby*' 'portupgrade*'
		2.2) If you do not already have it installed
			$ cd /usr/ports/sysutils/portupgrade
			$ make install clean

	3) Make sure your portupgrade database is both correct and
	up to date.  When running with '-F' option, make sure you
	answer all questions correctly.  Take the time to do so.
		$ pkgdb -F
		$ pkgdb -u

	This ough to do it. Let me know if any problems still persist.

	Regards,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
Computer Science Undergraduate | FreeBSD Committer | CS Developer
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message