Wsl: apt-get update errors

Created on 9 Dec 2019  ·  2Comments  ·  Source: MicrosoftDocs/WSL

I am getting following errors while doingapt-get update command

apt-get: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0: invalid ELF header

I have used _Ubuntu-18.04_ image for my WSL on Windows 10.

How to fix this?

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Most helpful comment

Seems to be related to this: https://github.com/microsoft/WSL/issues/4745#issuecomment-563308657

I'll close out this issue since it's not doc related, please follow up on the other thread for solutions. :)
What would help us is listing your build number (Open up CMD and run ver), listing any repro steps that you took for this error to occur, etc.

All 2 comments

Seems to be related to this: https://github.com/microsoft/WSL/issues/4745#issuecomment-563308657

I'll close out this issue since it's not doc related, please follow up on the other thread for solutions. :)
What would help us is listing your build number (Open up CMD and run ver), listing any repro steps that you took for this error to occur, etc.

@craigloewen-msft Thank you very much! The process outlined in the related issue link worked like a charm for me 👍 !

Was this page helpful?
0 / 5 - 0 ratings