Package: apt
Version: 0.6.46.4-0.1

The package 'apt' provides cron script /etc/cron.daily/apt which uses find() and xargs(). The executables find() and xargs() are provided by package 'findutils'. The dependency of package 'apt' on package 'findutils' is not listed in the Debian control file for 'find'.

$ more /etc/cron.daily/apt | grep 'find'
find $Cache -name "*.deb" \( -mtime +$MaxAge -and -ctime +$MaxAge \) -and -not \( -mtime -$MinAge -or -ctime -$MinAge \) -print0 | xargs -r -0 rm -f find $Cache -name "*.deb" -ctime +$MaxAge -and -mtime +$MaxAge -print0 | xargs -r -0 rm -f

$ more /etc/cron.daily/apt | grep 'xargs'
find $Cache -name "*.deb" \( -mtime +$MaxAge -and -ctime +$MaxAge \) -and -not \( -mtime -$MinAge -or -ctime -$MinAge \) -print0 | xargs -r -0 rm -f find $Cache -name "*.deb" -ctime +$MaxAge -and -mtime +$MaxAge -print0 | xargs -r -0 rm -f

$ dpkg -S /etc/cron.daily/apt
apt: /etc/cron.daily/apt

$ apt-cache depends apt
apt
  Depends: libc6
  Depends: libgcc1
  Depends: libstdc++6
  Depends: debian-archive-keyring
 |Suggests: aptitude
 |Suggests: synaptic
 |Suggests: gnome-apt
  Suggests: wajig
  Suggests: dpkg-dev
  Suggests: apt-doc
  Suggests: bzip2
  Replaces: libapt-pkg-doc
  Replaces: libapt-pkg-dev

I suggest including package 'findutils' among the packages upon which 'apt' depends.

I am using Debian GNU/Linux 4.1.1-21, kernel linux-image-2.6.18-5-686, and libc6 version 2.3.6.ds1-13etch2.

- Amos Statter





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to