Re: If I have portmanager, do I need portupgrade?

2005-03-16 Thread RW
On Sunday 13 March 2005 20:05, Fafa Diliha Romanova wrote:
 If I just do:

 cvsup -g -L 2 /etc/cvsupfile  portmanager -u

 Do I need portupgrade at all then?

I think you do, as I understand the situation, portmanager lacks two 
significant features.

1.  All ports have an implicit dependence on FreeBSD itself which isn't 
recorded in the package database,   so AFAIK portmanager doesn't 
automatically rebuild all ports after an upgrade of the basic system, and 
doesn't provide the means to force an upgrade.  

Portupgrade can force the rebuilding of all ports with -fa; better still it 
can force the upgrade of ports built before a specified date, which gives a 
restartable rebuild. I've been trying portmanager recently, but I found  this 
feature of portupgrade very useful when  I upgraded  my hardware and  needed 
to alter my optimizations from P3 down to 686, and then up to althlon-xp.


2 it lacks the ability  to force a rebuild of dependent ports after a port has 
been rebuilt with new build options.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-16 Thread Michael C. Shultz
On Wednesday 16 March 2005 05:03 pm, you wrote:
 On Sunday 13 March 2005 20:05, Fafa Diliha Romanova wrote:
  If I just do:
 
  cvsup -g -L 2 /etc/cvsupfile  portmanager -u
 
  Do I need portupgrade at all then?

 I think you do, as I understand the situation, portmanager lacks two
 significant features.

 1.  All ports have an implicit dependence on FreeBSD itself which
 isn't recorded in the package database,   so AFAIK portmanager
 doesn't automatically rebuild all ports after an upgrade of the basic
 system, and doesn't provide the means to force an upgrade.

 Portupgrade can force the rebuilding of all ports with -fa; better
 still it can force the upgrade of ports built before a specified
 date, which gives a restartable rebuild. I've been trying portmanager
 recently, but I found  this feature of portupgrade very useful when 
 I upgraded  my hardware and  needed to alter my optimizations from P3
 down to 686, and then up to althlon-xp.

This is the first good case I've seen for forcing a rebuild of all 
ports.

Portmanager isn't intended as replacement for portupgrade, the way I see 
it they serve different purposes.  Portmanager's purpose is to make it 
as easy as possible to upgrade all ports, with the goal that users have 
no good excuse to let there ports get way out of date.  That is pretty
much all it does.

Portupgrade has so many useful tools for doing repair/cleanup jobs on 
the ports tree it would be silly in my opinion for someone to get rid 
of it. The example you just cited above is a perfect reason to keep 
portupgrade around.


 2 it lacks the ability  to force a rebuild of dependent ports after a
 port has been rebuilt with new build options.

There would be no reason to build dependent ports in this situation,
the port you changed options on is dependent on the dependent ports, not 
the other way around.

If its the other way where ports depend on this one and they need to be 
rebuilt for some reason this port needs to change its name depending on 
the options it was built with.

using   jdk14 as an example, if you cd  /usr/ports/java/jdk14

and run make describe its name will be

jdk-1.4.2p7

but if you do make describe MINIMAL=1 its name is

jdk-minimal-1.4.2p7

In this case if you change options from normal to minimal or vice versa
portmanager will indeed rebuild the ports that used to depend on the
previous name.  I have seen not one situation where if you change
build options on a port and then ran portmanager -u where it missed 
anything that needed to be rebuilt, if there ever has been such a case 
it certainly has never been reported.

-Mike
  


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


Re: If I have portmanager, do I need portupgrade?

2005-03-14 Thread Alistair Sutton
On Sun, 13 Mar 2005 17:02:59 -0800, Michael C. Shultz
[EMAIL PROTECTED] wrote:
 Thanks All, its running OK on my system but there are 55 more ports
 still to upgrade!  I hope yours is a little faster.

I've got a P4m 2.2GHz so it isn't that slow. My problem is that I have
too much stuff on my drive and so performance suffers cause I'm nearly
always 99% full :-D

I may get chance to have it finished tonight (or at least get enough
of the core stuff done that I can start using the desktop again).

Al
-- 
LJ: http://www.livejournal.com/users/everlone
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-14 Thread Lee Harr
I think there is no big difference between just running portupgrade vs
portmanager.  I would say portmanager is better and faster because you
don't need to baby sit, it is really automagical, and there is no
messing with an index.

I keep hearing great things about portmanager, but I have
not been able to run it... when I try, I get:
# portmanager -s

PMGRrStatus 0.2.9_3 info: Creating inital data bases

PMGRrVerifyContentsFile 0.2.9_3 error: could not open 
/var/db/pkg/mailman-2.1.5_2/+CONTENTS
system message: No such file or directory
Assertion failed: (0), function PMGRrVerifyContentsFile, file 
PMGRrVerifyContentsFile.c,line 75.
Abort (core dumped)

What am I doing wrong?
_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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


Re: If I have portmanager, do I need portupgrade?

2005-03-14 Thread Lee Harr
 I keep hearing great things about portmanager, but I have
 not been able to run it... when I try, I get:


 # portmanager -s
 -
--- PMGRrStatus 0.2.9_3 info: Creating inital data bases
 -
--- PMGRrVerifyContentsFile 0.2.9_3 error: could not open
 /var/db/pkg/mailman-2.1.5_2/+CONTENTS
 system message: No such file or directory
 Assertion failed: (0), function PMGRrVerifyContentsFile, file
 PMGRrVerifyContentsFile.c,line 75.
 Abort (core dumped)


 What am I doing wrong?
Does /var/db/pkg/mailman-2.1.5_2 exist on your system? If so
does  /var/db/pkg/mailman-2.1.5_2/+CONTENTS exist?

Ah...
# ls -ld /var/db/pkg/mail*
drwxr-xr-x  2 root  wheel  512 Feb 15 21:43 /var/db/pkg/mailman-2.1.5_2
# ls -l  /var/db/pkg/mailman-2.1.5_2
total 0
# pkg_info | grep mail
pkg_info: the package info for package 'mailman-2.1.5_2' is corrupt
I re-installed mailman and now portmanager is working.
Still... seems like it should not dump core on the
corrupt package info.
Thanks for your help.
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: If I have portmanager, do I need portupgrade?

2005-03-14 Thread Michael C. Shultz
On Monday 14 March 2005 03:16 pm, Lee Harr wrote:
   I keep hearing great things about portmanager, but I have
   not been able to run it... when I try, I get:
  
  
   # portmanager -s
   -
   --- PMGRrStatus 0.2.9_3 info: Creating inital data bases
   -
   --- PMGRrVerifyContentsFile 0.2.9_3 error: could not open
   /var/db/pkg/mailman-2.1.5_2/+CONTENTS
   system message: No such file or directory
   Assertion failed: (0), function PMGRrVerifyContentsFile, file
   PMGRrVerifyContentsFile.c,line 75.
   Abort (core dumped)
  
  
   What am I doing wrong?
 
 Does /var/db/pkg/mailman-2.1.5_2 exist on your system? If so
 does  /var/db/pkg/mailman-2.1.5_2/+CONTENTS exist?

 Ah...

 # ls -ld /var/db/pkg/mail*
 drwxr-xr-x  2 root  wheel  512 Feb 15 21:43
 /var/db/pkg/mailman-2.1.5_2 # ls -l  /var/db/pkg/mailman-2.1.5_2
 total 0
 # pkg_info | grep mail
 pkg_info: the package info for package 'mailman-2.1.5_2' is corrupt


 I re-installed mailman and now portmanager is working.

 Still... seems like it should not dump core on the
 corrupt package info.

 Thanks for your help.

Your welcome. I'll take your suggestion and make a more informative
message.  Using pkg_info was a great idea, I'll use that for producing 
the message. :)

-Mike

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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Michael C. Shultz
On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:
 If I just do:

 cvsup -g -L 2 /etc/cvsupfile  portmanager -u

 Do I need portupgrade at all then?

 Thanks.

Not for upgrading.  portsclean (a part of portsupgrade package) is a 
nice feature of portupgrade, so is pkg_which and a few others
so I keep portupgrade around just the same.

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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Chris Hodgins
Michael C. Shultz wrote:
On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:
If I just do:
cvsup -g -L 2 /etc/cvsupfile  portmanager -u
Do I need portupgrade at all then?
Thanks.

Not for upgrading.  portsclean (a part of portsupgrade package) is a 
nice feature of portupgrade, so is pkg_which and a few others
so I keep portupgrade around just the same.

-Mike
How long does it take to run portmanager.  Is it a similar amount of 
time as portupgrade for each run?

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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Chris
Chris Hodgins wrote:
 Michael C. Shultz wrote:
 
 On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:

 If I just do:

 cvsup -g -L 2 /etc/cvsupfile  portmanager -u

 Do I need portupgrade at all then?

 Thanks.



 Not for upgrading.  portsclean (a part of portsupgrade package) is a
 nice feature of portupgrade, so is pkg_which and a few others
 so I keep portupgrade around just the same.

 -Mike
 
 
 How long does it take to run portmanager.  Is it a similar amount of
 time as portupgrade for each run?
 
 Chris

The time is about the same (in my experiance) AND (most importantly)
portmanager seems to handle upgrading better then portupgrade does.

IE: Thunderbird, Gnome, Firefox.

Another nifty thing is that portmanager creates a package and dumps it
in /usr/ports/mail/thunderbird (for example) and at least for me, I can
pkg_add that to my laptop since they both run 5.3

-- 
Best regards,
Chris

Misery no longer loves company
nowdays it insists on it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Michael C. Shultz
On Sunday 13 March 2005 12:38 pm, you wrote:
 Michael C. Shultz wrote:
  On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:
 If I just do:
 
 cvsup -g -L 2 /etc/cvsupfile  portmanager -u
 
 Do I need portupgrade at all then?
 
 Thanks.
 
  Not for upgrading.  portsclean (a part of portsupgrade package) is
  a nice feature of portupgrade, so is pkg_which and a few others so
  I keep portupgrade around just the same.
 
  -Mike

 How long does it take to run portmanager.  Is it a similar amount of
 time as portupgrade for each run?

 Chris

That is a tough question here is how it tends to work for me:

First I run it everyday since I'm developing it I have to know if there
is anything changed in ports that is going to cause portmanager to
crash.  Most days it takes less than an hour, but sometimes when
just one lower level port like gettext for example is updated it may
take 24 hours to finish.  I'm using a 1ghz machine with both gnome
and kde (all together about 300 installed ports) as an example.

Here is exactly how portmanager works:

First dependent ports that are out of date are upgraded, then everything
that depends on them are upgraded.  portupgrade does not work this same 
way so the time comparison is very tough to predict.

-Mike

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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Chris Hodgins
Chris wrote:
Chris Hodgins wrote:
Michael C. Shultz wrote:

On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:

If I just do:
cvsup -g -L 2 /etc/cvsupfile  portmanager -u
Do I need portupgrade at all then?
Thanks.

Not for upgrading.  portsclean (a part of portsupgrade package) is a
nice feature of portupgrade, so is pkg_which and a few others
so I keep portupgrade around just the same.
-Mike

How long does it take to run portmanager.  Is it a similar amount of
time as portupgrade for each run?
Chris

The time is about the same (in my experiance) AND (most importantly)
portmanager seems to handle upgrading better then portupgrade does.
IE: Thunderbird, Gnome, Firefox.
Another nifty thing is that portmanager creates a package and dumps it
in /usr/ports/mail/thunderbird (for example) and at least for me, I can
pkg_add that to my laptop since they both run 5.3
Excellent.  Does it leave packages for everything or is just thunderbird 
that does this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Chris
Chris Hodgins wrote:
 Chris wrote:
 
 Chris Hodgins wrote:

 Michael C. Shultz wrote:


 On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:


 If I just do:

 cvsup -g -L 2 /etc/cvsupfile  portmanager -u

 Do I need portupgrade at all then?

 Thanks.




 Not for upgrading.  portsclean (a part of portsupgrade package) is a
 nice feature of portupgrade, so is pkg_which and a few others
 so I keep portupgrade around just the same.

 -Mike



 How long does it take to run portmanager.  Is it a similar amount of
 time as portupgrade for each run?

 Chris



 The time is about the same (in my experiance) AND (most importantly)
 portmanager seems to handle upgrading better then portupgrade does.

 IE: Thunderbird, Gnome, Firefox.

 Another nifty thing is that portmanager creates a package and dumps it
 in /usr/ports/mail/thunderbird (for example) and at least for me, I can
 pkg_add that to my laptop since they both run 5.3

 
 Excellent.  Does it leave packages for everything or is just thunderbird
 that does this?


I assume so - I just checked Firefox - and its in there.


-- 
Best regards,
Chris

The tendency of smoke from a cigarette, barbeque,
campfire, etc. to drift into a person's face varies
directly with that person's sensitivity to smoke.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Chris Hodgins
Michael C. Shultz wrote:
On Sunday 13 March 2005 12:38 pm, you wrote:
Michael C. Shultz wrote:
On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:
If I just do:
cvsup -g -L 2 /etc/cvsupfile  portmanager -u
Do I need portupgrade at all then?
Thanks.
Not for upgrading.  portsclean (a part of portsupgrade package) is
a nice feature of portupgrade, so is pkg_which and a few others so
I keep portupgrade around just the same.
-Mike
How long does it take to run portmanager.  Is it a similar amount of
time as portupgrade for each run?
Chris

That is a tough question here is how it tends to work for me:
First I run it everyday since I'm developing it I have to know if there
is anything changed in ports that is going to cause portmanager to
crash.  Most days it takes less than an hour, but sometimes when
just one lower level port like gettext for example is updated it may
take 24 hours to finish.  I'm using a 1ghz machine with both gnome
and kde (all together about 300 installed ports) as an example.
Here is exactly how portmanager works:
First dependent ports that are out of date are upgraded, then everything
that depends on them are upgraded.  portupgrade does not work this same 
way so the time comparison is very tough to predict.

-Mike
Ah I see.  So portmanager is sort of doing the equivelant to:
portupgrade -fr myOutOfDatePort ??
Does this not mean it will always be slower than portupgrade?  If it a 
low-level port it is going to take ages but if it is high-level it will 
start to get closer to the time it takes for portupgrade to run.  Never 
faster?  Or am I missing something.

Is there a reason it does it this way over portupgrades method?
Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Michael C. Shultz
On Sunday 13 March 2005 12:40 pm, Chris wrote:
 Chris Hodgins wrote:
  Michael C. Shultz wrote:
  On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:
  If I just do:
 
  cvsup -g -L 2 /etc/cvsupfile  portmanager -u
 
  Do I need portupgrade at all then?
 
  Thanks.
 
  Not for upgrading.  portsclean (a part of portsupgrade package) is
  a nice feature of portupgrade, so is pkg_which and a few others so
  I keep portupgrade around just the same.
 
  -Mike
 
  How long does it take to run portmanager.  Is it a similar amount
  of time as portupgrade for each run?
 
  Chris

 The time is about the same (in my experiance) AND (most importantly)
 portmanager seems to handle upgrading better then portupgrade does.

 IE: Thunderbird, Gnome, Firefox.

 Another nifty thing is that portmanager creates a package and dumps
 it in /usr/ports/mail/thunderbird (for example) and at least for me,
 I can pkg_add that to my laptop since they both run 5.3

Chris, check and see if you have a /usr/ports/packages directory.  If 
you do then all the packages will end up in /usr/ports/packages/All and
a tree of symlinks will be made under /usr/ports/packages for the ports 
that have packages.  

For some reason when you first set up FreeBSD/ports it does not make 
the /usr/ports/packages directory so the packages end up in the ports 
directory, this isn't a good place for them, here is why:

When a port is removed, see /usr/ports/MOVED, cvsup should be able to 
delete the directory but if a package is setting in there it can't, so 
over time you will come across port directories that have just a 
package in it and maybe a readme.html file but nothing else.  It will 
keep things leaner/cleaner if the packages directory exists.  I keep 
meaning to submit a PR about the missing packages directory but never 
seem to get around to it :(

One other thing just to let you know, I've been testing portmanager 
against this new gnome update, when its done there is a bunch of 
gstreamer-plugins-* left un-upgraded.  I just tried 
pkg_delete -f gstreamer-plugins-* on them and let portmanager -u bring 
them back in, it seems to be working but I also cvsup'ed and there is 
so many new changes it will be awhile before I know for sure.

Right now I'm telling anyone who asks to try  pkg_delete -f 
gstreamer-plugins-* first before upgrading with portmanager if they use 
gnome.

-Mike







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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Robert Marella
Michael C. Shultz wrote:
On Sunday 13 March 2005 12:40 pm, Chris wrote:
Chris Hodgins wrote:
Michael C. Shultz wrote:
On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:
If I just do:
cvsup -g -L 2 /etc/cvsupfile  portmanager -u
Do I need portupgrade at all then?
Thanks.
Not for upgrading.  portsclean (a part of portsupgrade package) is
a nice feature of portupgrade, so is pkg_which and a few others so
I keep portupgrade around just the same.
-Mike
How long does it take to run portmanager.  Is it a similar amount
of time as portupgrade for each run?
Chris
The time is about the same (in my experiance) AND (most importantly)
portmanager seems to handle upgrading better then portupgrade does.
IE: Thunderbird, Gnome, Firefox.
Another nifty thing is that portmanager creates a package and dumps
it in /usr/ports/mail/thunderbird (for example) and at least for me,
I can pkg_add that to my laptop since they both run 5.3

Chris, check and see if you have a /usr/ports/packages directory.  If 
you do then all the packages will end up in /usr/ports/packages/All and
a tree of symlinks will be made under /usr/ports/packages for the ports 
that have packages.  

For some reason when you first set up FreeBSD/ports it does not make 
the /usr/ports/packages directory so the packages end up in the ports 
directory, this isn't a good place for them, here is why:

When a port is removed, see /usr/ports/MOVED, cvsup should be able to 
delete the directory but if a package is setting in there it can't, so 
over time you will come across port directories that have just a 
package in it and maybe a readme.html file but nothing else.  It will 
keep things leaner/cleaner if the packages directory exists.  I keep 
meaning to submit a PR about the missing packages directory but never 
seem to get around to it :(

One other thing just to let you know, I've been testing portmanager 
against this new gnome update, when its done there is a bunch of 
gstreamer-plugins-* left un-upgraded.  I just tried 
pkg_delete -f gstreamer-plugins-* on them and let portmanager -u bring 
them back in, it seems to be working but I also cvsup'ed and there is 
so many new changes it will be awhile before I know for sure.

Right now I'm telling anyone who asks to try  pkg_delete -f 
gstreamer-plugins-* first before upgrading with portmanager if they use 
gnome.

-Mike
Mike
Like Chris I have packages scattered in my ports directories. I have 
just started using Portmanager. I have now created /usr/ports/packages 
directory. Do I need to move the packages one at a time from the 
individual ports directories? Will running portmanager again find them 
and move them?

Thanks for all the positive, active maintenance of this port.
Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Bart Silverstrim
On Mar 13, 2005, at 3:46 PM, Michael C. Shultz wrote:
On Sunday 13 March 2005 12:38 pm, you wrote:
Michael C. Shultz wrote:
On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:
If I just do:
cvsup -g -L 2 /etc/cvsupfile  portmanager -u
Do I need portupgrade at all then?
Thanks.
Not for upgrading.  portsclean (a part of portsupgrade package) is
a nice feature of portupgrade, so is pkg_which and a few others so
I keep portupgrade around just the same.
-Mike
How long does it take to run portmanager.  Is it a similar amount of
time as portupgrade for each run?
Chris
That is a tough question here is how it tends to work for me:
First I run it everyday since I'm developing it I have to know if there
is anything changed in ports that is going to cause portmanager to
crash.  Most days it takes less than an hour, but sometimes when
just one lower level port like gettext for example is updated it may
take 24 hours to finish.  I'm using a 1ghz machine with both gnome
and kde (all together about 300 installed ports) as an example.
Here is exactly how portmanager works:
First dependent ports that are out of date are upgraded, then 
everything
that depends on them are upgraded.  portupgrade does not work this same
way so the time comparison is very tough to predict.
Just to add some experiences, I've been using Portmanager for probably 
a few months now (would need to check through old postings and notes to 
find out for sure) and have found it to be about the same amount of 
time for doing updates as portupgrade, but there's less babysitting of 
the server and I've not had any trouble using Portmanager.  There was a 
bug that caused a loop in some updates but Michael fixed it in a very 
short amount of time and released the fixed version.

It doesn't seem to rely on the index for the ports, so it may actually 
be faster.  I don't have to run any operations to fix or reindex my 
ports as I've had to do sometimes in the past with portupgrade.

Portmanager has made most of my updating a no-brainer, and I've been 
thankful that Michael was fast to fix problems when I reported what 
little I ran into.  And this is on an in-use production serverI 
trust it with the updates, so either it's a program that works very 
well or I've been very lucky :-)

I'd definitely recommend new users try using Portmanager for keeping 
their ports up to date.  It is simple and straightforward to use and 
doesn't confuse newer users with details like manipulating the ports 
index.  It's just a portmanager -u and off it goes...check in once in 
awhile to see how it's progressing and that's it.  Makes updating as 
simple as the process of installing a new port :-)

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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Chris
Bart Silverstrim wrote:
Portmanager has made most of my updating a no-brainer, and I've been 
thankful that Michael was fast to fix problems when I reported what 
little I ran into.  And this is on an in-use production serverI 
trust it with the updates, so either it's a program that works very 
well or I've been very lucky :-)

I'd definitely recommend new users try using Portmanager for keeping 
their ports up to date.  It is simple and straightforward to use and 
doesn't confuse newer users with details like manipulating the ports 
index.  It's just a portmanager -u and off it goes...check in once 
in awhile to see how it's progressing and that's it.  Makes updating 
as simple as the process of installing a new port :-)

-Bart

Agreed - I to use it on a production boxen - and as Bart has said, 
either it's a great product or I have been lucky also.

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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Michael C. Shultz
On Sunday 13 March 2005 04:06 pm, Alistair Sutton wrote:
 On Sun, 13 Mar 2005 20:52:25 +, Chris Hodgins

 [EMAIL PROTECTED] wrote:
  Excellent.  Does it leave packages for everything or is just
  thunderbird that does this?

 It will create packages for every port that it updates and place them
 under the usual /usr/ports/packages structure.

 Al

I should mention Al here provided the code to add an interactive
update option to portmanager.  With version 0.2.9_3 portmanager-ui 
will let you make Y/N decisions on which ports to update.  I've just 
submitted it to FreeBSD so should be in the Tree sometime in the next 
24 hours.

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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Alistair Sutton
On Sun, 13 Mar 2005 20:52:25 +, Chris Hodgins
[EMAIL PROTECTED] wrote:
 Excellent.  Does it leave packages for everything or is just thunderbird
 that does this?

It will create packages for every port that it updates and place them
under the usual /usr/ports/packages structure.

Al
-- 
LJ: http://www.livejournal.com/users/everlone
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Alistair Sutton
On Sun, 13 Mar 2005 16:12:21 -0800, Michael C. Shultz
[EMAIL PROTECTED] wrote:
 On Sunday 13 March 2005 04:06 pm, Alistair Sutton wrote:
  On Sun, 13 Mar 2005 20:52:25 +, Chris Hodgins
 
  [EMAIL PROTECTED] wrote:
   Excellent.  Does it leave packages for everything or is just
   thunderbird that does this?
 
  It will create packages for every port that it updates and place them
  under the usual /usr/ports/packages structure.
 
  Al
 
 I should mention Al here provided the code to add an interactive
 update option to portmanager.  With version 0.2.9_3 portmanager-ui
 will let you make Y/N decisions on which ports to update.  I've just
 submitted it to FreeBSD so should be in the Tree sometime in the next
 24 hours.

And so my plan for world domination starts ;-)

Al
-- 
LJ: http://www.livejournal.com/users/everlone
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Michael C. Shultz
On Sunday 13 March 2005 04:11 pm, Alistair Sutton wrote:
 On Sun, 13 Mar 2005 13:13:35 -0800, Michael C. Shultz

 [EMAIL PROTECTED] wrote:
  One other thing just to let you know, I've been testing portmanager
  against this new gnome update, when its done there is a bunch of
  gstreamer-plugins-* left un-upgraded.

 I'm about 3% through the upgrade for that now. I had it going this
 afternoon when I was mucking around at a friend's workplace.

 I'm sure I've seen it mention that some gstreamer-plugins needed
 upgrading but I've not paid that much attention :-)

  I just tried
  pkg_delete -f gstreamer-plugins-* on them and let portmanager -u
  bring them back in, it seems to be working but I also cvsup'ed and
  there is so many new changes it will be awhile before I know for
  sure.

 I'll let you know if my system gets upgraded without any issues or if
 the gstreamer stuff still needs manual attention.

 Al

Thanks All, its running OK on my system but there are 55 more ports 
still to upgrade!  I hope yours is a little faster.

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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Jason Henson
On 03/13/05 15:57:23, Chris Hodgins wrote:
Michael C. Shultz wrote:
On Sunday 13 March 2005 12:38 pm, you wrote:
Michael C. Shultz wrote:
On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote:
If I just do:
cvsup -g -L 2 /etc/cvsupfile  portmanager -u
Do I need portupgrade at all then?
Thanks.
Not for upgrading.  portsclean (a part of portsupgrade package) is
a nice feature of portupgrade, so is pkg_which and a few others so
I keep portupgrade around just the same.
-Mike
How long does it take to run portmanager.  Is it a similar amount  
of
time as portupgrade for each run?

Chris

That is a tough question here is how it tends to work for me:
First I run it everyday since I'm developing it I have to know if  
there
is anything changed in ports that is going to cause portmanager to
crash.  Most days it takes less than an hour, but sometimes when
just one lower level port like gettext for example is updated it may
take 24 hours to finish.  I'm using a 1ghz machine with both gnome
and kde (all together about 300 installed ports) as an example.

Here is exactly how portmanager works:
First dependent ports that are out of date are upgraded, then  
everything
that depends on them are upgraded.  portupgrade does not work this  
same way so the time comparison is very tough to predict.

-Mike
Ah I see.  So portmanager is sort of doing the equivelant to:
portupgrade -fr myOutOfDatePort ??
Does this not mean it will always be slower than portupgrade?  If it  
a low-level port it is going to take ages but if it is high-level it  
will start to get closer to the time it takes for portupgrade to run.   
Never faster?  Or am I missing something.

Is there a reason it does it this way over portupgrades method?
Chris
___
I think there is no big difference between just running portupgrade vs  
portmanager.  I would say portmanager is better and faster because you  
don't need to baby sit, it is really automagical, and there is no  
messing with an index.  To upgrade one high level port will take that  
same time on both, if you don't have to pkgdb -F or fiddle with the  
index.  If it is a low level port portmanager will likely take longer,  
but get it done right the first time.  If portupgrade finishes first it  
likely missed some cross dependancies and you will have to do it by  
hand after you have done some trouble shooting.  The best part about  
portmanager for is NO RUBY!

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


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Alistair Sutton
On Sun, 13 Mar 2005 13:13:35 -0800, Michael C. Shultz
[EMAIL PROTECTED] wrote:
 One other thing just to let you know, I've been testing portmanager
 against this new gnome update, when its done there is a bunch of
 gstreamer-plugins-* left un-upgraded. 

I'm about 3% through the upgrade for that now. I had it going this
afternoon when I was mucking around at a friend's workplace.

I'm sure I've seen it mention that some gstreamer-plugins needed
upgrading but I've not paid that much attention :-)

 I just tried
 pkg_delete -f gstreamer-plugins-* on them and let portmanager -u bring
 them back in, it seems to be working but I also cvsup'ed and there is
 so many new changes it will be awhile before I know for sure.

I'll let you know if my system gets upgraded without any issues or if
the gstreamer stuff still needs manual attention.

Al

-- 
LJ: http://www.livejournal.com/users/everlone
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: If I have portmanager, do I need portupgrade?

2005-03-13 Thread Alistair Sutton
On Sun, 13 Mar 2005 13:28:14 -1000, Robert Marella [EMAIL PROTECTED] wrote:
 Like Chris I have packages scattered in my ports directories. I have
 just started using Portmanager. I have now created /usr/ports/packages
 directory. Do I need to move the packages one at a time from the
 individual ports directories? Will running portmanager again find them
 and move them?

I don't think portmanager will find and move them but if the port gets
upgraded again then it'll recreate the packages in
/usr/ports/packages.

The best thing would possibly be to just search for all *.tbz files
under /usr/ports and move them into /usr/ports/packages/All if you
want them all in the same place.

I don't think it will affect any distfiles but I'm not sure if there
are any that have a .tbz suffix.

Al
-- 
LJ: http://www.livejournal.com/users/everlone
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]