Comment 9 for bug 1769432

Revision history for this message
donpdonp (don-park) wrote :

thanks for the help, every apt operation was complaining because it could not parse gnuradio.xml.

Processing triggers for shared-mime-info (1.9-2) ...
/usr/share/mime/packages/gnuradio.xml:1: parser error : Start tag expected, '<' not found

It looks like the contents of the file were replaced with the filename of what should have been the symlink, so fixing itup by hand seems to work.

# rm /usr/share/mime/packages/gnuradio.xml
# ln -s /usr/share/gnuradio/grc/freedesktop/gnuradio-grc.xml /usr/share/mime/packages/gnuradio.xml

this is on Ubuntu 18.04 with gnuradio 3.7.11-10:amd64.

gnuradio_3.7.11-10.debian.tar.xz:debian/patches/direct-freedesktop-install contains the files:

+# Install mime
+install(FILES gnuradio-grc.xml DESTINATION share/mime/packages)

which look ok, so not sure why its failing to create the file correctly.