Re: upgrade a port
exactly what i am looking for, thx. -cs Lowell Gilbert wrote: Robert Huff <[EMAIL PROTECTED]> writes: Chiang Seng Chang writes: portupgrade wont work because ver 22 was not installed in the first place. pkg_deinstall ver 21 wont work because there are dependencies. portinstall ver 22 wont work because ver 21 is there. how do i get out of this catch-22 ? pkg_delete -f pkgdb -F# just to be sure portinstall (Crude, but effective.) Slightly less crude would be something like portupgrade -o -f ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade a port
Robert Huff <[EMAIL PROTECTED]> writes: > Chiang Seng Chang writes: > > > portupgrade wont work because ver 22 was not installed in the > > first place. > > > > pkg_deinstall ver 21 wont work because there are dependencies. > > > > portinstall ver 22 wont work because ver 21 is there. > > > > how do i get out of this catch-22 ? > > pkg_delete -f > pkgdb -F# just to be sure > portinstall > > (Crude, but effective.) Slightly less crude would be something like portupgrade -o -f ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade a port
Chiang Seng Chang writes: > portupgrade wont work because ver 22 was not installed in the > first place. > > pkg_deinstall ver 21 wont work because there are dependencies. > > portinstall ver 22 wont work because ver 21 is there. > > how do i get out of this catch-22 ? pkg_delete -f pkgdb -F# just to be sure portinstall (Crude, but effective.) Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade a port
portupgrade wont work because ver 22 was not installed in the first place. pkg_deinstall ver 21 wont work because there are dependencies. portinstall ver 22 wont work because ver 21 is there. how do i get out of this catch-22 ? -cs John Oxley wrote: 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 openldap-client-2.1.30 kdeutils-3.2.2 kdebase-3.2.2 kdenetwork-3.2.2 kdegraphics-3.2.2 kdegames-3.2.2 kdelibs-3.2.2 gnupg-1.2.4_1 samba-3.0.3.p2_1,1 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 openldap22-client. 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. -Ox ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade a port
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 > openldap-client-2.1.30 > kdeutils-3.2.2 > kdebase-3.2.2 > kdenetwork-3.2.2 > kdegraphics-3.2.2 > kdegames-3.2.2 > kdelibs-3.2.2 > gnupg-1.2.4_1 > samba-3.0.3.p2_1,1 > > 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 openldap22-client. 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. -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"