Re: upgrade package questions

2005-11-08 Thread Roland Smith
On Tue, Nov 08, 2005 at 01:33:33PM -0600, Lonnie Cumberland wrote:
> Hello All,
> 
> Could someone please tell me how to upgrade a package over the web?

The -r option of pkg_add allows you to get remote packages. So you could
first forcibly deinstall the old package with 'pkg_delete -f', and than get
the new one with 'pkg_add -r'. And then you should fix the package database
dependancies with 'pkgdb -F', I think.

Personally, I find it easier to use the portupgrade program, because not
everything is available as a package, and it takes care of the messy detail.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpdE0n9QGajF.pgp
Description: PGP signature


Re: upgrade package questions

2005-11-08 Thread Andrew P.
On 11/8/05, Lonnie Cumberland <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> Could someone please tell me how to upgrade a package over the web?
>
> What I mean is that i have used /stand/sysinstall >>configure >>
> Pachages which allowed me to choose ftp://ftp1.freebsd.org to install a
> package from but now I need to manually upgrade a package "Gettext
> 0.13.?" I think that it was over to "Gettext 0.14.?"
>
> What would be the command like way to do this?
>
> Thanks,
> Lonnie
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

The straight way would be:
pkg_delete mypackage && pkg_add -r mypackage

Still I would prefer installing portupgrade and doing:
portupgrade -PP mypackage
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


upgrade package questions

2005-11-08 Thread Lonnie Cumberland

Hello All,

Could someone please tell me how to upgrade a package over the web?

What I mean is that i have used /stand/sysinstall >>configure >> 
Pachages which allowed me to choose ftp://ftp1.freebsd.org to install a 
package from but now I need to manually upgrade a package "Gettext 
0.13.?" I think that it was over to "Gettext 0.14.?"


What would be the command like way to do this?

Thanks,
Lonnie

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"