Installin WINE on Elementary OS Hera

Questions about Wine on Linux
Locked
hrant
Newbie
Newbie
Posts: 1
Joined: Sun May 17, 2020 12:22 pm

Installin WINE on Elementary OS Hera

Post by hrant »

I know that many people asked this question. But I can't simply install WINE on my laptop

OS Version:

Code: Select all

 elementary OS 5.1.4 Hera x86_64 
I get errors after typing the following command:

Code: Select all

sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
errors:

Code: Select all

Hit:1 http://deb.playonlinux.com bionic InRelease                                                                                                           
Hit:2 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu bionic InRelease                                                                        
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                                           
Hit:4 http://packages.elementary.io/appcenter bionic InRelease                                                                                              
Hit:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                                                                                             
Hit:6 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease                                                                                 
Hit:7 http://am.archive.ubuntu.com/ubuntu bionic InRelease                                                                                      
Hit:8 http://am.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                          
Hit:9 http://am.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                        
Hit:10 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease                                                                            
Hit:11 https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic InRelease                                                                       
Hit:12 http://ppa.launchpad.net/philip.scott/elementary-tweaks/ubuntu bionic InRelease                                                  
Hit:13 https://packages.microsoft.com/ubuntu/19.10/prod eoan InRelease                                       
Hit:14 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease                                          
Ign:15 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic InRelease                                      
Err:16 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release                                            
  404  Not Found [IP: 91.189.95.83 80]
Hit:17 https://packages.lunarg.com/vulkan/1.2.131 bionic InRelease                                               
Reading package lists... Done                       
N: Ignoring file 'Release.key' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'libfaudio0_19.07-0~bionic_i386.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'winehq.key' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'libfaudio0_19.07-0~bionic_amd64.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installin WINE on Elementary OS Hera

Post by dimesio »

hrant wrote: Sun May 17, 2020 12:30 pm

Code: Select all

Hit:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
That's not an error; you've successfully added the WineHQ repository.

Code: Select all

Ign:15 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic InRelease                                      
Err:16 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release                                            
  404  Not Found [IP: 91.189.95.83 80]
Of course that's throwing an error; that PPA has been deprecated for years. Delete it.

Code: Select all

N: Ignoring file 'libfaudio0_19.07-0~bionic_i386.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'winehq.key' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'libfaudio0_19.07-0~bionic_amd64.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
You're getting those errors because those files don't really belong in that directory, though having them there shouldn't hurt anything.
Locked