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 Sat 18 Nov 2017, 17:48
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
puppy-get 1.5 beta
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 4 [49 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
bigpup


Joined: 11 Oct 2009
Posts: 9503
Location: Charleston S.C. USA

PostPosted: Sat 21 Oct 2017, 09:50    Post subject:  

mistfire,

This is small enough you could post it as a pet package.
The forum will allow attachments up to 256KB in size.

A lot of people have trouble doing these simple things.
Quote:
Fake gz
Remove .gz extension
Rename as puppy-get
Set permission to 777 or +x

As a pet package it would just download, install, and work.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1582
Location: lincoln, uk

PostPosted: Sat 21 Oct 2017, 09:55    Post subject:  

hey mistfire

yes, you are correct, puppy-get remove libmikmod3 worked correctly

a thing I found difficult was grouping *.debs and their dependencies where I had installed more than one item

when running the install it shows the dependencies but I would have to make a note of what installed making it hard (for me) to find the correct files for the relevant .deb

could the install files be installed to a folder ie

gweled > gweled*.deb liblikmod3*.deb

just thinking out loud

apart from my own user difficulties this is bloody awesome!

Smile
Back to top
View user's profile Send private message Visit poster's website 
mistfire

Joined: 04 Nov 2008
Posts: 643
Location: PH

PostPosted: Sat 21 Oct 2017, 10:02    Post subject:  

@ally you can view the information of the packages that you install and its dependecies by typing

puppy-get info <package name>

example:

puppy-get info gweled

instead of writing it on paper, save it on file using this command

puppy-get info gweled > /root/gweled-info.txt

Last edited by mistfire on Sat 21 Oct 2017, 10:12; edited 1 time in total
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 643
Location: PH

PostPosted: Sat 21 Oct 2017, 10:04    Post subject:  

@bigpup, dont worry I packaged it to pet packages once the script works flawlessly
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1582
Location: lincoln, uk

PostPosted: Sat 21 Oct 2017, 10:22    Post subject:  

@bigpup

I rightclick>properties and check all the exec boxes rather than the chmod

@mistfire

cool, thanks

I just installed kodi using the script and then removed it and it's 22 (!) dependencies using the .deb files as guides, that is why I thought of grouping them in a folder but your info works too Smile

I had a little trouble deciphering the correct file name, ie

mime-support or mime-support3 from mime-support3.5.6-2 (I made that up but you get the idea)

again, not huge but could get frustrating for us simpletons

nice script to have in the arsenal though

Smile
Back to top
View user's profile Send private message Visit poster's website 
mistfire

Joined: 04 Nov 2008
Posts: 643
Location: PH

PostPosted: Sun 29 Oct 2017, 21:33    Post subject:  

@ally I considered your suggestion about grouping of packages. Its now work in progress I will release the latest script pretty soon
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1582
Location: lincoln, uk

PostPosted: Sun 29 Oct 2017, 21:34    Post subject:  

great stuff

Smile
Back to top
View user's profile Send private message Visit poster's website 
mistfire

Joined: 04 Nov 2008
Posts: 643
Location: PH

PostPosted: Mon 30 Oct 2017, 00:29    Post subject:  

New puppy-get version released

Changes:

* Package grouping if the user wants to keep the packages

*Improve verbose
puppy-get_1.3-beta.gz
Description  fake gz. remove .gz extension
rename as puppy-get
set permission to 777 or +x
gz

 Download 
Filename  puppy-get_1.3-beta.gz 
Filesize  79.39 KB 
Downloaded  21 Time(s) 
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 643
Location: PH

PostPosted: Mon 30 Oct 2017, 00:30    Post subject:  

@ally can you please test this script?
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 11149
Location: Gatineau (Qc), Canada

PostPosted: Mon 06 Nov 2017, 22:43    Post subject:  

Hello mistfire.

Thank you for making your puppy-get script available to Puppyists.

I can't say I've put it through its paces -- there are lots more features in it that
I need to explore, and probably you have not finished developing it --, but even
as it is, already I find it quite a relief to have a working script for supplying
apps to localised Pups.

This is not the place to complain of course, but as I have mentioned before a
few times on this board, my PPM's have a tendency to work for a while only.

Whether that bug is linked to something in the localisation or if the PPM stops
working after having installed a certain number of packages, I am not able to
ascertain. (For the disbelievers: I do update the PPM DBs regularly.)

That is why your script brings relief to my situation.

~~~~~~~~~~~

So far I have tried your versions 1.1 and 1.3, but not all functions, as
mentioned.

Yes the master DBase takes a long time to build, but we can do something else
while it is building.

I use the following line to locate an app or library in the master DB:
Code:
awk -F"|" '$2 ~ /mikmod/' ~/.packages/pkg-master-db | more
"mikmod" being an example. (If this one-liner can help someone.)

I have tried the download, install and remove functions.

The first two work well.

The third does not seem to respond, in that both versions issue the message:
Quote:
./puppy-get-1.x remove calcoo
bash: ./puppy-get-1.x: No such file or directory
while that program was installed by puppy-get a few minutes earlier.

With your script I was able to download the large cytadela game package (no
install), and to install the small gentoo calculator, the gweled game and its
libmikmod3 library.

I know this post is not much of a report, but I hope that it still helps to advance
the discussion.

Good continuation. BFN.

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 643
Location: PH

PostPosted: Wed 08 Nov 2017, 02:40    Post subject:  

@thanks musher0 the script was almost 95-99% complete. Did you test the latest one about package removal using remove command in puppy-get? The master package database must be complete for best results otherwise you will might missed some dependencies or you can load a PPM database and use it if you dont want to build a master package database file
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 643
Location: PH

PostPosted: Thu 09 Nov 2017, 20:33    Post subject:  

puppy get 1.4 beta released

changes
* Improvements on package registration
* Improvements on menu generation
puppy-get_1.4-beta.gz
Description  fake gz
remove gz extension
rename as puppy-get
set permission to 777 or +x
gz

 Download 
Filename  puppy-get_1.4-beta.gz 
Filesize  81.28 KB 
Downloaded  13 Time(s) 
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 643
Location: PH

PostPosted: Thu 09 Nov 2017, 21:38    Post subject:  

@musher0 if you want to search package in the master database. use info command for example

puppy-get info mikmod3

by the way can you test this latest script?
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 11149
Location: Gatineau (Qc), Canada

PostPosted: Fri 10 Nov 2017, 03:31    Post subject:  

mistfire wrote:
@musher0 if you want to search package in the master database. use info command for example

puppy-get info mikmod3

by the way can you test this latest script?

Hello mistfire.

Will do. I was a slowpoke today! Wink

Why I suggested a awk one-liner above is because sometimes the user does not know
the full or exact name of the utility of library. For example,
Code:
awk '$2 ~ /^someth*g/ ' database
allows the user a bit of slack. Plus awk responds to regex codes, of course. It can be
done with grep, but awk is more precise.

BFN.

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 11149
Location: Gatineau (Qc), Canada

PostPosted: Fri 10 Nov 2017, 03:38    Post subject:  

mistfire wrote:
puppy get 1.4 beta released

changes
* Improvements on package registration
* Improvements on menu generation

Hi, mistfire.

Package registration? Menu generation? You're talking about a good hotel with a great
restaurant, eh? Laughing (Just teasing!)

Sorry, I'm not getting it. I'll test, but I'll have to reread some of the thread, I suppose.

BFN.

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 4 [49 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0954s ][ Queries: 15 (0.0103s) ][ GZIP on ]