Troubles during installation : cant download (404)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Kamus
Newbie
Newbie
Posts: 2
Joined: Sat Oct 06, 2018 7:17 am

Troubles during installation : cant download (404)

Post by Kamus »

Hey,

I'm trying to install wine on Debian Stretch and it looks like I'm having lot of troubles ! I'm new to Debian, feel free to give me tips or comment my mistakes :p

Here's how I tried to install Wine :

su > apt-get install wine :

Code: Select all

root@debian:/home/sumak# apt-get install wine

Code: Select all

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
wine is already the newest version (1.8.7-2).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
root@debian:/home/sumak# exit
Adding the deb packet into sources.list :

Code: Select all

sudo cat /etc/apt/sources.list

Code: Select all

# stable
deb http://deb.debian.org/debian/ stretch main contrib non-free
# stable updates
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
# stable-backports
deb http://deb.debian.org/debian/ stretch-backports main contrib non-free
# stable security
deb http://security.debian.org/ stretch/updates main contrib non-free

# stretch-backports
deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
deb https://dl.winehq.org/wine-builds/debian/ DISTRO main

Code: Select all

sudo apt-get udpate

Code: Select all

Ign:1 http://deb.debian.org/debian stretch InRelease
Atteint:2 http://deb.debian.org/debian stretch-updates InRelease                                                          
Atteint:3 http://security.debian.org stretch/updates InRelease                                                                   
Atteint:4 http://deb.debian.org/debian stretch-backports InRelease                                                               
Atteint:6 http://deb.debian.org/debian stretch Release                                                                           
Atteint:7 https://deb.nodesource.com/node_8.x stretch InRelease                                                    
Atteint:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease                           
Ign:8 https://dl.winehq.org/wine-builds/debian DISTRO InRelease                                  
Atteint:9 https://packages.microsoft.com/repos/vscode stable InRelease
Ign:10 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch InRelease
Ign:12 https://dl.winehq.org/wine-builds/debian DISTRO Release 
Ign:13 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch Release
Ign:14 https://dl.winehq.org/wine-builds/debian DISTRO/main all Packages
Ign:15 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 Packages
Ign:16 https://dl.winehq.org/wine-builds/debian DISTRO/main i386 Packages
Ign:17 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-en
Ign:18 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 Packages
Ign:19 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr
Ign:20 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main i386 Packages
Ign:21 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all Packages
Ign:22 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr_FR
Ign:23 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr_FR
Ign:24 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr
Ign:25 https://dl.winehq.org/wine-builds/debian DISTRO/main all DEP-11 Metadata
Ign:26 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-en
Ign:27 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 DEP-11 Metadata
Ign:28 https://dl.winehq.org/wine-builds/debian DISTRO/main DEP-11 64x64 Icons
Ign:14 https://dl.winehq.org/wine-builds/debian DISTRO/main all Packages
Ign:29 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all DEP-11 Metadata
Ign:15 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 Packages
Ign:16 https://dl.winehq.org/wine-builds/debian DISTRO/main i386 Packages
Ign:17 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-en
Ign:30 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 DEP-11 Metadata
Ign:19 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr
Ign:31 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main DEP-11 64x64 Icons
Ign:22 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr_FR
Ign:18 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 Packages
Ign:20 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main i386 Packages
Ign:25 https://dl.winehq.org/wine-builds/debian DISTRO/main all DEP-11 Metadata
Ign:21 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all Packages
Ign:27 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 DEP-11 Metadata
Ign:23 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr_FR
Ign:28 https://dl.winehq.org/wine-builds/debian DISTRO/main DEP-11 64x64 Icons
Ign:14 https://dl.winehq.org/wine-builds/debian DISTRO/main all Packages
Ign:15 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 Packages
Ign:24 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr
Ign:16 https://dl.winehq.org/wine-builds/debian DISTRO/main i386 Packages
Ign:17 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-en
Ign:26 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-en
Ign:19 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr
Ign:29 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all DEP-11 Metadata
Ign:22 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr_FR
Ign:30 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 DEP-11 Metadata
Ign:25 https://dl.winehq.org/wine-builds/debian DISTRO/main all DEP-11 Metadata
Ign:31 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main DEP-11 64x64 Icons
Ign:27 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 DEP-11 Metadata
Ign:18 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 Packages
Ign:28 https://dl.winehq.org/wine-builds/debian DISTRO/main DEP-11 64x64 Icons
Ign:20 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main i386 Packages
Ign:14 https://dl.winehq.org/wine-builds/debian DISTRO/main all Packages
Ign:15 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 Packages
Ign:16 https://dl.winehq.org/wine-builds/debian DISTRO/main i386 Packages
Ign:17 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-en
Ign:21 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all Packages
Ign:23 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr_FR
Ign:19 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr
Ign:24 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr
Ign:22 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr_FR
Ign:26 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-en
Ign:29 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all DEP-11 Metadata
Ign:25 https://dl.winehq.org/wine-builds/debian DISTRO/main all DEP-11 Metadata
Ign:30 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 DEP-11 Metadata
Ign:27 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 DEP-11 Metadata
Ign:31 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main DEP-11 64x64 Icons
Ign:28 https://dl.winehq.org/wine-builds/debian DISTRO/main DEP-11 64x64 Icons
Ign:18 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 Packages
Ign:14 https://dl.winehq.org/wine-builds/debian DISTRO/main all Packages
Ign:15 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 Packages
Ign:16 https://dl.winehq.org/wine-builds/debian DISTRO/main i386 Packages
Ign:17 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-en
Ign:20 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main i386 Packages
Ign:19 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr
Ign:21 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all Packages
Ign:23 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr_FR
Ign:24 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr
Ign:22 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr_FR
Ign:25 https://dl.winehq.org/wine-builds/debian DISTRO/main all DEP-11 Metadata
Ign:26 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-en
Ign:27 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 DEP-11 Metadata
Ign:29 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all DEP-11 Metadata
Ign:28 https://dl.winehq.org/wine-builds/debian DISTRO/main DEP-11 64x64 Icons
Ign:30 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 DEP-11 Metadata
Ign:14 https://dl.winehq.org/wine-builds/debian DISTRO/main all Packages
Err:15 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 Packages
  404  Not Found
Ign:16 https://dl.winehq.org/wine-builds/debian DISTRO/main i386 Packages
Ign:17 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-en
Ign:31 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main DEP-11 64x64 Icons
Ign:18 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 Packages
Ign:19 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr
Ign:20 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main i386 Packages
Ign:21 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all Packages
Ign:22 https://dl.winehq.org/wine-builds/debian DISTRO/main Translation-fr_FR
Ign:23 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr_FR
Ign:25 https://dl.winehq.org/wine-builds/debian DISTRO/main all DEP-11 Metadata
Ign:24 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr
Ign:27 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 DEP-11 Metadata
Ign:26 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-en
Ign:28 https://dl.winehq.org/wine-builds/debian DISTRO/main DEP-11 64x64 Icons
Ign:29 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all DEP-11 Metadata
Ign:30 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 DEP-11 Metadata
Ign:31 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main DEP-11 64x64 Icons
Err:18 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 Packages
  404  Not Found [IP : 204.145.124.244 80]
Ign:20 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main i386 Packages
Ign:21 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all Packages
Ign:23 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr_FR
Ign:24 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-fr
Ign:26 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main Translation-en
Ign:29 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main all DEP-11 Metadata
Ign:30 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main amd64 DEP-11 Metadata
Ign:31 http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch/main DEP-11 64x64 Icons
Lecture des listes de paquets... Fait
W: The repository 'https://dl.winehq.org/wine-builds/debian DISTRO Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://apt.postgresql.org/pub/repos/apt/stretch-pgdg stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Impossible de récupérer https://dl.winehq.org/wine-builds/debian/dists/DISTRO/main/binary-amd64/Packages  404  Not Found
E: Impossible de récupérer http://apt.postgresql.org/pub/repos/apt/stretch-pgdg/dists/stretch/main/binary-amd64/Packages  404  Not Found [IP : 204.145.124.244 80]
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.


Note : yea there's some french comments / looks like postgresql isnt setup correctly
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Troubles during installation : cant download (404)

Post by dimesio »

Code: Select all

W: The repository 'https://dl.winehq.org/wine-builds/debian DISTRO Release' does not have a Release file.
As stated clearly on https://wiki.winehq.org/Debian, you were supposed to substitute the codename for your version of Debian (wheezy, jessie, stretch, buster or sid) for DISTRO when adding the repository to /etc/apt/sources.list.
Kamus
Newbie
Newbie
Posts: 2
Joined: Sat Oct 06, 2018 7:17 am

Re: Troubles during installation : cant download (404)

Post by Kamus »

I tried replacing "DISTRO" by "stretch" but I got an error :/ I feel like a total noob right now ...

Code: Select all

deb https://dl.winehq.org/wine-builds/debian/stretch main

Code: Select all

root@debian:/# apt-get update

Code: Select all

E: Malformed entry 12 in list file /etc/apt/sources.list (Component)
E: La liste des sources ne peut être lue. 
// "source cant be read"
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Troubles during installation : cant download (404)

Post by dimesio »

Kamus wrote:

Code: Select all

deb https://dl.winehq.org/wine-builds/debian/stretch main
The distro codename is not part of the URL. here should be a space between the URL's ending / and stretch.
Locked