Qball's Weblog

Fixing broken package on debian

Tags Grind My Gears 

I got the following error message when installing gnu-radio:

 

?View Code BASH
1
2
3
4
5
6
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing gnuradio (--configure):
 subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
 gnuradio
E: Sub-process /usr/bin/dpkg returned an error code (1)

While the problem isn’t obvious, the fix is luckely easy enough:

?View Code BASH
1
sudo mkdir /usr/share/desktop-directories/

(yes I put this here as a reminder to myself)