Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
apt-get update getting 404 on debian lenny

I Have search that the command for install zip in debian is

apt-get install zip

I tried so many time. The result is like this.

Err lenny/main unzip 5.52-12
  404 Not Found
Err lenny/main zip 2.32-1
  404 Not Found
Failed to fetch  404 Not Found
Failed to fetch  404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Did I miss something ?

share|improve this question

marked as duplicate by Zoredache, Tom O'Connor, Michael Hampton, jscott, Magellan Nov 28 '12 at 5:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Lenny is not officially supported any more. The official repositories have been discontinued. – Zoredache Nov 28 '12 at 0:36
You could always build it from source ;) – Tom O'Connor Nov 28 '12 at 0:44
Thanks for the help, I am just a beginner. what do you mean by (You could always build it from source) – stefanus Nov 28 '12 at 0:48
"sudo apt-get update" and then try againtry – Matt Nov 28 '12 at 3:38

If it doesn't have to be "zip", but instead something that supports .zip files, you could always give p7zip a go.

Also worth a try would be the equivalent-ish packages for zip from Ubuntu 8.04. Unzip can be found here too.

They're identical versions to the ones mentioned in the question for Debian, and I've generally found that for things like this, Debian and Ubuntu are pretty closely interchangeable.

If you find the .deb file doesn't work, you could always go looking inside it for the zip and unzip binaries, with

ar vx path/to/file.deb

then tar xzvf data.tar.gz and then see if you can find the files from inside the debian package.

share|improve this answer
thanks for the p7zip. But I think I should find the i136 version.               raigo:/home/media/ogura# dpkg -i zip_3.0-3_amd64.deb dpkg: error processing zip_3.0-3_amd64.deb (--install): package architecture (amd64) does not match system (i386) Errors were encountered while processing: zip_3.0-3_amd64.deb – stefanus Nov 28 '12 at 2:13
I found it here and it works. thanks guys. – stefanus Nov 28 '12 at 3:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.