Thank you for taking the time to report this bug and helping to make
Ubuntu better. I tried to reproduce your failure, but was not
successful:

* Install Ubuntu Desktop 22.04 in a VM
* apt install wslu # version 3.2.3-0ubuntu3
* ubuntu-bug linux

Apport presented a window with a report. There was no error message on
the terminal. There is probably some environmental difference.

```
bdrung@ubuntu-22-04:~$ /usr/bin/wslview
grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
WSL Interopability is disabled. Please enable it before using WSL.
grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
[error] WSL Interoperability is disabled. Please enable it before using WSL.
[error] No input, aborting
bdrung@ubuntu-22-04:~$ grep -r wslview /usr/share/apport/
bdrung@ubuntu-22-04:~$ 
```

I assume that there is some Apport hook in /usr/share/apport that
executes wslview. The question is which package could ship it (wslu
3.2.3-0ubuntu3 does not ship any apport hook).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2005115

Title:
  ubuntu-bug fails when wslu is installed

Status in apport package in Ubuntu:
  New

Bug description:
  ubuntu-bug fails with the following error

  ubuntu-bug linux
  grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
  WSL Interopability is disabled. Please enable it before using WSL.
  grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
  [error] WSL Interoperability is disabled. Please enable it before using WSL.
  /usr/bin/wslview: line 216: /mnt/c/Windows/System32/reg.exe: No such file or 
directory
  /usr/bin/wslview: line 149: /mnt/c/Windows/System32/chcp.com: No such file or 
directory
  /usr/bin/wslview: line 156: 
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe: No such file or 
directory
  /usr/bin/wslview: line 149: /mnt/c/Windows/System32/chcp.com: No such file or 
directory

  sudo apt remove wslu
  solved the problem
  but it is listed in the dependence of some help translation package of gimp

  I am running ubuntu on  hardware, no WSL involved

  lsb_release -rd
  Description:  Ubuntu 22.04.1 LTS
  Release:      22.04

  apt-cache policy apport
  2.20.11-0ubuntu82.3

  apt-cache policy wslu
  3.2.3-0ubuntu3

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: apport 2.20.11-0ubuntu82.3
  ProcVersionSignature: Ubuntu 5.15.0-58.64-generic 5.15.74
  Uname: Linux 5.15.0-58-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Feb  4 04:11:09 2023
  InstallationDate: Installed on 2023-01-26 (8 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to