clone 342305 -1 reassign -1 eclipse-rcp 3.1.1-6 severity -1 serious retitle -1 eclipse-rcp: prerm script fails if directories are not empty thanks
On Wed, Dec 07, 2005 at 10:00:12AM +0100, Encolpe Degoute wrote: > | Sorry, this is completely not reproducible here. The eclipse-rcp package > | *creates* directories under /usr/local/ib; there is no code in the package > | postinst that would remove anything. > | 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. > 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. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature