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:

    Code:
    ac2:~# apt-get update
    Get:1 http://packages.dotdeb.org stable/all Packages [17.0kB]
    Hit http://mirrors.kernel.org stable/main Packages
    Hit http://mirrors.kernel.org stable/main Release
    Hit http://mirrors.kernel.org stable/main Sources
    Hit http://mirrors.kernel.org stable/main Release
    Get:2 http://security.debian.org sarge/updates/main Packages [449kB]
    Get:3 http://packages.dotdeb.org stable/all Release [88B]
    Get:4 http://packages.dotdeb.org stable/all Sources [3030B]
    Get:5 http://packages.dotdeb.org stable/all Release [69B]
    Get:6 http://security.debian.org sarge/updates/main Release [113B]
    Hit http://security.debian.org sarge/updates/contrib Packages
    Get:7 http://security.debian.org sarge/updates/contrib Release [116B]
    Hit http://security.debian.org sarge/updates/non-free Packages
    Get:8 http://security.debian.org sarge/updates/non-free Release [117B]
    Get:9 http://security.debian.org stable/updates/main Packages [228kB]
    Get:10 http://security.debian.org 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 http://security.debian.org stable/updates/main rsync 2.6.9-2etch1 [261kB]
    Get:2 http://mirrors.kernel.org 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:
     kernel-image-2.6.8-3-386
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ac2:~#
    
    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!

    Thanks!
     
  2. falko

    falko Super Moderator Howtoforge Staff

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

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

Share This Page