You are not logged in.
quando eu tento converter da um erro no "petspecs".
Slitaz 5 rc4
Offline
Hi xaropebr,
Please, post the exact error here. And, if you can please post link to download the original .pet package you're working with.
Some docs you can find here:
file:///usr/share/doc/tazpkg/tazpkg.pt.html#convert
[c]su
tazpkg convert your_package_name.pet[/c]
Offline
in terminal
-----------------------------------------------------------------------------------------------------
tux@slitaz:~/Downloads$ su
root@slitaz:/home/tux/Downloads# tazpkg convert dillo_lucid52-0.pet
/usr/libexec/tazpkg/convert: .: line 633: can't open 'dillo_lucid*/*.specs'
-----------------------------------------------------------------------------------------------------
link of the pakage:
http://distro.ibiblio.org/puppylinux/pet_packages-5/dillo_lucid52-0.pet
Offline
Oh, it's my bug, sorry. I'll fix it later today.
You can fix it right now, not wait me: open /usr/libexec/tazpkg/convert in your text editor as root user, scroll down to line 633 and remove quotes in this line.
Before: [c]. "$package"*/*.specs[/c]
After: [c]. $package*/*.specs[/c]
________
PS. It's not the only problem here with quotes and '*'.
You can download tazpkg-891 that solves these problems from here (link "download" at the top of page):
http://cook.slitaz.org/cooker.cgi?pkg=tazpkg
Offline
Ty i go test here 
Offline
@Aleksej: I don't see why [c]"$package"*/*.specs[/c] and similar would be a problem. I'd think the problem is when * is between "", because the shell won't expand it. But when it is outside it should be fine. Isn't it?
If so, only the first two changes in your patch are necessary.
I didn't check all the code: can't [c]$file[/c] contain spaces?
My small tests (with ash):
[c]/tmp> touch foobar
/tmp> test=foo
/tmp> ls $test*
foobar
/tmp> ls "$test"*
foobar
/tmp> ls "$test*"
ls: cannot access foo*: No such file or directory[/c]
Offline
same error
i update this pkgs
cpio-2.11.tazpkg
cookutils-788.tazpkg
tazpkg-891.tazpkg
i tried in sakura terminal:
root@slitaz:/run/media/tux/Arquivos/SliTaz_5_rc4# tazpkg -c dillo_lucid52-0.pet
/usr/libexec/tazpkg/convert: .: line 633: can't open 'dillo_lucid*/*.specs'
root@slitaz:/run/media/tux/Arquivos/SliTaz_5_rc4#
maybe the error is Tazpkg is not able to open the pet file?
I can not decompress pet files on slitaz by default
so i created the package "PeaZip" to slitaz for extract any compression formats...
[attachment=40828,2181]
Offline
Hi xaropebr,
Finally I have few hours to debug TazPkg. Please wait more, it should work today as expected.
Offline
@llev
Lucas, I just leave that commit. Sorry, I have no time to extra experiments. Change it if you want.
@xaropebr
Please update your TazPkg to 892 version. Download link you'll find in the old place:
http://cook.slitaz.org/cooker.cgi?pkg=tazpkg
It works for me with "dillo_lucid52-0.pet" and with several different ".pet" packages downloaded from http://distro.ibiblio.org/puppylinux/
Offline
Thank you very much
I need it to test pet packages before i do make a port for slitaz...
I will test today, Now I to playing Dota 2 on the pc of my brother with Win 7 :-/
Offline
OK 
I have a request for you. Can you later test "tazpkg convert" on the different ".pet" packages from different years and different Puppy versions? I need it to be sure that tazpkg working well.
By the way, happy gaming! 
Offline
Tested:
-----------------------------------------------------------------------------------------------
pet-packages-lucid/ Ayttm-0.6.2-Lucid.pet -> it worked
-----------------------------------------------------------------------------------------------
pet_packages-2/ axel-1.0a.pet -> not worked
root@slitaz:/home/tux/Downloads# tazpkg convert axel-1.0a.pet
/usr/libexec/tazpkg/convert: .: line 648: can't open 'axel*/*.specs'
-----------------------------------------------------------------------------------------------
pet_packages-3/ alicq-0.8.8.pet -> not worked
root@slitaz:/home/tux/Downloads# tazpkg convert alicq-0.8.8.pet
/usr/libexec/tazpkg/convert: .: line 648: can't open 'alicq*/*.specs'
-----------------------------------------------------------------------------------------------
pet_packages-4/ SDL_image-1.2.6-i386.pet -> it worked
-----------------------------------------------------------------------------------------------
pet_packages-5/ ayttm-20100427-q1.pet -> it worked
-----------------------------------------------------------------------------------------------
pet_packages-common/ acpid-1.0.10-w5.pet -> it worked
-----------------------------------------------------------------------------------------------
pet_packages-wary5/ SDL_image-1.2.6-w5.pet -> it worked
-----------------------------------------------------------------------------------------------
pet_packages-tahr/ axel-2.4.pet -> it worked
-----------------------------------------------------------------------------------------------
pet_packages-slacko/ SDL_mixer_DEV-1.2.11-i486.pet -> it worked
-----------------------------------------------------------------------------------------------
2 did not work so far, for a while i only tested these "Pet Packages" 
Offline
off topic '-'
these 2 last packages it's bug.
[attachment=40849,2182] [attachment=40849,2183]
i tried repack these packages but this error appears.
so happens with them.
Offline
Many thanks for testing!
I'll see why it not works. Probably tomorrow...
---
Repackaging error - this means that you have modified one of the installed files: every file in the package have it's own checksum, and tazpkg compares this sum with the actual sum before repack.
Repackaging is the method to get package back. In your case, IMHO, simpler just to download package from pkgs.slitaz.org or cook.slitaz.org.
Offline
I just committed the patch to the TazPkg.
pet_packages-2/ axel-1.0a.pet -> not worked
pet_packages-3/ alicq-0.8.8.pet -> not worked
Now tazpkg-896 supported that sort of .pet packages too.
Offline
Thank you very much
again.
Offline
[ Generated in 0.017 seconds, 8 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]