WSL: Held Broken Packages in WSL2 on Regular /etc/apt/sources.list
Windows Version
Microsoft Windows [Version 10.0.22635.4076]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
5.15.153.1
Distro Version
lsb_release -r No LSB modules are available. Release: n/a
Other Software
sudo apt install python3-numpy in a python3 -m venv . after source bin/activate
I get held broken packages.
sudo apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://ftp.debian.org/debian bookworm-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
and…
The following packages have unmet dependencies:
python3-numpy : Depends: liblapack3 but it is not installable or
liblapack.so.3
-bash: The: command not found
-bash: python3-numpy: command not found
-bash: liblapack.so.3: command not found
Repro Steps
sudo apt install python3-numpy
and/or
sudo apt install python3-numpy in a python3 -m venv . after source bin/activate
sudo apt install python3-numpy
I had some trouble earlier in the year. The system was held unresponsive when updating to kernel 6.1.x.
Expected Behavior
I expected the command to install python3-numpy.
Actual Behavior
sudo apt install python3-numpy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-numpy : Depends: liblapack3 but it is not installable or
liblapack.so.3
Diagnostic Logs
WslLogs-2024-08-21_23-03-17.zip
https://gist.github.com/silver2row/d1524b3a80ec2d1d3a824a46e4692849
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 15
/question
How can I set up my WSL2 instance with an updated kernel (6.1.x or 6.6.x) on my machine without losing data?
Every time I set up kernel 6.1.x, I get errors galore that cannot be taken back.
Seth
P.S. If you know which log I need to review, please let me know. Also, how can one install
python3-numpywhen I hold broken packages (somehow)?Diagnostic information
Also…when building for kernel 6.1.x within the
DebianDistro, I am getting permission errors on this command:cp arch/x86/boot/bzImage /mnt/c/Is it feasible to handle the command via
sudoor should I think I need to look elsewhere for permission data?Seth
Did that one work?