← Back to team overview

ubuntu-hams-devel team mailing list archive

[Bug 1769432] Re: Parse error during gnuradio installation

 

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.

-- 
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to gnuradio in Ubuntu.
https://bugs.launchpad.net/bugs/1769432

Title:
  Parse error during gnuradio installation

Status in gnuradio package in Ubuntu:
  Confirmed

Bug description:
  See "Trigger für shared-mime-info" in the installation log below:


  root@foo:/etc/apt# apt install gnuradio gr-fosphor gnuradio-dev 
  Paketlisten werden gelesen... Fertig
  Abhängigkeitsbaum wird aufgebaut.       
  Statusinformationen werden eingelesen.... Fertig
  Empfohlene Pakete:
    python-qwt-qt5
  Die folgenden NEUEN Pakete werden installiert:
    gnuradio gnuradio-dev gr-fosphor
  0 aktualisiert, 3 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
  Es müssen 8.914 kB an Archiven heruntergeladen werden.
  Nach dieser Operation werden 93,6 MB Plattenplatz zusätzlich benutzt.
  Holen:1 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 gnuradio amd64 3.7.11-10 [8.448 kB]
  Holen:2 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 gnuradio-dev amd64 3.7.11-10 [381 kB]                                                      
  Holen:3 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 gr-fosphor amd64 3.7.0.2.7b6b996-2 [84,3 kB]                                               
  Es wurden 8.914 kB in 1 min 13 s geholt (122 kB/s).                                                                                                          
  Vormals nicht ausgewähltes Paket gnuradio wird gewählt.
  (Lese Datenbank ... 565831 Dateien und Verzeichnisse sind derzeit installiert.)
  Vorbereitung zum Entpacken von .../gnuradio_3.7.11-10_amd64.deb ...
  Entpacken von gnuradio (3.7.11-10) ...
  Vormals nicht ausgewähltes Paket gnuradio-dev:amd64 wird gewählt.
  Vorbereitung zum Entpacken von .../gnuradio-dev_3.7.11-10_amd64.deb ...
  Entpacken von gnuradio-dev:amd64 (3.7.11-10) ...
  Vormals nicht ausgewähltes Paket gr-fosphor wird gewählt.
  Vorbereitung zum Entpacken von .../gr-fosphor_3.7.0.2.7b6b996-2_amd64.deb ...
  Entpacken von gr-fosphor (3.7.0.2.7b6b996-2) ...
  Trigger für mime-support (3.60ubuntu1) werden verarbeitet ...
  Trigger für desktop-file-utils (0.23-1ubuntu3) werden verarbeitet ...
  Trigger für gnome-icon-theme (3.12.0-3) werden verarbeitet ...
  Trigger für bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) werden verarbeitet ...
  Rebuilding /usr/share/applications/bamf-2.index...
  gnuradio (3.7.11-10) wird eingerichtet ...
  Trigger für man-db (2.8.3-2) werden verarbeitet ...
  Trigger für shared-mime-info (1.9-2) werden verarbeitet ...
  /usr/share/mime/packages/gnuradio.xml:1: parser error : Start tag expected, '<' not found
  /usr/share/gnuradio/grc/freedesktop/gnuradio-grc.xml
  ^
  Failed to parse '/usr/share/mime/packages/gnuradio.xml'
  Unknown media type in type 'all/all'
  Unknown media type in type 'all/allfiles'
  Trigger für gnome-menus (3.13.3-11ubuntu1) werden verarbeitet ...
  Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ...
  gnuradio-dev:amd64 (3.7.11-10) wird eingerichtet ...
  gr-fosphor (3.7.0.2.7b6b996-2) wird eingerichtet ...

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gnuradio 3.7.11-10 [modified: usr/share/mime/application/gnuradio-grc.xml]
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sun May  6 10:28:47 2018
  InstallationDate: Installed on 2016-04-30 (736 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  SourcePackage: gnuradio
  UpgradeStatus: Upgraded to bionic on 2018-05-02 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnuradio/+bug/1769432/+subscriptions


References