List Info

Thread: portupgrade -ar (why?)




portupgrade -ar (why?)
user name
2005-10-16 00:04:20
--- Petersen <petersenpetersen.plus.com>
wrote:

> Uninstalled dependancies of an installed port are
irrelevant in
> any portupgrade case, as the port will automatically
pull them in
as
> part of its compilation.

What if a port now has a new dependency?

But back to 'r',

My system shows this:

---------------------------------------------------
$ pkg_info -xR openldap
Information for openldap-client-2.2.29:

Required by:
bluefish-1.0.4
dirmngr-0.9.2
gnome-menus-2.10.2_1
gnomevfs2-2.10.1_1
gnupg-devel-1.9.19
gtksourceview-1.2.1
libbonoboui-2.10.1
libgnomeui-2.10.1_1
rox-2.3
samba-libsmbclient-3.0.20_2
---------------------------------------------------

Just to be clear on this, if I do...

# portupgrade -r openldap-client

...all those listed ports will be recompiled whether they
need to be
or not?  That seems mighty inefficient.


	

	
		
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
portupgrade -ar (why?)
user name
2005-10-16 01:16:43
On 10/16/05, Peter Matulis <petermatulisyahoo.ca> wrote:
>
> --- Petersen <petersenpetersen.plus.com>
wrote:
>
> > Uninstalled dependancies of an installed port are
irrelevant in
> > any portupgrade case, as the port will
automatically pull them in
> as
> > part of its compilation.
>
> What if a port now has a new dependency?
>
> But back to 'r',
>
> My system shows this:
>
> ---------------------------------------------------
> $ pkg_info -xR openldap
> Information for openldap-client-2.2.29:
>
> Required by:
> bluefish-1.0.4
> dirmngr-0.9.2
> gnome-menus-2.10.2_1
> gnomevfs2-2.10.1_1
> gnupg-devel-1.9.19
> gtksourceview-1.2.1
> libbonoboui-2.10.1
> libgnomeui-2.10.1_1
> rox-2.3
> samba-libsmbclient-3.0.20_2
> ---------------------------------------------------
>
> Just to be clear on this, if I do...
>
> # portupgrade -r openldap-client
>
> ...all those listed ports will be recompiled whether
they need to be
> or not?  That seems mighty inefficient.
>
>
>
>
>
>
>
__________________________________________________________
> Find your next car at http://autos.yahoo.ca
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>
>

No, they won't. Honestly guys, what is this thread about?
You're not gonna make portupgrade work any faster or
smoother if you weed out a couple of switches from the
command-line. I don't mean to bother anyone if you're
having fun, but it just seems that portupgrade's manpage
covers it all. If you're not sure - just try it. If
something's
strange - see if it's a bug, and if you're sure it is -
send-pr.

chat
is the right place for topics like this one..


Cheerz,
Andrew P.
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
portupgrade -ar (why?)
user name
2005-10-16 01:47:18
--- "Andrew P." <infofarmergmail.com> wrote:

> Honestly guys, what is this thread about?

Hum, understanding something?

> You're not gonna make portupgrade work any faster or
> smoother if you weed out a couple of switches from the
> command-line.

See above.

> I don't mean to bother anyone if you're
> having fun, but it just seems that portupgrade's
manpage
> covers it all.

Ha, I knew a manpage guy would come around sooner or later. 
Don't
you think I read it already?  I have questions it does not
cover.

> If you're not sure - just try it. If something's
> strange - see if it's a bug, and if you're sure it is -
send-pr.

I can use all the switches if I want.  The entire alphabet
soup. 
But that won't help me understand what is happening.  I am
not
satisfied with not "seeing something strange".


	

	
		
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
portupgrade -ar (why?)
user name
2005-10-16 08:52:49
On 10/16/05, Peter Matulis <petermatulisyahoo.ca> wrote:
>
> --- "Andrew P." <infofarmergmail.com> wrote:
>
> > Honestly guys, what is this thread about?
>
> Hum, understanding something?
>
> > You're not gonna make portupgrade work any faster
or
> > smoother if you weed out a couple of switches from
the
> > command-line.
>
> See above.
>
> > I don't mean to bother anyone if you're
> > having fun, but it just seems that portupgrade's
manpage
> > covers it all.
>
> Ha, I knew a manpage guy would come around sooner or
later.  Don't
> you think I read it already?  I have questions it does
not cover.
>
> > If you're not sure - just try it. If something's
> > strange - see if it's a bug, and if you're sure it
is - send-pr.
>
> I can use all the switches if I want.  The entire
alphabet soup.
> But that won't help me understand what is happening.  I
am not
> satisfied with not "seeing something
strange".
>
>
>
>
>
>
>
__________________________________________________________
> Find your next car at http://autos.yahoo.ca
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>
>

Yeah, right. Maybe we could get together some time
and understand what's happening over a cup of tea.

Anyway. I don't know ruby at all. In fact, I don't know
any programming language very well at all.

% more `which portupgrade`
<search for "-a", "-r" and
"-R">

    opts.def_option("-a", "--all",
                    "Do with all the installed
packages") {
      |$all|
      $recursive = false
      $upward_recursive = false
    }

    opts.def_option("-r", "--recursive",
                    "Do with all those depending on the
given
packages" << NEXTLINE <<
                    "as well") {
      $recursive = true unless $all
    }

    opts.def_option("-R",
"--upward-recursive",
                    "Do with all those required by the
given packages"
<< NEXTLINE <<
                    "as well / Fetch recursively if -F
is specified") {
      $upward_recursive = true unless $all
      $fetch_recursive = true
    }

Fortunately, my somewhat basic English allows me
to understand it. Now what part of that is not covered
by the manpage?
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
portupgrade -ar (why?)
user name
2005-10-16 15:34:41
Andrew P. wrote:
> On 10/16/05, Peter Matulis <petermatulisyahoo.ca> wrote:
> 
>>--- "Andrew P." <infofarmergmail.com> wrote:
>>
>>
>>>Honestly guys, what is this thread about?
>>
>>Hum, understanding something?
>>
>>
>>>You're not gonna make portupgrade work any
faster or
>>>smoother if you weed out a couple of switches
from the
>>>command-line.
>>
>>See above.
>>
>>
>>>I don't mean to bother anyone if you're
>>>having fun, but it just seems that portupgrade's
manpage
>>>covers it all.
>>
>>Ha, I knew a manpage guy would come around sooner or
later.  Don't
>>you think I read it already?  I have questions it
does not cover.
>>
>>
>>>If you're not sure - just try it. If something's
>>>strange - see if it's a bug, and if you're sure
it is - send-pr.
>>
>>I can use all the switches if I want.  The entire
alphabet soup.
>>But that won't help me understand what is happening.
 I am not
>>satisfied with not "seeing something
strange".
>>
>>
>>
>>
>>
>>
>>____________________________________________________
______
>>Find your next car at http://autos.yahoo.ca
>>_______________________________________________
>>freebsd-questionsfreebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
>>To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>>
>>
> 
> 
> Yeah, right. Maybe we could get together some time
> and understand what's happening over a cup of tea.
> 
> Anyway. I don't know ruby at all. In fact, I don't know
> any programming language very well at all.
> 
> % more `which portupgrade`
> <search for "-a", "-r" and
"-R">
> 
>     opts.def_option("-a", "--all",
>                     "Do with all the installed
packages") {
>       |$all|
>       $recursive = false
>       $upward_recursive = false
>     }
> 
>     opts.def_option("-r",
"--recursive",
>                     "Do with all those depending
on the given
> packages" << NEXTLINE <<
>                     "as well") {
>       $recursive = true unless $all
>     }
> 
>     opts.def_option("-R",
"--upward-recursive",
>                     "Do with all those required by
the given packages"
> << NEXTLINE <<
>                     "as well / Fetch recursively
if -F is specified") {
>       $upward_recursive = true unless $all
>       $fetch_recursive = true
>     }
> 
> Fortunately, my somewhat basic English allows me
> to understand it. Now what part of that is not covered
> by the manpage?

Look at it again.  Unless I'm completely off, -a and -r are
mutually 
exclusive.  All sets $all and sets $recurse to false.  -r
only sets 
$recurse if $all is not set.  So if -a is specified you'll
never get a 
recurse.  So the original question still stands - why use -r
when you've 
used -a?

Later,
Micah
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )