The FreeBSD Diary

The FreeBSD Diary (TM) Remember
I remember
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Nice but wrong..
Author: Rob 
Date:   29-12-01 13:15

Not all ports should be upgraded this way.. You forget that there are ports such as Mysql and apache-ssl and php3 and php4 that require some level of interactive work to upgrade them in the ports collection.

You should before suggesting that people not use an interactive portupgrade, suggest that they do not in fact use softwares that have at any point been user interactive or that require special attention because of ssl keys or installation of a database which is not required due to previous installation.

Portupgrade is *NOT* a standard and should not be viewed as such simply for the fact that its not intuitive enough to know that there is a very real possibility that it could screw up a current software installed on the system such as what happened with apache-ssl on my system at one point.

Without realizing it I ended up completely trashing my apache server and had to reinstall all configurations and ssl keys from a backup.

Before all else people need to be reminded of these things so keep it in mind before you go making it sound like you can just drop a cron process in and allow portupgrade to do all the work without user interation. It truly does make a difference with a larger number of ports in the fbsd system.

Rob

Reply To This Message
 
 Re: Nice but wrong..
Author: JT Sage 
Date:   29-12-01 23:41

In my experience, running portupgrade prompt on interactive ports, the same way the ports themselves do..... unless the recursion feature turns it off...

Reply To This Message
 
 Re: Nice but wrong..
Author: Dan Langille 
Date:   30-12-01 07:08

You are correct. Portupgrade will prompt you for the information required.

Reply To This Message
 
 Re: Nice but wrong..
Author: Dan Langille 
Date:   30-12-01 07:10

Rob wrote:
>
> Not all ports should be upgraded this way.. You forget
> that there are ports such as Mysql and apache-ssl and php3
> and php4 that require some level of interactive work to
> upgrade them in the ports collection.

I didn't forget. In fact I used portupgrade to upgrade these very ports. No problems.

> You should before suggesting that people not use an
> interactive portupgrade, suggest that they do not in fact use
> softwares that have at any point been user interactive or
> that require special attention because of ssl keys or
> installation of a database which is not required due to
> previous installation.

I never had any such problem.

> Portupgrade is *NOT* a standard and should not be viewed as
> such simply for the fact that its not intuitive enough to
> know that there is a very real possibility that it could
> screw up a current software installed on the system such as
> what happened with apache-ssl on my system at one point.

What makes you think it is not standard?

> Without realizing it I ended up completely trashing my apache
> server and had to reinstall all configurations and ssl keys
> from a backup.

Accidents do happen. That's why we have backups.

> Before all else people need to be reminded of these things so
> keep it in mind before you go making it sound like you can
> just drop a cron process in and allow portupgrade to do all
> the work without user interation. It truly does make a
> difference with a larger number of ports in the fbsd system.

Ummm, I never mentioned a cron process for upgrading ports. At no time did I mention anything close to that.

Now, where was I wrong?

Reply To This Message
 
 Re: Nice but wrong..
Author: MarkC 
Date:   03-11-05 09:24

i really wish i had read this post before portupgrade trashed my box. I think that if i ever get my box back to normal, which I am afraid is going to take about a month of chasing down what I need to backup, and then a complete reformat, and fresh install, then i'll have to recomile again with my kernel, then I will have to reinstall 230 something ports, some of those are dependecies, yes, but i still have way to many apps to reinstall, reconfigure, retest, F#$K

My advise to anyone considering using portupgrade, is silply DO NOT DO IT

Reply To This Message
 
 Re: Nice but wrong..
Author: Dan 
Date:   03-11-05 11:38

MarkC wrote:

> i really wish i had read this post before portupgrade trashed
> my box. I think that if i ever get my box back to normal,
> which I am afraid is going to take about a month of chasing
> down what I need to backup, and then a complete reformat, and
> fresh install, then i'll have to recomile again with my kernel,
> then I will have to reinstall 230 something ports, some of
> those are dependecies, yes, but i still have way to many apps
> to reinstall, reconfigure, retest, F#$K

Sounds like something went wrong. I use portupgrade on a regular basis, for production systems.

> My advise to anyone considering using portupgrade, is silply DO
> NOT DO IT

I'm not sure that's sound advice at all.

What version of FreeBSD were you using? What portupgrade command did you issue? What error messages are you seeing now?

--
Webmaster

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org