View Full Version : Best way to update
Just_Johnny
January 31st, 2009, 06:53
Scenario: You keep several machines installed with Apache/PHP/MYSQL for backups/new-servers when you need them.
(ports collection installed using portsnap)
So when the time comes to use one of these servers what is the best way to update it?
Portupgrade?
Portmanager?
Portmaster?
lyuts
January 31st, 2009, 11:50
To tell the truth, I would use portupgrade. Maybe it is just because I got used to it.
mousaka
January 31st, 2009, 12:33
I like portmaster and use it on desktops and server. It has fewer dependecies and doesn't need a database compared portmaster.
But I think it depends a lot on your customs which one you prefer. Their functionality doesn't differ very much.
I don't know portmanager
mousaka
danger@
February 1st, 2009, 01:51
Added poll to the thread. May make it easier to summarize what people prefer.
ale
February 1st, 2009, 02:07
I'm using portupgrade too.
I've started with it and I don't feel the need to change. Maybe I'm too lazy.
I also have a lot of entries as MAKE_ARGS in pkgtools.conf.
If you have to deal with several machines and you are using same options while building, have a look at the -p option.
Maybe you have to mkdir /usr/ports/packages.
Oko
February 1st, 2009, 04:48
I would back up my configuration files, dump the home directory or whatever you need to save and do fresh installation.
Unless there is security reason or the major feature which I need for my
work implemented in the new version of the software I would not bother to
"upgrade".
cajunman4life
February 1st, 2009, 05:39
I switched to portmaster some time back, because I got tired of the ruby depend, and having to constantly fix the database.
kamikaze
February 2nd, 2009, 15:59
I use portmaster with pkg_libchk.
hydra
February 2nd, 2009, 16:40
Portmaster here, no database is needed and it works great.
tangram
February 3rd, 2009, 00:24
Portmaster. Like hydra said... no dependencies (no Ruby). Simple shell script.
graudeejs
February 3rd, 2009, 01:08
I use portmaster as well.
best thing about it: no dependencies.
also no manual database updates are necessary
not to mention that it doesn't use own database
Djn
February 3rd, 2009, 01:08
Oko: An "upgrade" done with portupgrade or portmaster will compile the new version, deinstall the old version, and then install the new version. How is that different?
ctaranotte
February 4th, 2009, 11:04
Being there, done that.
All in all Portmaster is the way to go.
kamikaze
February 4th, 2009, 12:23
Oko: An "upgrade" done with portupgrade or portmaster will compile the new version, deinstall the old version, and then install the new version. How is that different?It also updates dependencies and can roll-back if install fails.
mecano
February 5th, 2009, 19:48
I'm switching to portmaster, my system is already bloated with useless portupgrade dependencies. I'm curious to hear someone about portmanager though, anybody tried it?
jotawski
February 6th, 2009, 03:37
i faced several problems with portupgrade and still have some now but i use portupgrade for upgrading my ports tree.
dave
February 7th, 2009, 02:26
I recently switched from portupgrade to portmaster and... my headache is gone!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.