Etch Rsync install help needed

Discussion in 'HOWTO-Related Questions' started by tfunky, Dec 7, 2007.

  1. tfunky

    tfunky New Member

    Hi All,

    I'm trying to install rsync so I can synchronizes 2 web servers, but when I try I get the following:

    ac2:~# apt-get update
    Get:1 stable/all Packages [17.0kB]
    Hit stable/main Packages
    Hit stable/main Release
    Hit stable/main Sources
    Hit stable/main Release
    Get:2 sarge/updates/main Packages [449kB]
    Get:3 stable/all Release [88B]
    Get:4 stable/all Sources [3030B]
    Get:5 stable/all Release [69B]
    Get:6 sarge/updates/main Release [113B]
    Hit sarge/updates/contrib Packages
    Get:7 sarge/updates/contrib Release [116B]
    Hit sarge/updates/non-free Packages
    Get:8 sarge/updates/non-free Release [117B]
    Get:9 stable/updates/main Packages [228kB]
    Get:10 stable/updates/main Release [97B]
    Fetched 697kB in 4s (160kB/s)
    Reading Package Lists... Done
    ac2:~# apt-get install rsync
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
      libc6 libc6-dev libpopt0 locales tzdata
    Suggested packages:
      glibc-doc openssh-client openssh-server
    The following packages will be REMOVED:
      initrd-tools kernel-image-2.6.8-3-386
    The following NEW packages will be installed:
      rsync tzdata
    The following packages will be upgraded:
      libc6 libc6-dev libpopt0 locales
    4 upgraded, 2 newly installed, 2 to remove and 234 not upgraded.
    1 not fully installed or removed.
    Need to get 294kB/12.0MB of archives.
    After unpacking 39.9MB disk space will be freed.
    Do you want to continue? [Y/n] y
    Get:1 stable/updates/main rsync 2.6.9-2etch1 [261kB]
    Get:2 stable/main libpopt0 1.10-3 [33.1kB]
    Fetched 294kB in 1s (224kB/s)
    Preconfiguring packages ...
    (Reading database ... 35963 files and directories currently installed.)
    Removing kernel-image-2.6.8-3-386 ...
      You are running a kernel (version 2.6.8-3-386) and attempting to remove
      the same version. This is a potentially disastrous action. Not only
      will /boot/vmlinuz-2.6.8-3-386 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-386. 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]? no
    dpkg: error processing kernel-image-2.6.8-3-386 (--remove):
     subprocess pre-removal script returned error exit status 1
    dpkg: initrd-tools: dependency problems, but removing anyway as you request:
     kernel-image-2.6.8-3-386 depends on initrd-tools (>= 0.1.63).
    Removing initrd-tools ...
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I'm not understanding this error...

    Isn't it saying that it's going to remove the kernel and replace it with the same kernel?

    If that's the case...why is it bothering to try it to only wind up with the same kernel.

    and...if it IS really wanting to replace the kernel with the same version, why does that kill the system?

    Any advice is appreciated!

  2. falko

    falko Super Moderator ISPConfig Developer

    It's possible that it'S trying to remove the current kernel without installing a new one.

    I'd try this:
    apt-get update
    apt-get upgrade

Share This Page