On 12/7/05, Steve Langasek <[EMAIL PROTECTED]> wrote: > > | Have you upgraded other packages recently that could have been to > > | blame for removing /usr/local/lib? > > > In fact, the symbolic link /usr/local was delete and only eclipse stuff > > was in it. > > Well, there's no code that I can see in eclipse that would touch a > /usr/local symlink.
eclipse-rcp.prerm should remove only /usr/local/lib/eclipse if it's empty, just like the python package. Before /usr/local/lib/eclipse was part of eclipse-platform.dirs, which wasn't good. Maybe the conversion was guilty for the lost of your /usr/local/lib/eclipse directory. But /usr/local/lib or /usr/local should be touched. > > I can't replay it to give you more informations: > > > [EMAIL PROTECTED]:~# LANG=C apt-get install --reinstall eclipse-rcp > > Reading package lists... 0% > > Reading package lists... Done > > Building dependency tree... Done > > 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 86 not > > upgraded. > > Need to get 0B/19.1kB of archives. > > After unpacking 0B of additional disk space will be used. > > Do you want to continue [Y/n]? > > (Reading database ... 364668 files and directories currently installed.) > > Preparing to replace eclipse-rcp 3.1.1-6 (using > > .../eclipse-rcp_3.1.1-6_i386.deb) ... > > dpkg: warning - old pre-removal script returned error exit status 1 > > dpkg - trying script from the new package instead ... > > dpkg: error processing > > /var/cache/apt/archives/eclipse-rcp_3.1.1-6_i386.deb (--unpack): > > ~ subprocess new pre-removal script returned error exit status 1 > > Errors were encountered while processing: > > ~ /var/cache/apt/archives/eclipse-rcp_3.1.1-6_i386.deb > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > Heh, now that's a bug I can confirm; the prerm will fail because it calls > rmdir on directories that may not be empty, and doesn't trap the errors. I will look at it, thanks. Stephan Michels. _______________________________________________ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers