deb2pet & rpm2pet

Miscellaneous tools
Message
Author
User avatar
Runemaster
Posts: 180
Joined: Sat 05 Aug 2006, 04:41
Location: Albany, GA U.S.

help meh plz!

#41 Post by Runemaster »

I have no idea what im doing wrong (im pretty sure it's me doing something wrong.

ok installed deb2pet and rpm2pet and if i was supposed to put it in a specific folder then i guess i didnt see it because I read all the posts

So i download a .deb or .rpm file and i right click on it and click on turn into pet or whatever it is and it creates a tar files out of the deb or rpm file and makes a blank word document called whatever the file was and adds the .pet extension to it and nothing will do anything.

if this is what it is supposed to do then i got lost in translation and it doesent do what i thought it would do.

any help is greatly appreciated. :)
Adventurer: I seek knowledge and strength.

Seer:Knowledge comes from experience.....Strength comes from battleaxes.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#42 Post by dejan555 »

DMcCunney wrote: Why do you have a directory with spaces in the filename?
I normally don't, only wanted to be sure that if someone did have it, he/she doesn't have errors when trying to convert. Me personally don't use folders with spaces.

@Runemaster
Don't know what you're exactly saying, script is supposed to repack deb or rpm package to pet, so any contents that where in deb are now in converted pet, if this doesn't work I'll have to test this again, maybe I damaged something in script when changing that basename command, if anyone else had this problem please post it here. Runemaster, you can also try installing some other version that is attached and see if works, but I tested this last one, and it worked? Also, did you install unrpm, undeb pet, I think older puppy versions didn't have undeb?
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#43 Post by droope »

We should figure a way of making it look for libraries. Nowhere near impossible. ;) Nowhere near my possibilities tho :P

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#44 Post by dejan555 »

You mean like checking dependencies?
Petget does it while installing pet.
And for deb2pet and rpm2pet you only need to installunrpm.undeb.pet from MU's post from the first page
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#45 Post by dejan555 »

Converting multiple packages at once:

If you use rox right click version of the script, you can convert multiple packages this way. Put all debs in one folder, then open terminal in that folder and type:

Code: Select all

for i in *.deb; do deb2pet "$i"; done
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#46 Post by Master_wrong »

@Dejan

I have creted pet here : http://www.murga-linux.com/puppy/viewtopic.php?t=43131

please inform me if there any good proper way to put the lib files into usb/lib ? because in the package above it isn't installed automatically.


Thank you...

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

some components is missing

#47 Post by mistfire »

I noticed that when I'm converting rpm to pet. It fails because there is component missing or conflicted. When i'm converting deb to pet, the undeb script was not included in this package. It cant to convert deb to pet until you download it. Can you include all the needed scripts in order to run it properly. What I mean is to include some required scripts for this app. (example: undeb is required for conversion so it must included on this pet package)

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#48 Post by dejan555 »

mistifire, ability to install debs on click is added to all newer puppy versions, so deb2pet is not really needed unless you're running some older puppy. undeb and unrpm are also provided in separate pet (read the main post)
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#49 Post by mistfire »

OK, by the way what versions of puppy does the installation of debs and rpms supported? Is it recognizable in Puppy Package manager. What I mean is when you install a deb or rpm file. The list of installed rpm or deb file can be found at PPM? Or do we need another Package manager to handle that kind of package? Is it possible to install a device driver in deb or rpm form in Puppy? Thank you in advance

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#50 Post by dejan555 »

Yes, puppy versions 5.x, dpup/squeeze pup and I think even quirky, really any of newer pups handles installation of debs through PPM.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#51 Post by technosaurus »

mistfire wrote:Is it possible to install a device driver in deb or rpm form in Puppy? Thank you in advance
You may want to be careful not to mismatch your kernel version though. If a .deb for a kernel module is for kernel 2.6.27.X it may not work with a 2.6.3X.X puppy kernel and _may_ not even end up at the right place in /lib/modules unless there is a wrapper that I am unaware of.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
morgonzola
Posts: 161
Joined: Thu 22 Apr 2010, 03:14
Location: Los Angeles, CA

#52 Post by morgonzola »

can you explain the difference between these scripts and alien2puppy?

is one better then the other?

also with alien2puppy you ha to put the dependencies in the same directory as the deb you wanted to convert and it would put them into one pet if i read correctly, does this one have to do that?

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#53 Post by dejan555 »

I've never used alien2puppy but no this one doesn't do that it converts single package
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

questions about device drivers

#54 Post by mistfire »

Technosaurus, im notice that compiling device drivers is compiling the kernel, Is there any way to compile a device driver without compiling a new kernel?

Dejan, does the PPM can upgrade and downgrade installed packages in PPM?

philsweeney
Posts: 1
Joined: Sun 21 Dec 2014, 17:23

Chrome

#55 Post by philsweeney »

Got the pet and works great! Thanks!

I get an error message cannot run chrome as root. I cannot get the code in the right place (after looking at a few Ubuntu posts). So I have been running "google-chrome --user-data-dir" in terminal, to run chrome.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#56 Post by mistfire »

Thanks to this idea. I modified the script in order to convert SliTaz Packages to PET packages.

http://murga-linux.com/puppy/viewtopic.php?t=97576

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#57 Post by slavvo67 »

I might be wrong but it seems this application does not make a proper pet.specs file in the pet package. This may not be an issue for the individual PPM but it certainly made a mess out of files that I was adding to WOOF.

Dejan, are you still around? It's been a long time.......

Best,

Slavvo67

Pelo

install debs on click

#58 Post by Pelo »

"mistifire, ability to install debs on click is added to all newer puppy versions, so deb2pet is not really needed unless you're running some older puppy. undeb and unrpm are also provided in separate pet (read the main post) "
Well , its not the same install a debian package and to get a pet of it, after having trimmed the fat.
Dejan you explained us in the past that it was not an easy task.. to make fit Debian package just what is needed by our light but speedy Puppies.
Why should the Puppy ISO be so thin if no trim is done when downloading applications ? We have to keep the Puppy philosophy, To keep Puppy a really serious challenger for light Lubuntus (they try to imitate Puppy, jealous of its efficiency)
Deb2pet pet downloaded 11000 times : isn'it a proof that it's useful ?
I am working (hard) on exile (jukebox) to get it working on newest Puppies. I had already many contents available in my tool case.. To get Python running at the good place in Puppy needs to change debian structure ! Because Puppy is not Debian (God bless it !)
Attachments
paquets.jpg
PPPM makes packages smaller
(18.38 KiB) Downloaded 432 times
audacious.png
Packages Debian missing
(19.73 KiB) Downloaded 437 times

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#59 Post by dejan555 »

I'm definitely still around, I follow what's happening sometimes or log in occasionally, but not that active in development anymore. :)
pet specs changed since then, not sure if it was correct even back then, the contents of the pet were more important to me.
11000 times? :shock: Wow. Proof that even small scripts with few lines of code can be usefull. Especially back then when less stuff was supported and automated.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

Pelo

Even it it was easy for you to make these tiny pets,

#60 Post by Pelo »

Newbies bless you, dejan555.
Even it it was easy for you to make these tiny pets, there are so useful.
People that tell us 'just click on deb package', should try, they shall have dissappointing results, sometimes, but sometimes is quite often.
In fact they suppose all is running well. That does not run better than woof Ce for our Puppy Builders students. .
XenialDog is not a Puppy, but is taking advantage just for easy downloading by newbies, if they are any.

Post Reply