LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2005, 08:20 PM   #1
$ave
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
Thumbs down Libevent Corrupt Archives?


Downloaded several versions of libevent from both monkey.org and sourceforge, and when I try to open the archive, using either ark or gunzip, an error is returned stating that "an error occured while trying to open the archive" or that "the file doesn't exist," even thought it does take up the right amount of kb on the disk, also all other tar.gz files open normally.
TIA for any suggestions.
 
Old 08-13-2005, 04:01 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It may sound crazy, but check teh archive permissions. Or maybe better, list its details using ls. Let's say it's in /home/name/download. Then to list the archive run a terminal (konsole, terminal, rxvt or similar program) and type
cd /home/name/download; ls -l
Do you see your file on the list? What do you have in its' first column? Something like -rw-r--r-- ?
 
Old 08-13-2005, 07:54 PM   #3
$ave
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thumbs up Cool

Hey thank you for showing me how to do that. Here's the permissions of the archive: -rw-r--r--. So now what? Looks like I don't have full permissions...
 
Old 08-14-2005, 05:21 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Such permissions mean that owner (3rd column on ls -l) can read and write the file and all others can only read. It means for sure that you have permission to open it. The question is now why it fails. Let's try to unpack it manually. It's something like
cd /home/name/download; tar zxvf filename.tar.gz
It should unpack. If not, there may be something with directory permissions (you need to have write permissions for directory to write inside, but I think it's not the case because the file is here).
 
Old 08-14-2005, 06:50 PM   #5
$ave
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Smile Thank You Mara!

I just tried that and it worked. Thank you for responding so quickly and thanks for teaching me something new!

Last edited by $ave; 08-14-2005 at 06:53 PM.
 
Old 10-19-2005, 05:04 PM   #6
atlaika
Member
 
Registered: Oct 2005
Posts: 45

Rep: Reputation: 15
Thank you just what I was looking for as well ;-)
 
  


Reply



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
Ace archives Jeebizz Slackware 3 08-14-2005 03:42 AM
getting libevent working alphisb0t Linux - Software 1 05-06-2005 08:21 PM
Where are the powerswitch archives? yeri63 Linux - General 2 07-08-2003 09:03 AM
Upacking archives Stephanie Linux - General 2 05-23-2003 04:03 PM
archives nautilus_1987 Slackware 4 09-02-2002 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration