On Sat, Sep 08, 2007 at 12:41:12PM +0100, Stephen Gran wrote:
> > > This is an automatic notification regarding your Bug report
> > > #434505: example *.cvd files should be in an arch-indep package,
> > > which was filed against the clamav-freshclam package.
> >
> > > clamav (0.91.1-2) unstable; urgency=low
> > > .
> > > * Move database files to -base package (closes: #434505)
> >
> > OK, this fixed the bug that I filed, but it introduced a new bug, really -
> > now the users who just use clamav with clamav-data, but don't use freshclam,
> > also have to download those files with clamav-base.
>
> If you can think of a way to express in the dependency system that two
> files need to be on disk before clamd's postinst is run without
> requiring network access, I'm all ears. I can't think of one, frankly.
> Until we come up with a way to express that relationship, I am inclined
> to think of this as a necessary limitation rather than a bug.
If you create a new package, let's call it clamav-data-bootstrap,
you can have:
clamav-freshclam
Recommends: clamav-data-bootstrap
clamav
Depends: clamav-data | clamav-data-bootstrap | clamav-freshclam
Recommends: clamav-data | clamav-data-bootstrap
clamav-daemon
Depends: clamav-data | clamav-data-bootstrap | clamav-freshclam
Recommends: clamav-data | clamav-data-bootstrap
That should work out fine for all practical cases - whenever a user tries
to install the packages, aptitude, apt-get and dselect will all get the data
files, but there will be a way for people to remove the packaged copies of
the data files once they set up freshclam.
Obviously that same method allows people to select the wrong route on an
initial install, but that should not be a statistically significant amount
of people :)
(Also, if you need something on disk before the postinst is run, you really
need Pre-Depends:...?)
--
2. That which causes joy or happiness.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]