OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Awk Tar File Is Actually An Ipk
qx773
post Jan 1 2006, 04:19 PM
Post #1





Group: Members
Posts: 219
Joined: 10-February 04
Member No.: 1,807



I just downloaded awk from the ELSI library with Internet Explorer, and the file that I got was a *.tar file. I tried to view the tar file, but it looked like a binary file, so I changed the file extension to *.tar.gz and attempted to gunzip it, and it worked. gunzip extracted a debian-binary and control*.gz and some other *.gz file, which made the original file seem like an *.ipk. I then started from the beginning and renamed the extension to *.ipk. I installed the *.ipk, and my C760, running the Sharp ROM, indicated that some files could not be installed, but awk seems to run fine.
Go to the top of the page
 
+Quote Post
Da_Blitz
post Jan 1 2006, 06:36 PM
Post #2





Group: Members
Posts: 1,565
Joined: 7-April 05
From: Sydney, Australia
Member No.: 6,806



yep thats all a dpkg or ipkg is, thogh i thoght they were just using .tar/.ar to prevent compressing files twice
Go to the top of the page
 
+Quote Post
qx773
post Jan 2 2006, 06:25 AM
Post #3





Group: Members
Posts: 219
Joined: 10-February 04
Member No.: 1,807



tar files by themselves are not compressed, which is why you often see them with an additional extension of tar.gz after they have been compressed with gzip. It is just going to confuse people when they download a tar file and cannot extract files from it.
Go to the top of the page
 
+Quote Post
Da_Blitz
post Jan 3 2006, 12:57 AM
Post #4





Group: Members
Posts: 1,565
Joined: 7-April 05
From: Sydney, Australia
Member No.: 6,806



might want to reread my post, i said .tar/.ar to prevent compresion twice, OTHERWISE it would be .tar.gz/.ar.gz because the packages in the arcive (eg control) are already compresed and the infomation file would not benifit that much from compresion, it also speeds up retriving file info as you dont have to decompress to get its depedencies
Go to the top of the page
 
+Quote Post
lardman
post Jan 3 2006, 09:34 AM
Post #5





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



QUOTE
thogh i thoght they were just using .tar/.ar to prevent compressing files twice


.tar.gz wrapper for all of the old ipkg versions, ar wrapper for the new ipkg versions (can also read tar.gz).

http://www.handhelds.org/moin/moin.cgi/Ipkg

Si
Go to the top of the page
 
+Quote Post
qx773
post Jan 3 2006, 07:10 PM
Post #6





Group: Members
Posts: 219
Joined: 10-February 04
Member No.: 1,807



The bottom line is: if an *.ipk file is named *.tar, then it will confuse people who attempt to extract files from the *.tar file, so it makes no sense to name an *.ipk file as a *.tar file. Perhaps Internet Explorer is detecting the type of file based on the first few bytes of the file and then renaming the file incorrectly.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th September 2014 - 03:58 PM