Package: netenv
Version: 0.94.3-16
Severity: serious
Tags: patch

Hello,

I have a problem during package upgrade :

(Reading database ... 81872 files and directories currently installed.)
Preparing to replace netenv 0.94.3-16 (using netenv_0.94.3-16_all.deb)
...
Unpacking replacement netenv ...
Setting up netenv (0.94.3-16) ...
rm: cannot remove `/tmp/filez2sx6U': No such file or directory
dpkg: error processing netenv (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
  netenv

I have attached a patch. I hope it will help.

Regards,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-maggie
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages netenv depends on:
ii  coreutils                 5.93-5         The GNU core utilities
ii  debconf [debconf-2.0]     1.4.67         Debian configuration management sy
ii  dialog                    1.0-20060101-1 Displays user-friendly dialog boxe

netenv recommends no packages.

-- debconf information excluded

-- 
Arnaud Fontaine <[EMAIL PROTECTED]> - http://www.andesi.org/ | GPG
Public Key available on pgp.mit.edu | Fingerprint: D792 B8A5 A567 B001
C342 2613 BDF2 A220 5E36 19D3

--- config.old  2006-01-18 22:48:04.000000000 +0100
+++ config      2006-01-18 22:45:11.000000000 +0100
@@ -88,7 +88,7 @@
   TMP_INTERFACES=`tempfile 2> /dev/null`
   trap 'rm $TMP_INTERFACES' 0 1 2 3 13 15
   TMP2_INTERFACES=`tempfile 2> /dev/null`
-  trap 'rm $TMP2_INTERFACES' 0 1 2 3 13 15
+  trap 'rm -f $TMP2_INTERFACES' 0 1 2 3 13 15
   # filter out commented and blank lines, get the 5 lines 
   # following the eth0 entry. (the || true is necessary because we are set -e)
   egrep -v '^[[:blank:]]*$|^#' $INTERFACES 2>/dev/null | grep -A 5 "iface 
eth0" > $TMP_INTERFACES || true

Attachment: pgpote56CSiHy.pgp
Description: PGP signature

Reply via email to