portupgrade and dependencies

Dino Michailidis Dino.Michailidis at efi.com
Tue Dec 12 15:20:26 PST 2006


portupgrade -r will also upgrade packages that depend on the port you are
upgrading.  It seems that this is not what you want.

portupgrade -R will also upgrade packages required by the port you are
upgrading - I believe this *is* what you want.

Be sure to use capital '-R', not lower-case '-r'.

-Dino

-----Original Message-----
From: owner-freebsd-hackers at freebsd.org on behalf of Marek Denis
Sent: Tue 12/12/2006 11:48 AM
To: hackers at freebsd.org
Subject: portupgrade and dependencies
 
Hi all,

I must have ommited something, because this wasn't my first upgrade of
any soft with portupgrade. But this thime, when I upgraded..let's say
ettercap pkg_info -r show that it's depend is also libiconv-1.9.2_1,
which is not the most actuall (1.9.2_2). So I just typed:

# portupgrade -r ettercap
After some time I even noticed some lines like: Cleaning libiconv
1.9.2_2, but afterall, libiconv 1.9.2_1 (and no 1.9.2._2)
 is still in my system, moreover
it is still depend of the newest ettercap. As I always understood, "-r"
option in portupgrade upgraded also out-of-dated dependencies of
upgraded program. But as I can see not, so how should I keep all sets
(program and it's dependencies) up to date? What exactly does -r option
in portupgrade? 
-- 
greetings

Marek 
_______________________________________________
freebsd-hackers at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list