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

Error Code: 0x80004005 #11633

Closed
1 of 2 tasks
Harpartap0117 opened this issue May 30, 2024 · 4 comments
Closed
1 of 2 tasks

Error Code: 0x80004005 #11633

Harpartap0117 opened this issue May 30, 2024 · 4 comments

Comments

@Harpartap0117
Copy link

Harpartap0117 commented May 30, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3593]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.10.102.1

Distro Version

kali-linux

Other Software

No response

Repro Steps

When I tried installing kali-linux in my wsl, I would get the following error.

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80004005
Error: 0x80004005 Unspecified error

Press any key to continue...

Here is a screenshot:
image

Here are the log files:
WslLogs-2024-05-30_12-41-43.zip

Expected Behavior

The expected behaviour was that kali-linux would install without any errors.

Actual Behavior

It is giving the above mentioned errors.

Diagnostic Logs

WslLogs-2024-05-30_12-41-43.zip

Copy link

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
Multiple log files found, using: https://github.com/microsoft/WSL/files/15495441/WslLogs-2024-05-30_12-41-43.zip
Appx package is not installed

@OneBlue
Copy link
Collaborator

OneBlue commented May 30, 2024

Thank you @Harpartap0117. It looks like the tar from kali is confusing bsdtar when installing:

Microsoft.Windows.Lxss.Manager	Error	05-30-2024 00:12:01.851	"	"	"code: 	
failurecount: 	5
file: 	onecore\vm\wsl\lxss\service\dll\lxssusersession.cpp
function: 	
hr: 	0x80004005
linenumber: 	1248
message: 	""./var/log/journal/: Invalid extended attribute encountered bsdtar: Error exit delayed from previous errors. ""
threadid: 	1824
type: 	0"	onecore\vm\wsl\lxss\service\dll\lxssusersession.cpp			3744	1824	2		14879194-b25f-0007-41c8-87145fb2da01		

Can you try installing the latest version of WSL and see if that solves the issue ?

@Harpartap0117
Copy link
Author

Thank you @Harpartap0117. It looks like the tar from kali is confusing bsdtar when installing:

Microsoft.Windows.Lxss.Manager	Error	05-30-2024 00:12:01.851	"	"	"code: 	
failurecount: 	5
file: 	onecore\vm\wsl\lxss\service\dll\lxssusersession.cpp
function: 	
hr: 	0x80004005
linenumber: 	1248
message: 	""./var/log/journal/: Invalid extended attribute encountered bsdtar: Error exit delayed from previous errors. ""
threadid: 	1824
type: 	0"	onecore\vm\wsl\lxss\service\dll\lxssusersession.cpp			3744	1824	2		14879194-b25f-0007-41c8-87145fb2da01		

Can you try installing the latest version of WSL and see if that solves the issue ?

Thanks for the reply. I updated the WSL and it solved the issue for me.

@OneBlue
Copy link
Collaborator

OneBlue commented Jun 3, 2024

Glad to hear ! Closing since the issue is resolved.

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

No branches or pull requests

2 participants