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

Bug#266379: Can't rm directory in postinst



On 17.08.04 Martin Schulze (joey@infodrom.org) 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).
I guess the bug can be closed.

Regards,
  Hilmar
-- 
sigmentation fault



Reply to: