Page 2 of 4

Posted: Sat 21 Oct 2017, 00:56
by mistfire
@ally do the downloading and installation of packages works?

Posted: Sat 21 Oct 2017, 01:06
by ally
yes, apologies if I was not clear

I did a database rebuild

puppy-get install dillo, this corrected the missing dependencies, fully working

puppy-get install gweled, this corrected the missing dependencies and is also fully working

I tried puppy-get remove dillo and gweled but get the same 'not installed' error

I tried a new install (netsurf), this also correctly installed (but icon to network) but this also failed on remove with the 'not installed' error

hth

:)

Posted: Sat 21 Oct 2017, 03:48
by mistfire
Thanks for the comment @ally. It seems on adding package entry on install function has a problem. I will try to fix that. Few fixes to go we will have a fully working apt-get alternative.

Posted: Sat 21 Oct 2017, 03:52
by ally
its a powerful tool

thanks :)

Posted: Sat 21 Oct 2017, 05:05
by mistfire
New puppy-get version released

Changes:
* Failed to register installed package is fixed
* Fix menu action is now builtin on script

Posted: Sat 21 Oct 2017, 05:10
by mistfire
@ally you may now test this latest script

Posted: Sat 21 Oct 2017, 11:34
by ally
hey mistfire

seems to be working well

I rebooted a pristine xenialpup, ran puppyget update to build the database

pg install dillo

installed correctly

pg remove dillo almost completely removed dillo (? pixmaps from memory), like that it removed the dillo*.files entry in .packages

however it does not remove the dependency (libmikmod), when running pg remove libmikmod package not installed returned, had to remove manually using contents of libmikmod*.files entry

ran pg install mah-jong (no dependencies), installed correctly and was able to completely remove all components except for mah-jong folder


this is excellent - nice work

would like to see the removal of the .deb files also, perhaps a 'would you like to remove .deb', over time this could end up quite a large file base and better dependency removal although I accept this could be tricky

:)

Posted: Sat 21 Oct 2017, 12:12
by mistfire
@ally the removal of deb files downloaded by puppy-get depends on your choice whether to delete it or not. But I will consider your suggestion.

Posted: Sat 21 Oct 2017, 13:40
by mistfire
@ally I test the libmikmod on puppy-get it works fine, it install and uninstall. I think you are entering a wrong package name thats why it returned not installed the correct package name for libmikmod in gweled dependencies was libmikmod3 not libmikmod

Posted: Sat 21 Oct 2017, 13:40
by ally
I'll try again, give me a few mins...

:)

Posted: Sat 21 Oct 2017, 13:50
by bigpup
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.
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.

Posted: Sat 21 Oct 2017, 13:55
by ally
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!

:)

Posted: Sat 21 Oct 2017, 14:02
by mistfire
@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

Posted: Sat 21 Oct 2017, 14:04
by mistfire
@bigpup, dont worry I packaged it to pet packages once the script works flawlessly

Posted: Sat 21 Oct 2017, 14:22
by ally
@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 :)

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

:)

Posted: Mon 30 Oct 2017, 01:33
by mistfire
@ally I considered your suggestion about grouping of packages. Its now work in progress I will release the latest script pretty soon

Posted: Mon 30 Oct 2017, 01:34
by ally
great stuff

:)

Posted: Mon 30 Oct 2017, 04:29
by mistfire
New puppy-get version released

Changes:

* Package grouping if the user wants to keep the packages

*Improve verbose

Posted: Mon 30 Oct 2017, 04:30
by mistfire
@ally can you please test this script?

Posted: Tue 07 Nov 2017, 02:43
by musher0
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: Select all

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:
./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.