I should have written this post some time ago, since Ubuntu 22.10 has been released for a while now, and there is now an official WineHQ 22.10 Kinetic repository. Therefore, in this post, I will show the steps to update the WineHQ repository file from Ubuntu Jammy to Ubuntu Kinetic.
The process of updating the apt repository for WineHQ is very simple. We will rename the repository file from jammy to kinetic, use
nano as our text editor and will do an
apt update afterward to confirm that the change is valid. Let’s start:
First, for convenience, we will change the directory to
/etc/apt/sources.list.d/ using the
Next, we will rename our
winehq-jammy.sources file to
winehq-kinetic.sources using the
sudo mv winehq-jammy.sources winehq-kinetic.sources
Now, it’s time to edit the renamed file using nano:
sudo nano winehq-kinetic.sources
Our file should look like this when it opens:
Go to the end of the line that says
Suites: jammy. Rename
Now, you’re ready to save the file. Press CTRL + O, followed by the Enter key to save the file:
Press CTRL + X to exit. Now, type
sudo apt update to confirm that the change is taking effect.
You should not see any errors when fetching the data from the repository:
And that’s it. You can now install or update Wine as usual.