upgrade sarge nach etch zuerst mal nur kernel

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
lapullo
Beiträge: 11
Registriert: 10.04.2007 10:22:18

upgrade sarge nach etch zuerst mal nur kernel

Beitrag von lapullo » 24.04.2007 00:19:31

hi

ich habe versucht nur mal ein neuer kernel (linux-image-2.6.18-4-686) zu installieren.
momentaner: kernel-image-2.6.8-3-686-smp

mittels:
apt-get install linux-image-2.6.18-4-686

passiert ist folgendes:

Code: Alles auswählen

Removing kernel-image-2.6.8-3-686-smp ...

  You are running a kernel (version 2.6.8-3-686-smp) and attempting to remove
  the same version. This is a potentially disastrous action. Not only
  will /boot/vmlinuz-2.6.8-3-686-smp be removed, making it impossible to boot
  it, (you will have to take action to change your boot loader to boot
  a new kernel), it will also remove all modules under the directory 
  /lib/modules/2.6.8-3-686-smp. Just having a copy of the kernel image is not
  enough, you will have to replace the modules too.

    I repeat, this is very dangerous. If at all in doubt, answer
    no. If you know exactly what you are doing, and are prepared to
    hose your system, then answer Yes.
Remove the running kernel image (not recommended) [No]? 
dpkg: error processing kernel-image-2.6.8-3-686-smp (--remove):
 subprocess pre-removal script returned error exit status 1
Removing kernel-image-2.6.8-3-386 ...
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /boot/vmlinuz-2.6.8-3-686-smp
Updating /boot/grub/menu.lst ... done

The link /vmlinuz.old is a dangling link
Removing symbolic link vmlinuz.old 
Unless you used the optional flag in lilo, 
 you may need to re-run lilo
The link /initrd.img.old is a dangling link
Removing symbolic link initrd.img.old 
Unless you used the optional flag in lilo, 
 you may need to re-run lilo
dpkg: initrd-tools: dependency problems, but removing anyway as you request:
 kernel-image-2.6.8-3-686-smp depends on initrd-tools (>= 0.1.63).
Removing initrd-tools ...
Errors were encountered while processing:
 kernel-image-2.6.8-3-686-smp
E: Sub-process /usr/bin/dpkg returned an error code (1)
zwischendurch kam noch eine lilo meldung und die frage ob ich den alten kernel ganz entfernen möchte. dort habe ich nein gesagt. dürfte aber keine rolle spielen.


besten dank für die hilfe!

gms
Beiträge: 7798
Registriert: 26.11.2004 20:08:38
Lizenz eigener Beiträge: MIT Lizenz

Beitrag von gms » 24.04.2007 08:36:59


Antworten