[Users] debian-5.0 lenny openvz templates with wrong /etc/apt/sources.list

Benjamin Henrion bh at udev.org
Wed Jul 7 11:21:29 EDT 2010


On Wed, Jul 7, 2010 at 5:07 PM, Scott Dowdle <dowdle at montanalinux.org> wrote:
> 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:
>>
>> =============================================================
>> root at 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.
>> root at 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?

URL2 and URL3 gives 404 errors:

# wget http://ftp.debian.org/debian-volatile
--2010-07-07 17:16:43--  http://ftp.debian.org/debian-volatile
Resolving ftp.debian.org... 130.89.149.226, 2001:610:1908:a000::149:226
Connecting to ftp.debian.org|130.89.149.226|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-07-07 17:16:43 ERROR 404: Not Found.

Replacing ftp.debian.org by volatile.debian.org or security.debian.org works.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."



More information about the Users mailing list