Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 13 Dec 2019, 02:43
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How do I unzip a .gz file in Puppy 2.11?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
PaulBx1

Joined: 16 Jun 2006
Posts: 2307
Location: Wyoming, USA

PostPosted: Tue 31 Oct 2006, 21:22    Post subject:  How do I unzip a .gz file in Puppy 2.11?  

Here's a basic question. How do I unzip a .gz file?

In 2.11 XArchive supports .tar.gz files, but not .gz by itself. Also I notice the list showing what it supports, the first 3 items in the list of supported filetypes say **Needed program not found, ignored**. Is that normal?

Anyway, when I try to use it on a .gz file, it refuses.

I tried a search of the forum but didn't find much to help.
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 01 Nov 2006, 00:32    Post subject:  

i think xarchive in Puppy 211 handles .gz files properly

you may have upgraded from 210 and it didn't upgrade the xarchive executable

if you boot from the cd or have a frugal install, you can delete the old pupzip file in /initrd/pup_rw/usr/local/bin, then reboot

if you have a "normal" install, you would have to boot the Puppy cd and copy the new pupzip file from the cd, or mount the pup_211.sfs file and copy it from there

anyway, to gunzip a file, just type:

gunzip /root/afile.gz

or whatever the file is called
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2307
Location: Wyoming, USA

PostPosted: Wed 01 Nov 2006, 11:24    Post subject:  

Quote:
you can delete the old pupzip file in /initrd/pup_rw/usr/local/bin, then reboot


I assume you mean gpg-zip? I deleted it (after copying to /root - paranoid!) and rebooted from CD. I didn't get a new copy of it in that directory, strangely. XArchive still works as before, it comes up but does not unzip. In fact when you tell it to "open" and have it set to look at "only supported" filetypes, it shows the .tar.gz files but not the .gz files.

I tried to gunzip my initrd.gz file, and it worked and left a file called initrd. That's what I was doing, trying to see what was inside the initrd. But I can't see it; is it a filesystem or something? I vaguely recall a thread around here showing how to do that, maybe I'll dig around some more.

Still, I'm concerned that my XArchiver is broken. I wonder how that could happen? If I inadvertently deleted a file a while back (how?), does unionfs not let the 2.11 version of the file back in, off the CD, during an upgrade?

Last edited by PaulBx1 on Wed 01 Nov 2006, 11:47; edited 1 time in total
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9099
Location: Perth, Western Australia

PostPosted: Wed 01 Nov 2006, 11:37    Post subject:  

GuestToo provided the fix awhile back.
From Rox, drag the .gz file onto the "PupZip" desktop icon and it will open
...well it did when I implemented the fix.

Yeah, works if you left-click on the .gz file also.

...so, no problem at all
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 01 Nov 2006, 11:56    Post subject:  

no, i do not have a file called gpg-zip anywhere on my system

if you are running with a .sfs file and a Puppy save file, there should be a file /initrd/pup_ro2/usr/local/bin/pupzip ... this is the program that starts xarchive

if you have a program called /initrd/pup_rw/usr/local/bin/pupzip, it has replaced the pupzip program that comes with Puppy 211 ... if you delete this file and immediately reboot (unionfs does not like you deleting files behind it's back, and will stop working until you remount things), you should have to pupzip file that comes with Puppy

or if you prefer, you can just copy the pupzip file from pup_ro2 to /usr/local/bin ... this is a lot easier, but the pupzip file will be in your save file (like it is now anyway, it's just that it will be the correct pupzip file)

i think pizzasgood wrote a program to automatically unzip, mount, unmount, and zip the initrd.gz file

you can mount the intitrd file (read-only) something like this:

mount -o loop initrd /mnt/data

you can see the files in /mnt/data
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2307
Location: Wyoming, USA

PostPosted: Wed 01 Nov 2006, 11:58    Post subject:  

Yeah Barry, that works. Strange that it can't handle it through the normal XArchive interface though - to me that's a bug. I will try to remember...

GuestToo, I had no pupzip in that pup_rw subdirectory, only in the pup_ro2 one. I put that gpg-zip thing back.

Are you saying XArchive does handle .gz files for you through the normal interface?

Last edited by PaulBx1 on Wed 01 Nov 2006, 12:05; edited 1 time in total
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 01 Nov 2006, 12:05    Post subject:  

xarchive does not handle .gz files

pupzip handles .gz files, and runs xarchive for tar.gz files

if you have set the Run Action for compressed files to xarchive, you shouldn't have ... compressed files should open with pupzip, not xarchive

if pupzip does not work with .gz files, you probably have an older version of pupzip, and should copy the newer version (i gave you instructions how to do that)

pupzip does not handle .bz2 files ... it probably should
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2307
Location: Wyoming, USA

PostPosted: Wed 01 Nov 2006, 12:09    Post subject:  

Well that explains everything. I assumed XArchive would unzip files for me. Embarassed

I found pizzasgood's initrd.gz editor, very cool:

http://www.murga.org/~puppy/viewtopic.php?t=12089&highlight=edit+initrd
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0371s ][ Queries: 11 (0.0050s) ][ GZIP on ]