Issue with upgrading from 8.10 -> 9.04

Mariano Kamp mariano.kamp at gmail.com
Sun Mar 14 23:16:45 UTC 2010


Marius, thanks for taking the time.

10 at 11:35 PM, Marius Gedminas <marius at pov.lt> wrote:
> On Sun, Mar 14, 2010 at 04:11:58PM +0100, Mariano Kamp wrote:
>> I used Debian a couple of years ago and now want to use Linux again, this
>> time with Ubuntu. I went to 1und1 as a provider and rented a virtual
server
>> that had 8.0.4 LTS on it. When I then tried to install git using a
tutorial
>> on the ubuntu site I learned that the tutorial was based in 9.0.4 ;-(
>
> Are there really significant differences?  Ubuntu 8.04 has git 1.5.4.3,
> while 9.04 has git 1.6.0.4 (and 9.10 has git 1.6.3.3).
I can't tell you that in detail. The tutorial was mentioning 9.0.4 (
https://help.ubuntu.com/community/Git) and I became aware of that because
"gitosis" wasn't there at all.

>> I went to: https://help.ubuntu.com/community/UpgradeNotes and understood
>> that you can't do a direct upgrade but need to do this stepwise.
>
> Right.
;-) Good.


>> I then did
>> the upgrade to 8.10 and that seemed to have worked, but when I then tried
to
>> get to 9.0.4 I encountered this:
>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> Processing triggers for libc6 ...
>> ldconfig deferred processing now taking place
>> (Reading database ... 18742 files and directories currently installed.)
>> Preparing to replace libc6 2.8~20080505-0ubuntu9 (using
>> .../libc6_2.9-4ubuntu6.1_amd64.deb) ...
>> Checking for services that may need to be restarted...
>> Checking init scripts...
>> WARNING: this version of the GNU libc requires kernel version
>> 2.6.15 or later. Please upgrade your kernel before installing
>> glibc.
>
> This is very weird, given that Ubuntu 8.04 comes with 2.6.24 which is
> definitely later than 2.6.15.  Even Ubuntu 6.06 came with 2.6.15.
Hmmh, maybe the hoster (1und1) screwed something up? (I mean they enhanced
it ... to be able to be used in a virtual server environment?!)

> Can you check your running kernel version (uname -a)?
Sure:
Linux s15390688.onlinehome-server.info 2.6.9-023stab051.3-smp #1 SMP Wed Nov
4 18:36:34 MSK 2009 x86_64 GNU/Linux



>> The installation of a 2.6 kernel _could_ ask you to install a new libc
>> first, this is NOT a bug, and should *NOT* be reported. In that case,
>> please add lenny sources to your /etc/apt/sources.list and run:
>>   apt-get install -t lenny linux-image-2.6
>
> Don't do that -- the instructions are for Debian, not Ubuntu.  You could
> say this is a second bug: the Ubuntu version of libc6 shouldn't instruct
> Ubuntu users to add Debian lenny repositories to sources.list.

>> Please report this bug against the 'update-manager' package and
>> include the files in /var/log/dist-upgrade/ in the bug report.
>
> This is good advice: it would make sense for update-manager to check
> that you're running a supported kernel version before it starts the
> upgrade process.
So I should report it? Where to?

>> I *think* it says I should install a kernel manually (boy am I glad to be
>> back in Linux land)?
>
> Double-check first:
>
>  $ ls /boot
*root at s15390688:~# ls /boot
root at s15390688:~#
*

> I don't have any 8.10 systems on hand, but packages.ubuntu.com tell me
> you should see vmlinuz-2.6.27-17-generic (or perhaps -server) there.  If
> you do, you can try rebooting and restarting the upgrade.  There's a
> risk that the incomplete upgrade might've left the OS in an unbootable
> state, so have a backup plan (reinstall from scratch).
Not quite sure what exactly to do know?!

Reinstalling shouldn't be a problem. I can start over from 8.0.4 as often as
I like ;-)

> You shouldn't need to install kernels manually.  If you do, the correct
> one for real hardware is linux-generic (or linux-server).
> I'm not sure about the virtualization tech used by 1und1 and I don't
> know if that requires a special kernel.  linux-image-virtual may be the
> right choice, judging from its description, which you can see by typing
>
>  $ apt-cache show linux-virtual

I did that and then tried to install the same way:

*root at s15390688:/# apt-cache show linux-virtual
*Package: linux-virtual
Priority: optional
Section: metapackages
Installed-Size: 32
Maintainer: Ubuntu Kernel Team <kernel-team at lists.ubuntu.com>
Architecture: amd64
Source: linux-meta
Version: 2.6.28.18.23
Depends: linux-image-virtual (= 2.6.28.18.23)
Filename: pool/main/l/linux-meta/linux-virtual_2.6.28.18.23_amd64.deb
Size: 3646
MD5sum: 32a227a16a3899f384ee0dc7f24b9607
SHA1: 06b24ce0f875c81d9e00754bbd882c28c6c0f3bf
SHA256: 93b5227ce036644e5488cb598bdde5722775f46f3a98ede69298d9d42c0d26e5
Description: Complete Linux kernel for virtual machines
This package will always depend on the latest complete Linux kernel
available
for virtual machines.
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Package: linux-virtual
Priority: optional
Section: metapackages
Installed-Size: 32
Maintainer: Ubuntu Kernel Team <kernel-team at lists.ubuntu.com>
Architecture: amd64
Source: linux-meta
Version: 2.6.28.11.15
Depends: linux-image-virtual (= 2.6.28.11.15)
Filename: pool/main/l/linux-meta/linux-virtual_2.6.28.11.15_amd64.deb
Size: 3390
MD5sum: 05c9d61a5d1d2f5515fe1bb9e583bdd7
SHA1: 9fea1de16d9a909c62a4dceb2463615b652280f6
SHA256: ba3a92949e60ed39729aa4dc32af8228dcf0cbee84374d8844019facfd62ea34
Description: Complete Linux kernel for virtual machines
This package will always depend on the latest complete Linux kernel
available
for virtual machines.
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

*root at s15390688:/# apt-get install linux-virtual
*Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
 cpp-4.3: Depends: gcc-4.3-base (= 4.3.2-1ubuntu12) but 4.3.3-5ubuntu4 is to
be installed
 libstdc++6: Depends: gcc-4.3-base (= 4.3.2-1ubuntu12) but 4.3.3-5ubuntu4 is
to be installed
 linux-virtual: Depends: linux-image-virtual (= 2.6.28.18.23) but it is not
going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify
a solution).
root at s15390688:/#

With what you write further below I will try to set it up again from the
beginning and then execute apt-get install linux-virtual again.

>> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify
>> a solution).
>
> That appears to be fallout from the interrupted upgrade.
Ok, I'll try again then.


> You'll need to reboot to a newer kernel before you can continue.
;-)
>> Now I am sure this is an easy problem

> I wouldn't say so.  It's a weird problem.
Oh, ok. That gives me a bit of hope. I also contacted the 1und1 service
yesterday, the may be able to help me then.

> Check the running kernel version.  Check if your virtual hosting
> provider says anything about supported kernel versions in guests.
I have and feed back here when I get the answer.

> Depending on the virtualization tech used it may be difficult/impossible
> to upgrade the kernel inside the VM -- this could be the source of all
> your troubles.
Ok. Do you know a hoster that offers current ubuntu versions? I don't need
much space, traffic, ram or cpu. Mostly uninterrupted service, English or
German as communication language and a good price would be appreciated
though.

> I'm afraid I don't have any first-hand experience with 1und1 or, in
> fact, any other virtual server providers, but I'm pretty sure your
> troubles stem from there.
Thank you very much for taking the time to look through all the stuff I
posted here. Very much appreciated.

> So, what kernel are you running?
Linux s15390688.onlinehome-server.info 2.6.9-023stab051.3-smp #1 SMP Wed Nov
4 18:36:34 MSK 2009 x86_64 GNU/Linux

Which is lower than 2.6.15 you mentioned above.

Cheers,
Mariano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100315/64b67702/attachment.html>


More information about the ubuntu-users mailing list