Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2002 18:03:57 -0300
From:      Fernan Aguero <fernan@iib.unsam.edu.ar>
To:        Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: portupgrade mplayer: no such package
Message-ID:  <20021202210357.GF76217@iib.unsam.edu.ar>
In-Reply-To: <20021202195053.26017.qmail@exxodus.fedaykin.here>
References:  <20021202191619.GC76217@iib.unsam.edu.ar> <20021202195053.26017.qmail@exxodus.fedaykin.here>

next in thread | previous in thread | raw e-mail | index | archive | help
+----[ 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:
| > I can't seem to be able to tell portupgrade to upgrade
| > mplayer. I know this probably has to do with my own pkgdb or
| > the way portupgrade uses port names, but I'd like to keep
| > using portupgrade, to keep all installed software
| > registered cleanly and make my life easier to upgrade them.
| > 
| > Perhaps this has to do with the recent move of mplayer from
| > ports/graphics to ports/multimedia?
| 
| 	Exactly :)

Guess I already solved it.


| > Is there any way to use portupgrade? Or should I go back to
| > good old 'cd <port> ; make clean && make install clean'?
| 
| 	No, just tell pkgdb to fix its database.
| 
| $ pkgdb -F
| 
| 	It will fix everything then portupgrade will work like a
| charm again.

Actually after sending the message I did exactly that, and
fixed the 'stale origin' and set a new origin for both
mplayer-fonts and mplayer (graphics/ -> multimedia/)

however, portupgrade keeps failing to notice mplayer.

pi# portupgrade mplayer
** No such package 'mplayer' is installed.

I tried to look through pkg_glob's lens to see the same things
portupgrade was seeing:

pi# pkg_glob 'mplayer*'
mplayer-fonts-0.50
mplayer-gtk-0.90.0.8_1

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?

Thanks in advance,

Fernan

| 	Regards,
| 
| -- 
| Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
|
+----]

Mario, muito obrigado pela pronta resposta!

Fernan

-- 
F e r n a n   A g u e r o
http://genoma.unsam.edu.ar/~fernan

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




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