puppy-get 2.0 beta

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#16 Post by ally »


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

#17 Post by mistfire »

Wow! your master package database was huge! at least it will gave me a clue to fix that error on that script

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

#18 Post by mistfire »

@ally I find now the culprit. the dependency names in the master database must not include version numbers. I will try to correct that.

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

#19 Post by mistfire »

puppy-get 1.1 beta released

changes:

* bugfix on dependency sniffing for debian-based puppy package database
* some overhaul on package installation
* with summary report on install command after executed

@ally I finally now fixed the error the dependency sniffing now works on puppy xenial. I finally make some revisions on package install function
Attachments
puppy-get-1.1-beta.gz
fake gz. remove .gz extension
set permission to 777
rename as puppy-get
(76.27 KiB) Downloaded 352 times

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#20 Post by ally »

hi

1.1 fixes the install, dependencies corrected for my two installs, gweled and dillo

remove still failing with package not installed

I re-ran the database update prior to new installs of the above

:)

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

#21 Post by mistfire »

@ally do the downloading and installation of packages works?

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#22 Post 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

:)

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

#23 Post 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.

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#24 Post by ally »

its a powerful tool

thanks :)

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

#25 Post by mistfire »

New puppy-get version released

Changes:
* Failed to register installed package is fixed
* Fix menu action is now builtin on script
Attachments
puppy-get_1.2-beta.gz
Fake gz
Remove .gz extension
Rename as puppy-get
Set permission to 777 or +x
(78.83 KiB) Downloaded 372 times

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

#26 Post by mistfire »

@ally you may now test this latest script

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#27 Post 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

:)

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

#28 Post 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.

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

#29 Post 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

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#30 Post by ally »

I'll try again, give me a few mins...

:)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#31 Post 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.
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 :shock:
YaPI(any iso installer)

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#32 Post 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!

:)

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

#33 Post 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
Last edited by mistfire on Sat 21 Oct 2017, 14:12, edited 1 time in total.

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

#34 Post by mistfire »

@bigpup, dont worry I packaged it to pet packages once the script works flawlessly

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#35 Post 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

:)

Post Reply