Package: haskell-cabal
Severity: normal

From: Frederik Eaton
Subject: cabal installation

It would be nice if cabal would unlink destination files before
installing over them, rather than just calling "copyFile". It appears
that when "copyFile" finds that a destination file already exists,
rather than removing it, it tries to open and truncate it, which leads
cabal to fail with the following error message when a new version of a
running program is installed:

*** Exception: bar: copyFile: resource busy (Text file busy)

The commonly-used 'install' command does not suffer from this bug.

Frederik

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.21
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to