I'm using Ubuntu for Windows, and have been for some time.
/etc/debian_version names it as
buster/sid. As a result of recent suspected disk corruption,
/usr/lib/x86_64-linux-gnu/libapt-private.so.0.0.0 appears to have been replaced by a same-sized file containing only (binary) zeroes.
apt and prevents its self-repair, of course.
I have been given a copy of the same file by colleagues. However, I cannot find a way to replace the one in my filesystem. Even launching
bash with Windows Administrator privileges, and then acquiring root privileges within that shell, does not permit me to rename or replace the file.
It's highly discouraged to attempt to alter these files from Windows tools such as File Explorer and the
cmd shell – however, even running
cmd with Administrator privileges gives "
Access is denied."
How can I replace this library file under Ubuntu for Windows? Is it even possible? Google and StackExchange searches have not been helpful.