I do this all the time, since I want to be only on LTS releases, whether on the desktop or the servers.<br><br>I use do-release-upgrade exclusively for upgrading Ubuntu, not the apt* way(s).<br><br>In order to restrict do-release-upgrade to LTS releases only, you edit the file <br>
<br>        /etc/update-manager/release-upgrades<br><br>And change the Prompt line to :<br><br>        Prompt=lts<br><br>This way, I am able to stay with 8.04 for 5 years on servers, then go from 8.04 to 10.04 then from that to 12.04, and hopefully forget about it for 4 more years from now.<br>
<br><div class="gmail_quote">On Sat, Feb 23, 2013 at 1:39 AM, Bob Jonkman <span dir="ltr"><<a href="mailto:bjonkman@sobac.com" target="_blank">bjonkman@sobac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
'apt-get dist-upgrade' allows it to install new packages (like kernel<br>
images), not just upgrade existing files.  Sometimes that's necessary.<br>
It won't upgrade the entire distribution from 12.04 to 12.10<br>
<br>
'do-release-upgrade' would upgrade the distribution from 12.04 to<br>
12.10.  But I'm not quite sure how you would upgrade from 10.04 to 12.04<br>
and skip all the releases in between...<br>
<br>
--Bob.<br>
<br>
Bob Jonkman <<a href="mailto:bjonkman@sobac.com">bjonkman@sobac.com</a>>         <a href="http://sobac.com/sobac/" target="_blank">http://sobac.com/sobac/</a><br>
SOBAC Microcomputer Services              Phone: <a href="tel:%2B1-519-669-0388" value="+15196690388">+1-519-669-0388</a><br>
6 James Street, Elmira ON Canada  N3B 1L5  Cell: <a href="tel:%2B1-519-635-9413" value="+15196359413">+1-519-635-9413</a><br>
Software   ---   Office & Business Automation   ---   Consulting<br>
<br>
<br>
On 13-02-22 05:09 PM, Chamunks Arkturus wrote:<br>
> My only issue with apt-get dist-upgrade is that I want to stay on ubuntu<br>
> 12.04<br>
> Although I have been considering moving to linux-image-server since this is<br>
> a server and not a desktop.<br>
><br>
><br>
> On Thu, Feb 21, 2013 at 11:51 PM, Khalid Baheyeldin <<a href="mailto:kb@2bits.com">kb@2bits.com</a>> wrote:<br>
><br>
>> For what it is worth ...<br>
>><br>
>> I got notified of a new kernel, and I did the upgrade the way I always do:<br>
>><br>
>> Just using the command: aptitude full-upgrade<br>
>><br>
>>  # aptitude full-upgrade<br>
>><br>
>> The following packages will be upgraded:<br>
>>   libssl-dev libssl-doc libssl1.0.0 linux-headers-3.2.0-38<br>
>> linux-headers-3.2.0-38-generic linux-image-3.2.0-38-generic<br>
>>   linux-libc-dev openssl<br>
>> 8 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>
>> Need to get 0 B/56.2 MB of archives. After unpacking 25.6 kB will be used.<br>
>> Do you want to continue? [Y/n/?]<br>
>> Reading changelogs... Done<br>
>> Get:1 Changelog for linux-image-3.2.0-38-generic (<br>
>> <a href="http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_3.2.0-38.61/" target="_blank">http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_3.2.0-38.61/</a><br>
>> changelog) [447 kB]<br>
>> ...<br>
>> And it finished normally.<br>
>> --<br>
>> Khalid M. Baheyeldin<br>
>> <a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>
>> Fast Reliable Drupal<br>
>> Drupal optimization, development, customization and consulting.<br>
>> Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>
>> Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>
>> For every complex problem, there is an answer that is clear, simple, and<br>
>> wrong." -- H.L. Mencken<br>
>><br>
>> _______________________________________________<br>
>> kwlug-disc mailing list<br>
>> <a href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a><br>
>> <a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> kwlug-disc mailing list<br>
> <a href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a><br>
> <a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
<br>
<br>
<br>_______________________________________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>Fast Reliable Drupal<br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>For every complex problem, there is an answer that is clear, simple, and wrong." -- H.L. Mencken<br>