Unable to fetch some packges/source list


#1

Hello all users, I’m a fresh user of Debian 6 64 Bit. I’m trying to install wine on it to run bluestacks. I am using this guide http://www.tecmint.com/install-wine-in-linux/ but when I use the following command, it can’t seem to fetch some files/packages.

I have these as my sources list at the moment.

sudo nano /etc/apt/sources.list

deb http://ftp.us.debian.org/debian stable main contrib non-free
deb-src http://ftp.us.debian.org/debian stable main contrib non-free

deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://dl.winehq.org/wine-builds/debian/ DISTRO main

root:~# sudo apt-get update

Get:1 http://ftp.us.debian.org stable Release.gpg [2373 B]
Hit http://security.debian.org wheezy/updates Release.gpg
Get:2 http://ftp.us.debian.org stable Release [148 kB]
Hit http://security.debian.org wheezy/updates Release
Ign http://ppa.launchpad.net wheezy Release.gpg
Get:3 http://ftp.debian.org wheezy-updates Release.gpg [1554 B]
Hit http://security.debian.org wheezy/updates/main Sources
Ign http://dl.winehq.org DISTRO Release.gpg
Ign http://ppa.launchpad.net wheezy Release.gpg
Hit http://security.debian.org wheezy/updates/contrib Sources
Get:4 http://ftp.debian.org wheezy-updates Release [151 kB]
Hit http://security.debian.org wheezy/updates/non-free Sources
Ign http://ppa.launchpad.net wheezy Release
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Ign http://dl.winehq.org DISTRO Release
Ign http://ppa.launchpad.net wheezy Release
Hit http://security.debian.org wheezy/updates/non-free amd64 Packages
Get:5 http://ftp.us.debian.org stable/main Sources [7058 kB]
Hit http://security.debian.org wheezy/updates/main i386 Packages
Hit http://security.debian.org wheezy/updates/contrib i386 Packages
Hit http://security.debian.org wheezy/updates/non-free i386 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Get:6 http://ftp.debian.org wheezy-updates/main Sources [5515 B]
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Get:7 http://ftp.debian.org wheezy-updates/contrib Sources [14 B]
Get:8 http://ftp.debian.org wheezy-updates/non-free Sources [929 B]
Get:9 http://ftp.debian.org wheezy-updates/main amd64 Packages [7043 B]
Get:10 http://ftp.debian.org wheezy-updates/contrib amd64 Packages [14 B]
Get:11 http://ftp.debian.org wheezy-updates/non-free amd64 Packages [488 B]
Get:12 http://ftp.debian.org wheezy-updates/main i386 Packages [7048 B]
Get:13 http://ftp.debian.org wheezy-updates/contrib i386 Packages [14 B]
Get:14 http://ftp.debian.org wheezy-updates/non-free i386 Packages [484 B]
Get:15 http://ftp.debian.org wheezy-updates/contrib Translation-en [14 B]
Get:16 http://ftp.debian.org wheezy-updates/main Translation-en [4879 B]
Get:17 http://ftp.debian.org wheezy-updates/non-free Translation-en [496 B]
Err http://dl.winehq.org DISTRO/main amd64 Packages
404 Not Found
Err http://dl.winehq.org DISTRO/main i386 Packages
404 Not Found
Ign http://dl.winehq.org DISTRO/main Translation-en
Err http://ppa.launchpad.net wheezy/main Sources
404 Not Found
Err http://ppa.launchpad.net wheezy/main amd64 Packages
404 Not Found
Err http://ppa.launchpad.net wheezy/main i386 Packages
404 Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en
Err http://ppa.launchpad.net wheezy/main Sources
404 Not Found
Err http://ppa.launchpad.net wheezy/main amd64 Packages
404 Not Found
Err http://ppa.launchpad.net wheezy/main i386 Packages
404 Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en
Get:18 http://ftp.us.debian.org stable/contrib Sources [50.7 kB]
Get:19 http://ftp.us.debian.org stable/non-free Sources [99.3 kB]
Get:20 http://ftp.us.debian.org stable/main amd64 Packages [6763 kB]
Get:21 http://ftp.us.debian.org stable/contrib amd64 Packages [50.1 kB]
Get:22 http://ftp.us.debian.org stable/non-free amd64 Packages [83.6 kB]
Get:23 http://ftp.us.debian.org stable/main i386 Packages [6768 kB]
Get:24 http://ftp.us.debian.org stable/contrib i386 Packages [49.7 kB]
Get:25 http://ftp.us.debian.org stable/non-free i386 Packages [80.2 kB]
Get:26 http://ftp.us.debian.org stable/contrib Translation-en [38.5 kB]
Get:27 http://ftp.us.debian.org stable/main Translation-en [4582 kB]
Get:28 http://ftp.us.debian.org stable/non-free Translation-en [72.5 kB]
Fetched 26.0 MB in 1min 29s (292 kB/s)
W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/wheezy/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/wheezy/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://dl.winehq.org/wine-builds/debian/dists/DISTRO/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://dl.winehq.org/wine-builds/debian/dists/DISTRO/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/wheezy/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/wheezy/main/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


#2

follow this…

https://wiki.winehq.org/Debian


#3

It means the resource is not available (what is your version Debian?, out date?). You can find other resource to replace. Also you can edit the repositories in /etc/apt/sources.list with vi/ vim/ nano editor.

This is a result when I use curl to get your repositories:
*tphanix@X230:~$ curl -I http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/wheezy/main/binary-i386/Packages *
HTTP/1.1 404 Not Found
Date: Thu, 10 Mar 2016 03:31:10 GMT
Server: Apache
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1

Besides, you should re-check DNS local /etc/resolve.conf and add:
name server 8.8.8.8
name server 8.8.4.4

It is good for you.

-Tiến