Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown Error for apt-check in WSL Ubuntu #2619

Closed
jacoby opened this issue Oct 31, 2017 · 1 comment
Closed

Unknown Error for apt-check in WSL Ubuntu #2619

jacoby opened this issue Oct 31, 2017 · 1 comment

Comments

@jacoby
Copy link

jacoby commented Oct 31, 2017

This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what's up. Please fill out ALL THE FIELDS!

If you have a feature request, please post to the UserVoice.

Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues. Instead, send dumps/traces to secure@microsoft.com, referencing the GitHub bug number. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".

  • Your Windows build number: (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.17017.1000]

$ uname -a
Linux Lion 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)

In apt-using distros, the command /usr/lib/update-notifier/apt-check is used to show the number of available updates and the number of available security updates, in STDERR and normally in 0;0 format, but there's a flag for human readable.

With WSL, I get
$ /usr/lib/update-notifier/apt-check 2>&1
E: Unknown Error: '<class 'PermissionError'>' ([Errno 1] Operation not permitted)

  • What's wrong / what should be happening instead:

🔥 ✔ jacoby@oz 09:41 37°F No coffee ~
$ /usr/lib/update-notifier/apt-check
0;0

  • Strace of the failing command, if applicable: (If <cmd> is failing, then run strace -o strace.txt -ff <cmd>, and post the strace.txt output here)

strace.txt

See our contributing instructions for assistance.

@therealkenc
Copy link
Collaborator

getpriority(PRIO_PROCESS, 0)            = 20
setpriority(PRIO_PROCESS, 0, 19)        = -1 EACCES (Permission denied)

Same as #1838

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants