upgrade a port
oxo at rucus.ru.ac.za
Fri Apr 23 08:45:16 PDT 2004
On Fri 2004-04-23 (11:18), Chiang Seng Chang wrote:
> currently i have openldap client 2.1 installed.
> $ pkg_glob -r openldap-client-2.1.30
> if i want to use version 2.2, do i just simply:
> > pkg_deinstall openldap-client-2.1.30
> > portinstall net/openldap22-client
> i suspect step 1 would fail because there are dependency, or switching them
> around would work ? as in:
> $ portinstall net/openldap22-client
> $ pkg_deinstall openldap-client-2.1.30
A better idea would be
portupgrade -r openldap22-client
The -r recursively upgrade all packages that are dependent on
if you specify -rf it will force a recompile of all ports that are dependent
on it. Much better idea, although it does take longer.
/~\ The ASCII ASCII stupid question, get a EBCDIC ANSI.
\ / Ribbon Campaign John Oxley
X Against HTML http://oxo.rucus.net/
/ \ Email! oxo <at> rucus.ru.ac.za
"Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT."
-- Thomas Scoville
More information about the freebsd-questions