Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 14:01:23 -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:  <20021203170123.GA13835@iib.unsam.edu.ar>
In-Reply-To: <20021203140122.21091.qmail@exxodus.fedaykin.here>
References:  <20021202191619.GC76217@iib.unsam.edu.ar> <20021202195053.26017.qmail@exxodus.fedaykin.here> <20021202210357.GF76217@iib.unsam.edu.ar> <20021203140122.21091.qmail@exxodus.fedaykin.here>

next in thread | previous in thread | raw e-mail | index | archive | help
+----[ Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.ORG> (03.Dec.2002 11:39):
|
| 	Okay, let's take a step back and follow the "let's try to
| fix the ports tree" recipe :)

OK.

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

Done. A  cron job does it every night for me (ports-all tag=.)

| 2) Install latest version of portupgrade
| 		2.1) If you already have it installed
| 			$ portupgrade 'ruby*' 'portupgrade*'

Done. Actually I upgraded all pkgtools recently, when I
moved from 4.6.2 to 4.7-RELEASE. And then again when moving to
-STABLE. They were not that outdated, but anyway, they are
now up to date.

| 	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

Now, here we are. I did that already yesterday, and when
asked about the new origin for mplayer and mplayer-fonts I
told portupgrade the correct new ones (i.e.
/usr/ports/multimedia/mplayer and mplayer-fonts).

However, now that I run 'pkgdb -F' again I see that it has a
duplicated origin registered for mplayer-fonts:

Duplicated origin: multimedia/mplayer-fonts - mplayer-fonts-0.50 mplayer-gtk-0.90.0.8_1
Unregister any of them? [no] yes
  Unregister mplayer-fonts-0.50 keeping the installed files	intact? [no]
  Unregister mplayer-gtk-0.90.0.8_1 keeping the installed	files intact? [no] yes
	  --> Saving the mplayer-gtk-0.90.0.8_1's +CONTENTS file as	/var/db/pkg/mplayer-fonts-0.50/+CONTENTS.mplayer-gtk-0.90.0.8_1
	  --> Unregistering mplayer-gtk-0.90.0.8_1
	  --> Done.
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 304 packages found (-1 +0) (...) done]


So: I understand that mplayer-fonts has two origins and I
have to decide which is the correct one. If my
interpretation is correct, the correct one is mplayer-fonts
and not mplayer-gtk.
Am i right here?

However, at the end of the run I see the following:
Stale dependency: plugger-4.0_2 -> mplayer-gtk-0.90.0.8_1:
Fixed. (-> mplayer-fonts-0.50)

This time, however, I have not been asked anything, pkgdb
did it without asking ... now why if plugger depends on
mplayer, why pkgdb changed it to mplayer-fonts? Maybe I did
something wrong at the previous prompt?

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

Mario, thanks again for your reply. Seems that the problems
persist, but are mainly derived from my misunderstanding of
the questions that pkgdb asks me. Sometimes I just don't
have an answer:

Stale dependency: autodia-1.2 -> p5-Digest-MD5-2.20:
p5-DBI-1.28 (score:26%) ? ([y]es/[n]o/[a]ll) [no]

Here for example, I know where p5-Digest-MD5 is, but pkgdb
won't allow me to type the correct location, and when forced
to TAB to see available completions, the list is ... uhm ...
irrelevant. 

| 	Regards,
|
+----]

Thanks again,

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?20021203170123.GA13835>