Bug#770336: rsyslog: missing dependency on libfile-path-perl in *rm script when removing the package
Ondřej Surý
ondrej at debian.org
Thu Nov 20 14:54:43 GMT 2014
Control: reassign -1 init-system-helpers
Control: notfound -1 rsyslog/8.4.2-1
Control: found -1 init-system-helpers/1.21
On second look the bug comes from deb-systemd-helper:
# deb-systemd-helper
Can't locate File/Path.pm in @INC (you may need to install the
File::Path module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.20.1 /usr/local/share/perl/5.20.1
/usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20
/usr/local/lib/site_perl .) at /usr/bin/deb-systemd-helper line 85.
BEGIN failed--compilation aborted at /usr/bin/deb-systemd-helper line
85.
Cheers,
Ondrej
On Thu, Nov 20, 2014, at 15:43, Ondřej Surý wrote:
> Package: rsyslog
> Version: 8.4.2-1
> Severity: serious
> Justification: fails to remove the package
>
> Hi,
>
> I have encountered this bug when removing the package:
>
> Removing rsyslog (8.4.2-1) ...
> Can't locate File/Path.pm in @INC (you may need to install the File::Path
> module) (@INC contains: /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.20.1 /usr/local/share/perl/5.20.1
> /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20
> /usr/local/lib/site_perl .) at /usr/bin/deb-systemd-helper line 85.
> BEGIN failed--compilation aborted at /usr/bin/deb-systemd-helper line 85.
> dpkg: error processing package rsyslog (--purge):
> subprocess installed post-removal script returned error exit status 2
> Processing triggers for man-db (2.7.0.2-3) ...
> Errors were encountered while processing:
> rsyslog
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> (I have double messages in all *.log, so I tried to remove rsyslog, and
> it failed.)
>
> Cheers,
> Ondrej
>
> -- System Information:
> Debian Release: jessie/sid
> APT prefers testing
> APT policy: (990, 'testing'), (800, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages rsyslog depends on:
> ii init-system-helpers 1.21
> ii initscripts 2.88dsf-57
> ii libc6 2.19-13
> ii libestr0 0.1.9-1.1
> ii libjson-c2 0.11-4
> ii liblogging-stdlog0 1.0.4-1
> ii liblognorm1 1.0.1-3
> ii libuuid1 2.25.2-2
> ii lsb-base 4.1+Debian13+nmu1
> ii zlib1g 1:1.2.8.dfsg-2
>
> Versions of packages rsyslog recommends:
> ii logrotate 3.8.7-1+b1
>
> Versions of packages rsyslog suggests:
> pn rsyslog-doc <none>
> pn rsyslog-gnutls <none>
> pn rsyslog-gssapi <none>
> pn rsyslog-mongodb <none>
> pn rsyslog-mysql | rsyslog-pgsql <none>
> pn rsyslog-relp <none>
>
> -- Configuration Files:
> /etc/logrotate.d/rsyslog [Errno 2] No such file or directory:
> u'/etc/logrotate.d/rsyslog'
>
> -- no debconf information
--
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
More information about the Pkg-systemd-maintainers
mailing list