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

Bug#322210: [m68k] ocaml-nox: can not be removed



On Fri, Aug 12, 2005 at 11:43:42AM +0200, Stefano Zacchiroli wrote:
> On Fri, Aug 12, 2005 at 11:09:10AM +0200, Sven Luther wrote:
> > > 1) ocaml-md5sums may be not available when postrm scripts are invoked
> > Sure, you should use it in prerm, since postrm removes it, no ?
> 
> No, I can't, since when prerm is invoked .md5sums entries are still in
> /var/lib/ocaml/md5sums/. Still this is not a problem, invoking it on
> postrm only if ocaml-md5sums is available is fine since as long as it is
> not available .md5sums entries are useless. As soon as it will get
> re-installed the registry will be updated again.
> 
> > It is probably not there, but why if it was not there, and some random
> > packages does a :
> > 
> >   cp stuff /var/lib/ocaml/md5sums 
> 
> It was there since the error reported was "not a directory" rather than
> "no such file or directory:". But as Christian reported he probably
> created that file by hand.

If the directory is missing qnd qnother pqckqges does the above, stuff will be
copied as md5sum which will not be a directory.

This will only happen when a package ith bad dependency is installed and
installs a md5sum file though.

Friendly,

Sven Luther




Reply to: