Package: dpkg Version: 1.16.0.3 Severity: wishlist Hey,
as said on irc, it'd be nice if dpkg could handle package upgrade involving symlinks and directories a bit more nicely. In this case, libexo-common upgrade replaced two symlinks by directories, and without any special care, the error is not really clear. Debdiff between two packages were: Differences in libexo-common between 0.6.0-3 and 0.6.1-1 [The following lists of changes regard files as different if they have different names, permissions or owners.] Files in second .deb but not in first ------------------------------------- -rw-r--r-- root/root /usr/share/doc/exo/html/el/images/exo-preferred-applications-internet.png -rw-r--r-- root/root /usr/share/doc/exo/html/el/images/exo-preferred-applications-utilities.png -rw-r--r-- root/root /usr/share/doc/exo/html/el/images/exo-preferred-applications-webbrowser-custom.png -rw-r--r-- root/root /usr/share/doc/exo/html/el/images/exo-preferred-applications-webbrowser-menu.png -rw-r--r-- root/root /usr/share/doc/exo/html/sv/images/exo-preferred-applications-internet.png -rw-r--r-- root/root /usr/share/doc/exo/html/sv/images/exo-preferred-applications-utilities.png -rw-r--r-- root/root /usr/share/doc/exo/html/sv/images/exo-preferred-applications-webbrowser-custom.png -rw-r--r-- root/root /usr/share/doc/exo/html/sv/images/exo-preferred-applications-webbrowser-menu.png Files in first .deb but not in second ------------------------------------- lrwxrwxrwx root/root /usr/share/doc/exo/html/el/images -> ../C/images lrwxrwxrwx root/root /usr/share/doc/exo/html/sv/images -> ../C/images Control files: lines which differ (wdiff format) ------------------------------------------------ Installed-Size: [-1120-] {+1356+} Version: [-0.6.0-3-] {+0.6.1-1+} (without anything done in preinst) And upgrade logs: Unpacking replacement libexo-common ... dpkg: error processing /home/corsac/debian/pkg-xfce/scripts/pbuilder/xfce/build-sid-amd64-trunk/./libexo-common_0.6.1-1_all.deb (--unpack): unable to open '/usr/share/doc/exo/html/C/images/exo-preferred-applications-internet.png.dpkg-new': No such file or directory configured to not write apport reports Processing triggers for hicolor-icon-theme ... Errors were encountered while processing: /home/corsac/debian/pkg-xfce/scripts/pbuilder/xfce/build-sid-amd64-trunk/./libexo-common_0.6.1-1_all.deb Regards, -- Yves-Alexis -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dpkg depends on: ii coreutils 8.5-1 GNU core utilities ii libbz2-1.0 1.0.5-6 high-quality block-sorting file co ii libc6 2.13-2 Embedded GNU C Library: Shared lib ii libselinux1 2.0.98-1+b1 SELinux runtime shared libraries ii xz-utils 5.0.0-2 XZ-format compression utilities ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 0.8.14.1 Advanced front-end for dpkg -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org