• Bug#267166: wu-ftpd: wrong dependencies

    From Martin Zobel-Helas@1:229/2 to All on Sat Aug 21 01:10:09 2004
    From: [email protected]

    --pWyiEgJYm5f9v55/
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    Package: mtr
    Version: n/a
    Severity: serious
    Tags: patch

    There is a wrong dependency in debian/control.

    when i install

    Setting up wu-ftpd (2.6.2-17.1) ...
    Can't locate DebianNet.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /var/lib/dpkg/info/wu-ftpd.postinst
    line 9.
    dpkg: error processing wu-ftpd (--configure):
    subprocess post-installation script returned error exit status 2
    Errors were encountered while processing:
    wu-ftpd
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    attached patch fixes this bug.

    greetings from the Darmstadt BSP
    Martin

    --
    Martin Zobel-Helas [email protected] or [email protected]
    http://www.helas.net or http://mhelas.blogspot.com
    GPGKey-Fingerprint: 14744CACEF5CECFAE29E2CB17929AB90F7AC3AF0


    --pWyiEgJYm5f9v55/
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: attachment; filename="wu-ftpd.depends.diff" Content-Transfer-Encoding: quoted-printable

    diff -rNu wu-ftpd-2.6.2/debian/control wu-ftpd-2.6.2.new/debian/control
    --- wu-ftpd-2.6.2/debian/control 2004-08-21 00:43:11.000000000 +0200
    +++ wu-ftpd-2.6.2.new/debian/control 2004-08-21 00:42:43.000000000 +0200
    @@ -7,7 +7,7 @@

    Package: wu-ftpd
    Architecture: any
    -Depends: ${shlibs:Depends}, netbase (<< 4.00) | netkit-inetd, perl5 | perl, debconf
    +Depends: ${shlibs:Depends}, netbase (<< 4.00), perl5 | perl, debconf
    Suggests: logrotate
    Conflicts: ftp-server, wu-ftpd-academ (<< 2.5.0), netbase (<< 2.0), logrotate (<< 3.6.5-1)
    Replaces: wu-ftpd-academ (<< 2.5.0)

    --pWyiEgJYm5f9v55/--

    -----BEGIN PGP SIGNATURE-----
    Ver