Page 1 of 1

how do i unzip a file? [SOLVED]

Posted: 07 Apr 2010, 23:00
by zander
hi,

how do i unzip a .zip file from the command line? when i try i get stuff like
bubba:/home/admin/Wordpress/Themes# ls
clear.1.2.4.zip
bubba:/home/admin/Wordpress/Themes# pkunzip *.zip
bash: pkunzip: command not found
bubba:/home/admin/Wordpress/Themes# unzip *.zip
bash: unzip: command not found
bubba:/home/admin/Wordpress/Themes# gunzip *
gunzip: clear.1.2.4.zip: unknown suffix -- ignored
bubba:/home/admin/Wordpress/Themes# unzip *
bash: unzip: command not found
bubba:/home/admin/Wordpress/Themes#
please advise.

Re: how do i unzip a file?

Posted: 08 Apr 2010, 02:47
by Kiff

Code: Select all

> apt-get install unzip

Re: how do i unzip a file?

Posted: 08 Apr 2010, 03:20
by zander
thanks :)

Re: how do i unzip a file?

Posted: 24 May 2011, 04:16
by tywoniak
I am sorry, nevertheless on my Bubba2, the apt-get install fails, and the recommended update as well.
Am I doing something wrong?
best regards
jiri

bubba:/tmp# apt-get install unzip
Reading package lists... Done
Building dependency tree... Done
unzip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
bubba:/tmp# apt-get update
Ign http://ftp.se.debian.org etch Release.gpg
Get:1 http://update.excito.org marielle Release.gpg [189B]
Get:2 http://update.excito.org upstream_etch Release.gpg [189B]
Ign http://ftp.se.debian.org etch Release
Hit http://update.excito.org marielle Release
Err http://ftp.se.debian.org etch/main Packages
404 Not Found [IP: 130.239.18.173 80]
Hit http://update.excito.org upstream_etch Release
Ign http://update.excito.org marielle/main Packages/DiffIndex
Ign http://update.excito.org upstream_etch/main Packages/DiffIndex
Hit http://update.excito.org marielle/main Packages
Hit http://update.excito.org upstream_etch/main Packages
Fetched 2B in 0s (3B/s)
Failed to fetch http://ftp.se.debian.org/debian/dists/e ... ackages.gz 404 Not Found [IP: 130.239.18.173 80]
Reading package lists... Done
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_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.

Re: how do i unzip a file?

Posted: 24 May 2011, 08:15
by tywoniak
Solved.
The problem was the moved debian depository as already announced in other forum:
"Upgrade problems due to debian Etch repos moved"
After changing one line in /etc/apt/sources.list file, all is fine.
Sorry, recent 10 years I have not worked any more with unixes...and I have lost my unix instincts fully...
best regards
jiri