Marius, thanks for taking the time.<br><br>10 at 11:35 PM, Marius Gedminas <<a href="mailto:marius@pov.lt">marius@pov.lt</a>> wrote:<br>> On Sun, Mar 14, 2010 at 04:11:58PM +0100, Mariano Kamp wrote:<br>>> I used Debian a couple of years ago and now want to use Linux again, this<br>
>> time with Ubuntu. I went to 1und1 as a provider and rented a virtual server<br>>> that had 8.0.4 LTS on it. When I then tried to install git using a tutorial<br>>> on the ubuntu site I learned that the tutorial was based in 9.0.4 ;-(<br>
><br>> Are there really significant differences?  Ubuntu 8.04 has git 1.5.4.3,<br>> while 9.04 has git 1.6.0.4 (and 9.10 has git 1.6.3.3).<br>I can't tell you that in detail. The tutorial was mentioning 9.0.4 (<a href="https://help.ubuntu.com/community/Git">https://help.ubuntu.com/community/Git</a>) and I became aware of that because "gitosis" wasn't there at all.<br>
<br>>> I went to: <a href="https://help.ubuntu.com/community/UpgradeNotes">https://help.ubuntu.com/community/UpgradeNotes</a> and understood<br>>> that you can't do a direct upgrade but need to do this stepwise.<br>
><br>> Right.<br>;-) Good.<br><br><br>>> I then did<br>>> the upgrade to 8.10 and that seemed to have worked, but when I then tried to<br>>> get to 9.0.4 I encountered this:<br>>><br>>> >>>>>>>>>>>>>>>>>>>>>>>>><br>
>> Processing triggers for libc6 ...<br>>> ldconfig deferred processing now taking place<br>>> (Reading database ... 18742 files and directories currently installed.)<br>>> Preparing to replace libc6 2.8~20080505-0ubuntu9 (using<br>
>> .../libc6_2.9-4ubuntu6.1_amd64.deb) ...<br>>> Checking for services that may need to be restarted...<br>>> Checking init scripts...<br>>> WARNING: this version of the GNU libc requires kernel version<br>
>> 2.6.15 or later. Please upgrade your kernel before installing<br>>> glibc.<br>><br>> This is very weird, given that Ubuntu 8.04 comes with 2.6.24 which is<br>> definitely later than 2.6.15.  Even Ubuntu 6.06 came with 2.6.15.<br>
Hmmh, maybe the hoster (1und1) screwed something up? (I mean they enhanced it ... to be able to be used in a virtual server environment?!)<br><br>> Can you check your running kernel version (uname -a)?<br>Sure:<br>Linux <a href="http://s15390688.onlinehome-server.info">s15390688.onlinehome-server.info</a> 2.6.9-023stab051.3-smp #1 SMP Wed Nov 4 18:36:34 MSK 2009 x86_64 GNU/Linux<br>
<br><br><br>>> The installation of a 2.6 kernel _could_ ask you to install a new libc<br>>> first, this is NOT a bug, and should *NOT* be reported. In that case,<br>>> please add lenny sources to your /etc/apt/sources.list and run:<br>
>>   apt-get install -t lenny linux-image-2.6<br>><br>> Don't do that -- the instructions are for Debian, not Ubuntu.  You could<br>> say this is a second bug: the Ubuntu version of libc6 shouldn't instruct<br>
> Ubuntu users to add Debian lenny repositories to sources.list.<br><br>>> Please report this bug against the 'update-manager' package and<br>>> include the files in /var/log/dist-upgrade/ in the bug report.<br>
><br>> This is good advice: it would make sense for update-manager to check<br>> that you're running a supported kernel version before it starts the<br>> upgrade process.<br>So I should report it? Where to?<br>
<br>>> I *think* it says I should install a kernel manually (boy am I glad to be<br>>> back in Linux land)?<br>><br>> Double-check first:<br>><br>>  $ ls /boot<br><b>root@s15390688:~# ls /boot<br>root@s15390688:~# <br>
</b><br><br>> I don't have any 8.10 systems on hand, but <a href="http://packages.ubuntu.com">packages.ubuntu.com</a> tell me<br>> you should see vmlinuz-2.6.27-17-generic (or perhaps -server) there.  If<br>> you do, you can try rebooting and restarting the upgrade.  There's a<br>
> risk that the incomplete upgrade might've left the OS in an unbootable<br>> state, so have a backup plan (reinstall from scratch).<br>Not quite sure what exactly to do know?! <br><br>Reinstalling shouldn't be a problem. I can start over from 8.0.4 as often as I like ;-)<br>
<br>> You shouldn't need to install kernels manually.  If you do, the correct<br>> one for real hardware is linux-generic (or linux-server).<br>> I'm not sure about the virtualization tech used by 1und1 and I don't<br>
> know if that requires a special kernel.  linux-image-virtual may be the<br>> right choice, judging from its description, which you can see by typing<br>><br>>  $ apt-cache show linux-virtual<br><br>I did that and then tried to install the same way:<br>
<br><b>root@s15390688:/# apt-cache show linux-virtual<br></b>Package: linux-virtual<br>Priority: optional<br>Section: metapackages<br>Installed-Size: 32<br>Maintainer: Ubuntu Kernel Team <<a href="mailto:kernel-team@lists.ubuntu.com">kernel-team@lists.ubuntu.com</a>><br>
Architecture: amd64<br>Source: linux-meta<br>Version: 2.6.28.18.23<br>Depends: linux-image-virtual (= 2.6.28.18.23)<br>Filename: pool/main/l/linux-meta/linux-virtual_2.6.28.18.23_amd64.deb<br>Size: 3646<br>MD5sum: 32a227a16a3899f384ee0dc7f24b9607<br>
SHA1: 06b24ce0f875c81d9e00754bbd882c28c6c0f3bf<br>SHA256: 93b5227ce036644e5488cb598bdde5722775f46f3a98ede69298d9d42c0d26e5<br>Description: Complete Linux kernel for virtual machines<br> This package will always depend on the latest complete Linux kernel available<br>
 for virtual machines.<br>Bugs: <a href="https://bugs.launchpad.net/ubuntu/+filebug">https://bugs.launchpad.net/ubuntu/+filebug</a><br>Origin: Ubuntu<br><br>Package: linux-virtual<br>Priority: optional<br>Section: metapackages<br>
Installed-Size: 32<br>Maintainer: Ubuntu Kernel Team <<a href="mailto:kernel-team@lists.ubuntu.com">kernel-team@lists.ubuntu.com</a>><br>Architecture: amd64<br>Source: linux-meta<br>Version: 2.6.28.11.15<br>Depends: linux-image-virtual (= 2.6.28.11.15)<br>
Filename: pool/main/l/linux-meta/linux-virtual_2.6.28.11.15_amd64.deb<br>Size: 3390<br>MD5sum: 05c9d61a5d1d2f5515fe1bb9e583bdd7<br>SHA1: 9fea1de16d9a909c62a4dceb2463615b652280f6<br>SHA256: ba3a92949e60ed39729aa4dc32af8228dcf0cbee84374d8844019facfd62ea34<br>
Description: Complete Linux kernel for virtual machines<br> This package will always depend on the latest complete Linux kernel available<br> for virtual machines.<br>Bugs: <a href="https://bugs.launchpad.net/ubuntu/+filebug">https://bugs.launchpad.net/ubuntu/+filebug</a><br>
Origin: Ubuntu<br><br><b>root@s15390688:/# apt-get install linux-virtual<br></b>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>You might want to run `apt-get -f install' to correct these:<br>
The following packages have unmet dependencies:<br>  cpp-4.3: Depends: gcc-4.3-base (= 4.3.2-1ubuntu12) but 4.3.3-5ubuntu4 is to be installed<br>  libstdc++6: Depends: gcc-4.3-base (= 4.3.2-1ubuntu12) but 4.3.3-5ubuntu4 is to be installed<br>
  linux-virtual: Depends: linux-image-virtual (= 2.6.28.18.23) but it is not going to be installed<br>E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).<br>root@s15390688:/# <div>
<br></div><div>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.</div><div><br></div><div>>> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify</div>
<div>>> a solution).<br>><br>> That appears to be fallout from the interrupted upgrade.<br>Ok, I'll try again then.</div><div><br></div><div><br></div><div>> You'll need to reboot to a newer kernel before you can continue.<br>
;-)</div><div>>> Now I am sure this is an easy problem</div><div><br></div><div>> I wouldn't say so.  It's a weird problem.<br>Oh, ok. That gives me a bit of hope. I also contacted the 1und1 service yesterday, the may be able to help me then.</div>
<div><br></div><div>> Check the running kernel version.  Check if your virtual hosting<br>> provider says anything about supported kernel versions in guests.</div><div>I have and feed back here when I get the answer.</div>
<div><br>> Depending on the virtualization tech used it may be difficult/impossible<br>> to upgrade the kernel inside the VM -- this could be the source of all<br>> your troubles.</div><div>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.</div>
<div><br></div><div>> I'm afraid I don't have any first-hand experience with 1und1 or, in</div><div>> fact, any other virtual server providers, but I'm pretty sure your<br>> troubles stem from there.<br>
Thank you very much for taking the time to look through all the stuff I posted here. Very much appreciated.</div><div><br></div><div>> So, what kernel are you running?</div><div>Linux <a href="http://s15390688.onlinehome-server.info">s15390688.onlinehome-server.info</a> 2.6.9-023stab051.3-smp #1 SMP Wed Nov 4 18:36:34 MSK 2009 x86_64 GNU/Linux</div>
<div><br></div><div>Which is lower than 2.6.15 you mentioned above.</div><div><br></div><div>Cheers,</div><div>Mariano</div>