![]() ![]() |
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.
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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 |
|
|
|
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.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 04:51 PM |