[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: APT: Errors when replacing syslog by syslog-ng



On Sun, Oct 12, 2003 at 04:54:07PM +0200, Frans Pop wrote:
> I just got the following messages replacing syslog by syslog-ng from dselect 
> (Woody).
> Should this be reported as a bug? Against which package (syslog, syslog-ng, 
> apt)?
> 
> The following packages will be REMOVED:
>   sysklogd
> The following NEW packages will be installed:
>   syslog-ng
> 0 packages upgraded, 1 newly installed, 1 to remove and 0  not upgraded.
> Need to get 198kB of archives. After unpacking 217kB will be used.
> Do you want to continue? [Y/n]
> Get:1 http://security.debian.org stable/updates/main syslog-ng 1.5.15-1.1 
> [155kB]
> Fetched 155kB in 5s (31.0kB/s)
> Preconfiguring packages ...
> dpkg: sysklogd: dependency problems, but removing anyway as you request:
>  klogd depends on sysklogd | system-log-daemon; however:
>   Package sysklogd is to be removed.
>   Package system-log-daemon is not installed.
>   Package sysklogd which provides system-log-daemon is to be removed.
>  anacron depends on sysklogd | system-log-daemon; however:
>   Package sysklogd is to be removed.
>   Package system-log-daemon is not installed.
>   Package sysklogd which provides system-log-daemon is to be removed.
>  klogd depends on sysklogd | system-log-daemon; however:
>   Package sysklogd is to be removed.
>   Package system-log-daemon is not installed.
>   Package sysklogd which provides system-log-daemon is to be removed.
>  anacron depends on sysklogd | system-log-daemon; however:
>   Package sysklogd is to be removed.
>   Package system-log-daemon is not installed.
>   Package sysklogd which provides system-log-daemon is to be removed.
> (Reading database ... 59235 files and directories currently installed.)
> Removing sysklogd ...
> Stopping system log daemon: syslogd.
> (Reading database ... 59222 files and directories currently installed.)
> Preparing to replace nfs-common 1:1.0-2woody1 (using 
> .../nfs-common_1%3a1.0-2woody1_i386.deb) ...
> Unpacking syslog-ng (from .../syslog-ng_1.5.15-1.1_i386.deb) ...
> Setting up syslog-ng (1.5.15-1.1) ...
> Starting system logging: syslog-ng.
> Stopping system logging: syslog-ng.
> Starting system logging: syslog-ng.

Given that it finished successfully, there's no bug as far as apt is
concerned. See, dpkg isn't too happy when you remove one package from a
dependency chain, but this is exactly what apt needs to do before putting in
another package in its place. So apt tells dpkg to proceed nevertheless,
but dpkg still reports it just in case.

The doubled restart, on the other hand, is something you should ask the
syslog-ng maintainer about.

-- 
     2. That which causes joy or happiness.



Reply to: