Package: wesnoth, wesnoth-core
Version: 1:1.8.3-4

Coin,

During upgrade:
Preparing to replace wesnoth 1:1.6.5-1 (using .../wesnoth_1%3a1.8.3-4_all.deb) ...
Unpacking replacement wesnoth ...
(Reading database ... 359837 files and directories currently installed.)
Removing wesnoth-aoi ...
Removing wesnoth-did ...
Removing wesnoth-ei ...
Removing wesnoth-httt ...
Removing wesnoth-l ...
Removing wesnoth-low ...
Removing wesnoth-nr ...
Removing wesnoth-sof ...
Removing wesnoth-sotbe ...
Removing wesnoth-thot ...
Removing wesnoth-trow ...
Removing wesnoth-tsg ...
Removing wesnoth-ttb ...
Removing wesnoth-utbs ...
(Reading database ... 357079 files and directories currently installed.)
Preparing to replace wesnoth-core 1:1.6.5-1+b2 (using .../wesnoth-core_1%3a1.8.3-4_all.deb) ...
Unpacking replacement wesnoth-core ...
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Setting up wesnoth (1:1.8.3-4) ...
rmdir: failed to remove `/usr/share/doc/wesnoth': Not a directory
Setting up wesnoth-core (1:1.8.3-4) ...
rmdir: failed to remove `/usr/share/doc/wesnoth-core': Not a directory

These directories are symlinks now:
lrwxrwxrwx 1 root root 16 20 août 12:25 /usr/share/doc/wesnoth -> wesnoth-1.8-data lrwxrwxrwx 1 root root 16 20 août 12:26 /usr/share/doc/wesnoth-core -> wesnoth-1.8-data

The problem is in postinsts, trying to look at the file type with -d, but this follows the symlink (as explained in the man). So, you'd better use -L and invert the logic.

I'm not bumping the severity, as the upgrade finishes properly (from a dpkg point of view at least), and the game still works nicely (affects only documentation).

Regards.

--
Marc Dequènes (Duck)

Attachment: pgpmfpUUcA6fG.pgp
Description: PGP Digital Signature

Reply via email to