Error: Unable to locate package winehq-stable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2025 09:14 PM
Hi,
I am running a notebook which has mix of python and scala codes. Below code was working fine until May 27, 2025. However, since yesterday, I’ve been encountering the following error: "E: Unable to locate package winehq-stable".
Could someone please help me resolve this issue? Are there any packages or libraries I need to add or update to get it working again?
%sh
dpkg --print-architecture
sudo dpkg --add-architecture i386
dpkg --print-foreign-architectures
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt-get clean && sudo rm -rv /var/lib/apt/lists/* && sudo apt-get update
sudo apt install --install-recommends -y winehq-stable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 01:20 AM
This issue likely occurred due to recent library upgrades. Please review the libraries installed on your cluster and check their versions. If you identify any libraries that were recently updated, consider downgrading them to their previous versions to restore compatibility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 02:56 AM
Thanks for your reply.
Below are the three libraries I am using in the job cluster, and I don't think any of these have any relation with winehq. Is there any other library I need to add to run the task?
Libraries used in the job cluster:
1. paramiko==3.3.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 04:06 AM
add me https://www.linkedin.com/in/aviralb/ we will do live debugging