Working with Damn Small Linux (DSL) packages installed to a hard drive, tried to follow the instructions in the .info file accompanying dsl-dpkg.dsl. The instructions read [in part]:
*** NOTE *** You must run apt-get update first! sudo apt-get update
... got:
dsl@box:~$ sudo apt-get update Err http://archive.debian.org woody/main Packages 404 Not Found Ign http://archive.debian.org woody/main Release Err http://archive.debian.org woody/contrib Packages 404 Not Found Ign http://archive.debian.org woody/contrib Release Err http://archive.debian.org woody/non-free Packages 404 Not Found Ign http://archive.debian.org woody/non-free Release Failed to fetch http://archive.debian.org/debian-archive/dists/woody/main/binary-i386/Packages.gz 404 Not Found Failed to fetch http://archive.debian.org/debian-archive/dists/woody/contrib/binary-i386/Packages.gz 404 Not Found Failed to fetch http://archive.debian.org/debian-archive/dists/woody/non-free/binary-i386/Packages.gz 404 Not Found Reading Package Lists... Done W: Couldn't stat source package list http://archive.debian.org woody/main Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_woody_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://archive.debian.org woody/contrib Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_woody_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://archive.debian.org woody/non-free Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_woody_non-free_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Some index files failed to download, they have been ignored, or old ones used instead.
... apparently some sort of error messages ...
Checked apt-get config file(s) in /etc/apt and (in /etc/apt/sources.list found
deb http://archive.debian.org/debian-archive/ woody main contrib non-free #deb http://mirror.aarnet.edu.au/debian oldstable main contrib non-free #deb http://mirror.linux.org.au/debian oldstable main contrib non-free #deb http://mirrors.usc.edu/pub/linux/distributions/debian oldstable main contrib non-free
Went and looked at http://archive.debian.org/debian-archive/ - driving down through the site found that the main repository seems to be under an additional directory called 'debian'.
- sudo cp /etc/opt/sources.list /etc/opt/sources.list.ORIG
- sudo vi /etc/opt/sources.list
- Add the path element debian/ to the archive.debian.org URL.
The new /etc/apt/sources.list now looks like this:
deb http://archive.debian.org/debian-archive/debian/ woody main contrib non-free #deb http://mirror.aarnet.edu.au/debian oldstable main contrib non-free #deb http://mirror.linux.org.au/debian oldstable main contrib non-free #deb http://mirrors.usc.edu/pub/linux/distributions/debian oldstable main contrib non-free
Now the command
sudo apt-get update
produces the following output:
dsl@box:~$ sudo apt-get update Get:1 http://archive.debian.org woody/main Packages [1773kB] Get:2 http://archive.debian.org woody/main Release [95B] Get:3 http://archive.debian.org woody/contrib Packages [49.2kB] Get:4 http://archive.debian.org woody/contrib Release [98B] Get:5 http://archive.debian.org woody/non-free Packages [65.7kB] Get:6 http://archive.debian.org woody/non-free Release [99B] Fetched 1888kB in 30s (62.5kB/s) Reading Package Lists... Done dsl@box:~$
... which looks less like an error message and more like we imagine it's supposed to.