GNOME Bugzilla – Bug 722936
sudo make uninstall fails with DirectoryNotFoundException
Last modified: 2018-03-13 12:12:41 UTC
$ sudo make uninstall Making uninstall in sources make[1]: Entering directory `/home/knocte/Documents/Code/OpenSource/gstreamer-sharp/sources' echo "/usr/bin/gacutil /u gstreamer-sharp /package gstreamer-sharp /root /usr/lib"; \ /usr/bin/gacutil /u gstreamer-sharp /package gstreamer-sharp /root /usr/lib || exit 1; /usr/bin/gacutil /u gstreamer-sharp /package gstreamer-sharp /root /usr/lib Assembly: gstreamer-sharp, Version=0.9.3.0, Culture=neutral, PublicKeyToken=4956b48baf980190 Cleaning package directory, it is empty. Uninstalled: gstreamer-sharp, Version=0.9.3.0, Culture=neutral, PublicKeyToken=4956b48baf980190 Assembly: gstreamer-sharp, Version=0.99.0.0, Culture=neutral, PublicKeyToken=5cbf79803e97ff61 Unhandled Exception: System.IO.DirectoryNotFoundException: Directory '/usr/lib/mono/gstreamer-sharp' not found. at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFiles (System.String path) [0x00000] in <filename unknown>:0 at Mono.Tools.Driver.Uninstall (System.String name, System.String package, System.String gacdir, System.String libdir, Boolean listMode, System.Int32& uninstalled, System.Int32& failures) [0x00000] in <filename unknown>:0 at Mono.Tools.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Directory '/usr/lib/mono/gstreamer-sharp' not found. at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFiles (System.String path) [0x00000] in <filename unknown>:0 at Mono.Tools.Driver.Uninstall (System.String name, System.String package, System.String gacdir, System.String libdir, Boolean listMode, System.Int32& uninstalled, System.Int32& failures) [0x00000] in <filename unknown>:0 at Mono.Tools.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 make[1]: *** [uninstall-local] Error 1 make[1]: Leaving directory `/home/knocte/Documents/Code/OpenSource/gstreamer-sharp/sources' make: *** [uninstall-recursive] Error 1 knocte@ulises:~/Documents/Code/OpenSource/gstreamer-sharp$
I cannot reproduce this error on Ubuntu 14.04 with recent master.
gstreamer-sharp is `meson` only now, closing.