Update fails

Tom H tomh0665 at gmail.com
Fri Apr 23 11:47:33 UTC 2010


On Fri, Apr 23, 2010 at 6:58 AM, william drescher
<william at techservsys.com> wrote:
> On 4/22/2010 3:54 PM, sdavmor wrote:
>> On 04/22/2010 03:29 AM, william drescher wrote:
>>>>
>>>> $ sudo aptitude update
>>>> then
>>>> $ sudo apptiude upgrade
>>>> 73 Karl
>>>
>>> I started with 9.04, and did as you suggested. All went without
>>> apparent error, a new kernel was installed. At reboot it still
>>> reports 9.04, I expected 9.10
>>
>> Ah hah. The mistake you are making, Bill, is in thinking that kernel
>> level = ubuntu release level. Updates will notify you of a new kernel
>> that will work with your Ubuntu release level.
>> If you want to do a release level upgrade that's a different issue
>> entirely. You could do it via terminal:
>>
>> sudo apt-get dist-upgrade
>> Or you could do it from gui:
>> 1) Alt-F2 (to get a "Run" box)
>> 2) update-manager -d
>
> Thanks, I did not appreciate the difference between upgrade and
> dist-upgrade.
> However, when I do this (cli - this is the server version) it
> says 0 upgraded

"update-manager" is a gui so it will not work on a server and "-d"
means upgrade to a development release so you should be glad that it
did not work...

For a server, you have to run
do-release-upgrade -m server
You do not need the "-m server" because it is the default (AFAIK) but
it will not hurt.

For the record, the aptitude commands are more accurate-sounding than
the apt-get ones (for those of you who enjoy getting into
religious-like wars over nonsense issues, I am not advocating the use
of aptitude over apt-get)

apt-get upgrade == aptitude safe-upgrade (although they are not
entirely similar; "aptitude upgrade" will work but will throw up a
message about it being deprecated)

apt-get dist-upgrade == aptitude full-upgrade ("aptitude dist-upgrade"
will work)




More information about the ubuntu-users mailing list