LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Closed Thread
 
Search this Thread
Old 08-08-2012, 03:31 PM   #1
elenappli
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
gzip -d error: unknown suffix -- ignored


Hi, I am trying to install OpenOCD

I downloaded(using wget) the last version here:
http://sourceforge.net/projects/openocd/files/openocd/

it saved it as download?source=files

Now I am having trouble unzipping this file.
gzip -d download\?source\=files
gives this error
gzip: download?source=files: unknown suffix == ignored

gunzip gives the same error.
I also check the file type, with the file command
it says:
download?source=files: gzip compressed data, from Unix

Does anyone know what I am doing wrong? Thanks in advance.
 
Old 08-08-2012, 03:43 PM   #2
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
Why did it save it as download?source=file? Why didn't it save it as the actual b-zipped tar file? Maybe try to redownload the file? Also, wht distro are you using? There could be a package for it. If on Ubuntu, you just do:

Code:
sudo apt-get install openocd
Alex Brinister
 
Old 08-08-2012, 03:49 PM   #3
elenappli
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi Alex,
I don't know why it saved it with that name but I have tried re-downloading it three times and it always saves it like that.
I am using wget, is there a way to specify the target name you want?

I am using Ubuntu but I am not a root user, so I can't use the command you suggested.(This is my work's linux and since I am still new I can't get admin privileges)
 
Old 08-08-2012, 03:58 PM   #4
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
Well, when I run :

Code:
wget downloads.sourceforge.net/project/openocd/openocd/0.6.0-rc1/openocd-0.6.0-rc1.tar.bz2
It give me that b-zipped tar file. Also, re: your gunzip problem. There is no -d option in gunzip. Additionally, you should be using tar for this since this is a tar.bz2. What you could try is this:

Code:
wget downloads.sourceforge.net/project/openocd/openocd/0.6.0-rc1/openocd-0.6.0-rc1.tar.bz2; tar -xvfj ./openocd-0.6.0-rc1.tar.bz2
Alex Brinister
 
1 members found this post helpful.
Old 08-08-2012, 07:36 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Quote:
This is my work's linux and since I am still new I can't get admin privileges
In that case, ask your admins
 
Old 08-08-2012, 07:52 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
I'm w/ Chris on this one ... closing this for now as we don't want to
be aiding you in potentially breaking your workplace's policy ....
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: Cannot determine executable suffix manoj7410 Linux - Distributions 0 06-30-2012 03:19 AM
gunzip unknown suffix -- ignored schneidz Linux - Software 8 04-20-2012 07:25 AM
Error: Incorrect register `%rcx' used with `l' suffix. jimmy123 Programming 2 01-19-2012 11:34 PM
Error: suffix or operands invalid for `push' in 64 machine arya Linux - General 1 04-19-2007 10:32 AM
apt-get update error: "gzip: stdin: not in gzip format" haertig Debian 0 08-02-2006 05:21 PM


All times are GMT -5. The time now is 11:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration