can I "just" apt-get dist-upgrade
diesch at spamfence.net
Wed Sep 16 20:16:22 UTC 2009
Preston Hagar <prestonh at gmail.com> writes:
> On Wed, Sep 16, 2009 at 2:10 PM, robert rottermann <robert at redcor.ch> wrote:
>> hi there,
>> I am new to ubuntu and inherited the support of an Ubuntu 6.06.1 LTS box.
>> on that computer there was never an upgrade executed.
>> now I am a bit afraid to just apt-get update && apt-get dist-upgrade.
>> will that work after all these years?
>> the computer is half a continent away, so I can not just walk over if the
>> upgrade bombs. (and it would probably be the end of my new assignment ..).
>> so what do you recommend?
>> thanks for your time
> I have found this suggestion:
> Pvt_Ryan wrote: $> sudo sed -i 's/gutsy/hardy' /etc/apt/sources.list
> $> sudo apt-get update
> $> sudo apt-get dist-upgrade
That's not the supported way to upgrade. See
> if you do go this route, it's generally a good idea to split the
> "dist-upgrade" up a slight bit (from experience)
> Code: apt-get install apt dpkg libc6
> first, *then* dist-upgrade.
> Sometimes changes in apt between releases can cause trouble if new
> packages take advantage of those changes. your dependancies could end
> up weird.[/code]
do-release-upgrade will take care about problems like this.
More information about the ubuntu-users