1

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 http://ftp.jp.debian.org lenny/main unzip 5.52-12
  404 Not Found
Err http://ftp.jp.debian.org lenny/main zip 2.32-1
  404 Not Found
Failed to fetch http://ftp.jp.debian.org/debian/pool/main/u/unzip/unzip_5.52-12_i386.deb  404 Not Found
Failed to fetch http://ftp.jp.debian.org/debian/pool/main/z/zip/zip_2.32-1_i386.deb  404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Did I miss something ?

stefanus
  • 21
  • 1
  • 1
  • 2

1 Answers1

1

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.

Tom O'Connor
  • 27,440
  • 10
  • 72
  • 148
  • 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 02:13
  • I found it here and it works. thanks guys. http://packages.debian.org/sid/i386/p7zip/download – stefanus Nov 28 '12 at 03:29