Error on installation

Questions about Wine on Linux
Post Reply
medalog
Level 1
Level 1
Posts: 9
Joined: Wed May 01, 2019 10:30 am

Error on installation

Post by medalog » Wed May 01, 2019 10:46 am

I follow the steps, and in some moment something goes wrong. Wine can't be installed either uninstall. I repeat the steps and nothing

Code: Select all

E: El repositorio «http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
Someone can help me? In spanish or english whatever i need help with this

User avatar
dimesio
Moderator
Moderator
Posts: 12671
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error on installation

Post by dimesio » Wed May 01, 2019 1:13 pm

medalog wrote:

Code: Select all

E: El repositorio «http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release» no tiene un fichero de Publicación.
That repository has been deprecated for a couple of years. Follow the instructions on https://wiki.winehq.org/Ubuntu to add the current WineHQ repository.

medalog
Level 1
Level 1
Posts: 9
Joined: Wed May 01, 2019 10:30 am

Re: Error on installation

Post by medalog » Wed May 01, 2019 4:26 pm

Following the instruction...

Code: Select all

medalog@localhost:~$ sudo dpkg --add-architecture i386 
[sudo] contraseña para medalog: 
medalog@localhost:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
El fichero “winehq.key” ya está ahí, no se recupera.

medalog@localhost:~$ sudo apt-key add winehq.key
OK
medalog@localhost:~$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Obj:1 http://repo.steampowered.com/steam precise InRelease
Obj:2 http://uy.archive.ubuntu.com/ubuntu bionic InRelease                     
Obj:3 http://uy.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Obj:4 https://dl.winehq.org/wine-builds/ubuntu cosmic InRelease                
Obj:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                
Des:6 http://uy.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB] 
Des:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]    
Obj:8 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Ign:9 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic InRelease        
[b]Err:11 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release         
  404  Not Found [IP: 91.189.95.83 80][/b]
Obj:10 https://packagecloud.io/gyazo/gyazo-for-linux/ubuntu bionic InRelease   
Leyendo lista de paquetes... Hecho                                             
[b]E: El repositorio «http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.[/b]

User avatar
dimesio
Moderator
Moderator
Posts: 12671
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error on installation

Post by dimesio » Thu May 02, 2019 9:33 am

What is your question? You've added the WineHQ repository, though for some reason you've added both bionic and cosmic. Since all your other repositories are for bionic, you should delete the cosmic one from your /etc/apt/sources.list.

As for the error messages, they are all related to the deprecated repository that you never should have added in the first place. You should remove that from your /etc/apt/sources.list as well.

medalog
Level 1
Level 1
Posts: 9
Joined: Wed May 01, 2019 10:30 am

Re: Error on installation

Post by medalog » Thu May 02, 2019 11:01 am

Can you give me instructions? What exactly i must to do? :? :?:

jkfloris
Level 6
Level 6
Posts: 654
Joined: Thu Aug 14, 2014 10:10 am

Re: Error on installation

Post by jkfloris » Thu May 02, 2019 4:56 pm

Open the file /etc/apt/sources.list as root in your favorite text editor and remove the lines which contain:
http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic
and
https://dl.winehq.org/wine-builds/ubuntu cosmic
Save and exit the file
run

Code: Select all

sudo apt update

medalog
Level 1
Level 1
Posts: 9
Joined: Wed May 01, 2019 10:30 am

Re: Error on installation

Post by medalog » Fri May 03, 2019 9:29 am

Done, but when i do sudo apt update it's happened:

Code: Select all

sudo apt update
Obj:1 http://repo.steampowered.com/steam precise InRelease
Obj:2 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Ign:3 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic InRelease      
Err:4 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]
Obj:5 https://packagecloud.io/gyazo/gyazo-for-linux/ubuntu bionic InRelease    
Leyendo lista de paquetes... Hecho
E: El repositorio «http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2759
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: Error on installation

Post by Bob Wya » Fri May 03, 2019 10:26 am

medalog wrote:Done, but when i do sudo apt update it's happened:

Code: Select all

sudo apt update
Ign:3 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic InRelease      
Err:4 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]
You'll need to remove the PPA wine-build repository as well...
It's 100% unmaintained, Sebastian Lackner (the ex-maintainer) is no-longer involved in the WineHQ Project.

Bob

medalog
Level 1
Level 1
Posts: 9
Joined: Wed May 01, 2019 10:30 am

Re: Error on installation

Post by medalog » Fri May 03, 2019 1:11 pm

Bob Wya wrote:
medalog wrote:Done, but when i do sudo apt update it's happened:

Code: Select all

sudo apt update
Ign:3 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic InRelease      
Err:4 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]
You'll need to remove the PPA wine-build repository as well...
It's 100% unmaintained, Sebastian Lackner (the ex-maintainer) is no-longer involved in the WineHQ Project.

Bob
What exactly should i do? Can you give me instructions?

User avatar
Bob Wya
Level 12
Level 12
Posts: 2759
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: Error on installation

Post by Bob Wya » Fri May 03, 2019 2:17 pm

medalog wrote:...
What exactly should i do? Can you give me instructions?
By the power of Google: It's FOSS: How to Remove or Delete PPA in Ubuntu.

Bob

medalog
Level 1
Level 1
Posts: 9
Joined: Wed May 01, 2019 10:30 am

Re: Error on installation

Post by medalog » Fri May 03, 2019 3:21 pm

Thanks.
Now trying to install it's happened:

Code: Select all

sudo apt install --install-recommends winehq-stable
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
 winehq-stable : Depende: wine-stable (= 4.0~bionic)
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.
What would i do?

jkfloris
Level 6
Level 6
Posts: 654
Joined: Thu Aug 14, 2014 10:10 am

Re: Error on installation

Post by jkfloris » Sat May 04, 2019 8:42 am

You probably installed some package from a non official Ubuntu repo which isn't multi-arch. In other words the 32 and 64 bit packages doesn't have the same version number. The only way to solve this is to try to install each package by hand.

Code: Select all

sudo apt install wine-stable
Probably, you will get an error which tells you can't install wine-stable because of an unmet dependency. Try to install that package and so on, and so on.

medalog
Level 1
Level 1
Posts: 9
Joined: Wed May 01, 2019 10:30 am

Re: Error on installation

Post by medalog » Sat May 04, 2019 9:38 am

jkfloris wrote:You probably installed some package from a non official Ubuntu repo which isn't multi-arch. In other words the 32 and 64 bit packages doesn't have the same version number. The only way to solve this is to try to install each package by hand.

Code: Select all

sudo apt install wine-stable
Probably, you will get an error which tells you can't install wine-stable because of an unmet dependency. Try to install that package and so on, and so on.

Code: Select all

 sudo apt install wine-stable
[sudo] contraseña para medalog: 
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
 wine-stable : Depende: wine-stable-amd64 (= 4.0~bionic) pero no va a instalarse
               Depende: wine-stable-i386 (= 4.0~bionic)
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.

medalog
Level 1
Level 1
Posts: 9
Joined: Wed May 01, 2019 10:30 am

Re: Error on installation

Post by medalog » Sat May 04, 2019 9:45 am

This forum was my last resort, I've already tried other google things, but everything is the same. I'm about to format and reinstall the operating system, I hope I do not have to come to that and that they can help me.
Every time they tell me something, I have to ask them to guide me, I do not know what they are talking about, I have no idea of anything, I am here asking and asking for help.
They tell me to do something but they do not tell me how, I'm exactly the same as I was in google, I expected to find something else in a forum, help from other people.

User avatar
dimesio
Moderator
Moderator
Posts: 12671
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error on installation

Post by dimesio » Sat May 04, 2019 10:28 am

Code: Select all

Los siguientes paquetes tienen dependencias incumplidas:
 wine-stable : Depende: wine-stable-amd64 (= 4.0~bionic) pero no va a instalarse
               Depende: wine-stable-i386 (= 4.0~bionic)
Try installing wine-stable-i386, see what apt complains about, and install that. Keep working your way back until you find whatever is blocking everything else.
They tell me to do something but they do not tell me how
This is not a general Linux forum; basic knowledge of how to use your operating system, including your package manager, is assumed here. And clearly you do know how to use apt, because you've posted console output from it.

medalog
Level 1
Level 1
Posts: 9
Joined: Wed May 01, 2019 10:30 am

Re: Error on installation

Post by medalog » Sat May 04, 2019 8:14 pm

Well, thank you very much everyone, I suppose.

Post Reply