Discussion:
forcibly reinstall one port with portmaster
(too old to reply)
Miroslav Lachman
2008-04-07 10:47:23 UTC
Permalink
How can I reinstall just one port without version change?

If I did portmaster -f mod_python-3.3.1, portmaster reinstall all
dependencies.
===>>> The following actions were performed:
Re-installation of python25-2.5.2_1
Re-installation of libtool-1.5.24
Re-installation of libiconv-1.11_1
Re-installation of gettext-0.16.1_3
Re-installation of gmake-3.81_2
Re-installation of m4-1.4.9,1
Re-installation of perl-5.8.8_1
Re-installation of p5-gettext-1.05_1
Re-installation of help2man-1.36.4_1
Re-installation of autoconf-wrapper-20071109
Re-installation of autoconf-2.61_2
Re-installation of expat-2.0.0_1
Re-installation of apache-2.2.8
Re-installation of mod_python-3.3.1

(if this is expected behaviour, could it be better documented in man page?)

Miroslav Lachman
Doug Barton
2008-04-09 20:55:07 UTC
Permalink
Post by Miroslav Lachman
How can I reinstall just one port without version change?
Use it without any flags. Portmaster does by default what portupgrade
does with the -f switch. You're right it should probably be more clear
in the man page that this is the default behavior. I'm not sure how to
make the description of what -f does more clear. Perhaps you could
suggest some other language?

Doug
--
This .signature sanitized for your protection
_______________________________________________
freebsd-***@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-***@freebsd.org"

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Miroslav Lachman
2008-04-09 21:51:45 UTC
Permalink
Post by Doug Barton
Post by Miroslav Lachman
How can I reinstall just one port without version change?
Use it without any flags. Portmaster does by default what portupgrade
does with the -f switch. You're right it should probably be more clear
in the man page that this is the default behavior. I'm not sure how to
make the description of what -f does more clear. Perhaps you could
suggest some other language?
Thank you for your reply. I didn't know the default behaviour.

from manpage: "
By default portmaster will first recurse through the port to update, and
all of its dependencies (if any) to handle any port OPTIONS via the
'make config' interface. It will then start building all ports that
need updating."

So it sound like portmaster will do nothing, if specified port has no
newer version. Isn't it meant for -a switch?

It will be better if there will be something like: "By default
portmaster always rebuild specified (named?) port even if there is no
newer version available"

"-f always rebuild ports dependencies (overrides -i)"

I am not a native english speaker...

Miroslav Lachman
_______________________________________________
freebsd-***@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-***@freebsd.org"

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...