reassign 266379 dpkg retitle 266379 misleading error message: "cannot remove `foo': Is a directory after a correct symlink-to-directory transition thanks
Hilmar Preusse <[EMAIL PROTECTED]> wrote: > On 17.08.04 Martin Schulze ([EMAIL PROTECTED]) wrote: > > Hi Joey, > >> During the ugrade of a sid chroot I noticed the following error: >> >> (Reading database ... 61584 files and directories currently installed.) >> Preparing to replace tetex-bin 2.0.2-15 (using >> .../tetex-bin_2.0.2-18_hppa.deb) ... >> Unpacking replacement tetex-bin ... >> rm: cannot remove `/usr/share/texmf/web2c': Is a directory >> Selecting previously deselected package tetex-base. >> Unpacking tetex-base (from .../tetex-base_2.0.2a-3_all.deb) ... >> > Actually in preinst we check if that file is a symlink, rename it to > something else and replace it by the dir. The symlink is removed > during postrm. The directory (and the content) is contained in the > package hence we don't need the criticised code any more and it was > removed (no, no changelog entry available). As far as I know, the warning will still occur if you upgrade from woody to sarge; I don't remember making any changes after Joey reported it. > I guess the bug can be closed. The reason why I kept it open is that either dpkg gives a misleading error message, or there's something strange going on without doing any damage. It's a minor bug, and probably one of dpkg; but I didn't want to reassign it without being able to give more information. But maybe we should do it anyway: Done Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer

