Package: icedove
Version: 2.0.0.0-4
Severity: normal
Tags: patch
# apt-get install icedove
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
icedove-gnome-support
The following packages will be upgraded:
icedove
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/10.8MB of archives.
After unpacking 28.7kB disk space will be freed.
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n]?
(Reading database ... 168334 files and directories currently installed.)
Preparing to replace icedove 2.0.0.0-3 (using .../icedove_2.0.0.0-4_i386.deb)
...
.
/var/lib/dpkg/tmp.ci/preinst: line 15: test: too many arguments
/var/lib/dpkg/tmp.ci/preinst: line 33: test: too many arguments
Unpacking replacement icedove ...
Setting up icedove (2.0.0.0-4) ...
Those script errors may occur on these lines:
15 if test ! -e ${migrate_to}/${f_name}; then
33 if test ! -e ${migrate_to}/${f_name}; then
because of possible whitespace (or other odd characters) in file
names. In that case, quoting file paths in that script might help.
Please consider the attached patch.
While purging the package I also noticed some files left behind in
/etc/icedove:
-rw-r--r-- 1 root root 337 Jun 3 11:21 auto-config.js
-rw-r--r-- 1 root root 894 Mar 29 10:39 global-config.js
Should they go away?
This is also odd:
Preparing to replace icedove 1.5.0.10.dfsg1-3 (using
.../icedove_2.0.0.0-4_i386.deb) ...
.
Unpacking replacement icedove ...
dpkg: warning - unable to delete old directory `/usr/lib/icedove/chrome/icons':
Directory not empty
dpkg: warning - unable to delete old directory
`/usr/lib/icedove/defaults/pref': Directory not empty
dpkg: warning - unable to delete old directory
`/usr/lib/icedove/defaults/autoconfig': Directory not empty
Should they go away?
Anyway, I hope I sorted all out by purging the package, removing all
the leftovers from previous icedove packages and installing icedove
2.0.0.0-4.
Cheers,
Cristian
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages icedove depends on:
ii debianutils 2.19 Miscellaneous utilities specific t
ii fontconfig 2.4.2-1.2 generic font configuration library
ii libatk1.0-0 1.18.0-2 The ATK accessibility toolkit
ii libc6 2.5-9+b1 GNU C Library: Shared libraries
ii libcairo2 1.4.6-1.1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libfreetype6 2.2.1-6 FreeType 2 font engine, shared lib
ii libgcc1 1:4.2-20070528-1 GCC support library
ii libglib2.0-0 2.12.12-1 The GLib library of C routines
ii libgtk2.0-0 2.10.12-2 The GTK+ graphical user interface
ii libhunspell-1.1-0 1.1.5-6 spell checker and morphological an
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libnspr4-0d 4.6.6-3 NetScape Portable Runtime Library
ii libnss3-0d 3.11.5-3 Network Security Service libraries
ii libpango1.0-0 1.16.4-1 Layout and rendering of internatio
ii libpng12-0 1.2.15~beta5-2 PNG library - runtime
ii libstdc++6 4.2-20070528-1 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1:1.1.8-2 X cursor management library
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxft2 2.1.12-2 FreeType-based font drawing librar
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library
ii libxrandr2 2:1.2.1-1 X11 RandR extension library
ii libxrender1 1:0.9.2-1 X Rendering Extension client libra
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii psmisc 22.5-1 Utilities that use the proc filesy
ii zlib1g 1:1.2.3-15 compression library - runtime
icedove recommends no packages.
-- debconf information:
* icedove/browser: Debian
--- /var/lib/dpkg/info/icedove.preinst.orig 2007-06-03 11:28:43.000000000 +0200
+++ /var/lib/dpkg/info/icedove.preinst 2007-06-03 11:29:39.000000000 +0200
@@ -11,7 +11,7 @@
fi
for f in ${migrate_from}/*; do
f_name=$(basename $f)
- if test ! -e ${migrate_to}/${f_name}; then
+ if test ! -e "${migrate_to}/${f_name}"; then
mv $f ${migrate_to}/
else
rm -rf $f
@@ -29,7 +29,7 @@
fi
for f in ${migrate_from}/*; do
f_name=$(basename $f)
- if test ! -e ${migrate_to}/${f_name}; then
+ if test ! -e "${migrate_to}/${f_name}"; then
mv $f ${migrate_to}/
else
rm -rf $f
@@ -47,7 +47,7 @@
fi
for f in ${migrate_from}/*; do
f_name=$(basename $f)
- if test ! -e ${migrate_to}/${f_name}; then
+ if test ! -e "${migrate_to}/${f_name}"; then
mv $f ${migrate_to}/
else
rm -rf $f