Hi Andreas! Andreas Beckmann wrote: > Setting up flwm (1.02+git2015.10.03+7dbb30-5) ... > Error opendir on '/usr/share/applications': No such file or directory at > /usr/share/flwm/generate-flwm-menu-from-desktop-files line 64. > dpkg: error processing package flwm (--configure): > installed flwm package post-installation script subprocess returned error > exit status 2
Thank you for this bug report! This seems to happen if all Recommends needed for menu generation are installed, but no other packages with .desktop files are installed and hence /usr/share/applications/ does not yet exist. > This was observed on a piuparts test with --install-recommends > enabled. Indeed, this only happens if all Recommends (except "menu") are installed. It does not happen if any of them (except "menu") is missing. I'm not surprised that I missed that corner case, but it indeed needs to be fixed anyways. A simple test on the existence of /usr/share/applications/ in generate-flwm-menu-from-desktop-files should do it. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE