<p>On Dec 14, 2012 4:01 PM, "Colin Law" <<a href="mailto:clanlaw@googlemail.com">clanlaw@googlemail.com</a>> wrote:<br>
><br>
> On 14 December 2012 21:37, William Scott Lockwood III<br>
> <<a href="mailto:vladinator@gmail.com">vladinator@gmail.com</a>> wrote:<br>
> > On Fri, Dec 14, 2012 at 3:27 PM, Colin Law <<a href="mailto:clanlaw@googlemail.com">clanlaw@googlemail.com</a>> wrote:<br>
> >><br>
> >> On 13 December 2012 23:11, James R McKenzie <<a href="mailto:jimmckenzie@earthlink.net">jimmckenzie@earthlink.net</a>><br>
> >> wrote:<br>
> >> > For the record, no other update process was running.<br>
> >> > Jims64BitLinuxMint13LapTop ~ # sudo apt-get update & sudo apt-get<br>
> >> > upgrade<br>
> >><br>
> >> Just for the record, for keeping everything up to date you should use<br>
> >> sudo apt-get update && sudo apt-get dist-upgrade<br>
> >><br>
> >> Colin<br>
> ><br>
> ><br>
> > While generally I agree with this advice, I wouldn't necessarily do that<br>
> > with servers. Some things that are held back (like new kernels) are held<br>
> > back for very good reasons. You should only use dist-upgrade if you're on a<br>
> > workstation that you don't care about potentially blowing up, or on machines<br>
> > you're testing/qa'ing on for eventual release to production.<br>
><br>
> I don't understand what you mean. From man apt-get:<br>
> upgrade<br>
> upgrade is used to install the newest versions of all packages<br>
> currently installed on the system ...<br>
><br>
> dist-upgrade<br>
> dist-upgrade in addition to performing the function of upgrade, also<br>
> intelligently handles changing dependencies with new versions of<br>
> packages ...<br>
><br>
> I don't quite see how that relates to your comments. Can you clarify?<br>
><br>
> Colin</p>
<p>Sure. If you have ever managed 1000's of servers as I have, you will learn very quickly that dist-upgrade can really bite you. It's much more of a problem with Ubuntu than with Debian, but it can still be a problem with both. While I would say things are a lot better than they were 5 years ago, they're still not perfect, and dist-upgrade has broken a few servers in production for me in the last year, even with testing, so use it carefully.</p>
<p>Also, just because that is what the tool says it will do, doesn't mean that is what actually happens in practice. </p>
<p>If you're just doing this on a workstation, well then, no great loss if you do this, and it gets foobar'd. Do it on a company file server and foobar that - suddenly you start wishing you let upgrade TELL YOU some things were held back, so you can QA them somewhere other than your production environment. </p>
<p>There is nothing worse than, "PRODUCTION: the Ultimate Testing Environment".</p>