Bug#322210: [m68k] ocaml-nox: can not be removed
On Fri, Aug 12, 2005 at 10:37:37AM +0200, Stefano Zacchiroli wrote:
> On Tue, Aug 09, 2005 at 08:26:45PM +0200, Christian T. Steigies wrote:
> > I am trying to clean up my unstable chroot, for some reason a few ocaml
> > packages were still installed.
>
> This bug report shows two different problems:
> 1) ocaml-md5sums may be not available when postrm scripts are invoked
Sure, you should use it in prerm, since postrm removes it, no ?
> 2) /var/lib/ocaml/md5sums is not a directory
>
> I fixed (1) and upload is pending.
>
> I can't understand (2). /var/lib/ocaml/md5sums/ is a directory and
> several ocaml related packages install stuff under that directory. I can
> understand if the directory is no longer there when some postrm scripts
> are executed (and I fixed the faulty behaviour of ocaml-md5sums in that
> case), but I can't understand how it comes /var/lib/ocaml/md5sums is
> something else than a directory.
It is probably not there, but why if it was not there, and some random
packages does a :
cp stuff /var/lib/ocaml/md5sums
expecting it to be a dir, this would end in it being a file.
Friendly,
Sven Luther
Reply to: