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

Bug#463141: marked as done (Package 'apt' dependency on package 'findutils' not documented.)



Your message dated Tue, 29 Jan 2008 19:38:45 +0000
with message-id <1201635525.10640.4.camel@kaa.jungle.aubergine.my-net-space.net>
and subject line Bug#463141: Package 'apt' dependency on package 'findutils' not documented.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---

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





--- End Message ---
--- Begin Message ---
Hi,

On Tue, 2008-01-29 at 12:56 -0600, Web Communicator wrote:
> 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'.

No dependency on findutils is required, as it's essential:

        Package: findutils
        Essential: yes
        Priority: required
        Section: utils
        
Debian policy section 3.5 states, in part:

  Packages are not required to declare any dependencies they have on
  other packages which are marked `Essential' (see below), and should
  not do so unless they depend on a particular version of that
  package.[1]

Adding a dependency on findutils would violate that "should not", which
would constitute a bug in its own right. On that basis, I'm closing this
bug.

Regards,

Adam


--- End Message ---

Reply to: