Greetings, ----- Original Message ----- > Hi, > > Just to warn you that the following debian template: > > http://ftp.openvz.org/template/precreated/debian-5.0-x86_64.tar.gz > > has a wrong /etc/apt/sources.list. > > Here is what it gives after an apt-get update: > > ============================================================= > r...@111 / [4]# apt-get update > Get:1 http://ftp.debian.org lenny Release.gpg [1033B] > Ign http://ftp.debian.org lenny/volatile Release.gpg > Ign http://ftp.debian.org lenny/updates Release.gpg > Get:2 http://ftp.debian.org lenny Release [73.8kB] > Ign http://ftp.debian.org lenny/volatile Release > Ign http://ftp.debian.org lenny/updates Release > Ign http://ftp.debian.org lenny/volatile/main Packages > Ign http://ftp.debian.org lenny/volatile/contrib Packages > Ign http://ftp.debian.org lenny/volatile/non-free Packages > Get:3 http://ftp.debian.org lenny/main Packages [5150kB] > Get:4 http://ftp.debian.org lenny/contrib Packages [71.9kB] > Get:5 http://ftp.debian.org lenny/non-free Packages [88.1kB] > Ign http://ftp.debian.org lenny/updates/main Packages > Ign http://ftp.debian.org lenny/updates/contrib Packages > Ign http://ftp.debian.org lenny/updates/non-free Packages > Ign http://ftp.debian.org lenny/volatile/main Packages > Ign http://ftp.debian.org lenny/volatile/contrib Packages > Ign http://ftp.debian.org lenny/volatile/non-free Packages > Ign http://ftp.debian.org lenny/updates/main Packages > Ign http://ftp.debian.org lenny/updates/contrib Packages > Ign http://ftp.debian.org lenny/updates/non-free Packages > Err http://ftp.debian.org lenny/volatile/main Packages > 404 Not Found [IP: 130.89.149.226 80] > Err http://ftp.debian.org lenny/volatile/contrib Packages > 404 Not Found [IP: 130.89.149.226 80] > Err http://ftp.debian.org lenny/volatile/non-free Packages > 404 Not Found [IP: 130.89.149.226 80] > Err http://ftp.debian.org lenny/updates/main Packages > 404 Not Found [IP: 130.89.149.226 80] > Err http://ftp.debian.org lenny/updates/contrib Packages > 404 Not Found [IP: 130.89.149.226 80] > Err http://ftp.debian.org lenny/updates/non-free Packages > 404 Not Found [IP: 130.89.149.226 80] > Fetched 5385kB in 1s (2698kB/s) > W: Failed to fetch > http://ftp.debian.org/debian-volatile/dists/lenny/volatile/main/binary-amd64/Packages > 404 Not Found [IP: 130.89.149.226 80] > > W: Failed to fetch > http://ftp.debian.org/debian-volatile/dists/lenny/volatile/contrib/binary-amd64/Packages > 404 Not Found [IP: 130.89.149.226 80] > > W: Failed to fetch > http://ftp.debian.org/debian-volatile/dists/lenny/volatile/non-free/binary-amd64/Packages > 404 Not Found [IP: 130.89.149.226 80] > > W: Failed to fetch > http://ftp.debian.org/debian-security/dists/lenny/updates/main/binary-amd64/Packages > 404 Not Found [IP: 130.89.149.226 80] > > W: Failed to fetch > http://ftp.debian.org/debian-security/dists/lenny/updates/contrib/binary-amd64/Packages > 404 Not Found [IP: 130.89.149.226 80] > > W: Failed to fetch > http://ftp.debian.org/debian-security/dists/lenny/updates/non-free/binary-amd64/Packages > 404 Not Found [IP: 130.89.149.226 80] > > E: Some index files failed to download, they have been ignored, or old > ones used instead. > r...@111 / [5]# > ============================================================= > > Please replace the /etc/apt/sources.list with the right one: > > =================================================================== > deb http://ftp.debian.org/debian lenny main contrib non-free > deb http://security.debian.org/debian-security lenny/updates main > contrib non-free > deb http://volatile.debian.org/debian-volatile lenny/volatile main > contrib non-free > ===================================================================
Lookinag at the /etc/apt/sources.list that IS IN the OS Template you linked to, it contains the exact same entries you want it replaced with. Here is the contents of /etc/apt/sources.list from http://ftp.openvz.org/template/precreated/debian-5.0-x86_64.tar.gz: deb http://ftp.debian.org/debian lenny main contrib non-free deb http://ftp.debian.org/debian-volatile lenny/volatile main contrib non-free deb http://ftp.debian.org/debian-security lenny/updates main contrib non-free The only difference between it and what you want it replaced with is the order of line 2 and 3. Does that matter? TYL, -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work] _______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
