Package: apticron
Version: 1.1.41
Severity: grave
Tags: squeeze sid
Justification: renders package unusable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

apticron cronjob fails silently with exit code 1.
After running apticron by sh -x the following e-mail is sent:

    + /bin/date -R
    + /bin/cat
    apticron report [Sat, 05 Jun 2010 02:19:03 +0400]
    ========================================================================

    apticron has detected that some packages need upgrading on:

            gaa -e 
            [ 127.0.0.1 192.168.1.2 192.168.64.3 ]

    The following packages are currently pending an upgrade:

    + PKGPATH=/var/cache/apt/archives/
    + LC_ALL=en /usr/bin/apt-cache policy base-files
    + /bin/grep Candidate:
    + /usr/bin/cut -f 4 -d  
    + VER=5.6
    + echo 5.6
    + /bin/sed -e s/:/%3a/g
    + VERFILE=5.6
    /usr/sbin/apticron: 1: Syntax error: Bad fd number

I think that problem is in line 206 in /usr/sbin/apticron:

    if ls ${PKGPATH}${PKG}_${VERFILE}_*.deb >& /dev/null ; then

This construction (>&) is valid for bash, but causes syntax error in
dash (my default shell).

- -- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apticron depends on:
ii  apt                        0.7.25.3      Advanced front-end for dpkg
ii  cron                       3.0pl1-111    process scheduling daemon
ii  debconf [debconf-2.0]      1.5.32        Debian configuration management sy
ii  mailutils [mailx]          1:2.1+dfsg1-6 GNU mailutils utilities for handli
ii  ucf                        3.0025        Update Configuration File: preserv

Versions of packages apticron recommends:
ii  apt-listchanges               2.84       package change history notificatio
ii  iproute                       20100224-5 networking and traffic control too

apticron suggests no packages.

- -- debconf information:
* apticron/notification: root

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwJf7UACgkQp0cjlW3dsl+cewCgrQAyIwuj12k/7qjz1jp35t+p
gQYAoKIQWxwotyo4GyTe6t7UEun/ElqR
=5TFd
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to