PSI: Puppy Software Installer 07

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
jam
Posts: 248
Joined: Fri 14 Jul 2006, 14:17

Auto Dependency Checking

#16 Post by jam »

Mark/Nathan:

Ideally automatic dependency checking should be part of the installation. If the package installation fails dependency checks and the missing components required to resolve the dependency problem(s) cannot be found, then the package should not be allowed to be installed. If I told some non-techie "make sure to click the dependency checking button" during the installation, they (the non-techie users) would look at me with a blank stare and ask "what's 'dependency checking'"? :wink:
Jam

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#17 Post by Nathan F »

Mark -

You mentioned in your todo list wanting to have a small utility for installing Slackware packages. I think I could come up with something in a reasonable amount of time, since they just untar and then run their installation script. So maybe I'll try it sometime next week.

BTW, pkgtool in it's current state can uninstall anything registered with pupget, but this needs more testing and I haven't tried to put any kind of gui to it. So an external call to pupget might not really be needed. It should be documented in the README in subversion but if you have any questions or need something else fixed or better implemented let me know.

Nathan
Bring on the locusts ...

BHINTZ
Posts: 139
Joined: Wed 09 Aug 2006, 03:55

#18 Post by BHINTZ »

I have downloaded the installer, but do not know enough to be able to install it. I'm guessing this is some kind of taken for granted knowledge beyond running pupget. I am running 210. I had puppyoffice202 installed to the hard drive, but have botched that up by running 210 from a cd.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#19 Post by MU »

you simply download the 3 mentioned fies, then click on the home-icon on your desktop to open Rox-filer.
In Rox, navigate to the folder with your downloads, and click on them.
This installs them.
Then restart JWM, and you have a new entry "Puppy-Software-Installer" in the (new) "Dotpups"-menu.


-------------------
Nathan, that would be great (slackware).
Concerning pkgtool, ok, must search again how to use svn.

Mark

BHINTZ
Posts: 139
Joined: Wed 09 Aug 2006, 03:55

#20 Post by BHINTZ »

Thanks, it works like a charm. I also have found my puppyoffice edition and won't be messing with 210 for a while yet.

Bob

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#21 Post by MU »

Version beta 03

Please uninstall older versions first.

This one requires an upgrade of PuppyBasic, it will do it automatically at first start.

Changes:
- inbuilt dependency-checker
- more accurate search
- better sorting of the packages

Mark

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#22 Post by plinej »

I get this error when I try to run:

----------------------------------------------------------------------------------------------------
[Syntax error]
Expected an expression
in file "MU-Toolboxstart", line 91:
categories = natsort( categories )
^

*** glibc detected *** double free or corruption (!prev): 0x080b4350 ***
./Puppy-Software-Installer: line 47: 28365 Aborted ./MU-Toolboxstart "$thename-list###$1"

----------------------------------------------------------------------------------------------------

If I change that line 91 in MU-Toolboxstart from natsort to bubblesort (from the previous version) it seems to run fine.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#23 Post by MU »

Did you install maybe one of my first versions of Puppybasic 2.5?
The first version did not include natsort.
In this case, please install again the latest version as alien package in PupGet:
http://noforum.de/files/wxbasic/PuppyBa ... 2.5.tar.gz

Please also type:
puppybasic -v
and post the result here.
Mark

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#24 Post by plinej »

puppybasic 2.5

I installed it when you posted it in the forums this past weekend.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#25 Post by plinej »

I re-installed puppybasic 2.5 and all works now. Thanks Mark.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#26 Post by MU »

yes, I had added some new things. I did not change the versionnumber, as only the basefunctions were updated, not the interpreter.
Will do that in future.

I uploaded the PSI again, only a minor change (removed a wrong errormessage after upgrading puppybasic to 2.5).
Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#27 Post by MU »

uploaded V 03b.
I fixed a bug, the old one threw a wrong error-message after installing a package instead of checking the dependencies :?

Sorry :oops:
Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#28 Post by MU »

uploaded V04

- fixed bug: mirrorlist was not updated
- added experimental support for PupGet Packes from the "official" server ibiblio.org.

To activate these Packages:

1.) click on the button "mirrors".
2.) Now leafpad opens with the mirror-list.
Add these 2 lines:

Code: Select all

http://dotpups.de/dotpups/pupget_packages-1-dotpups.txt
http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pupget_packages-1/dotpups.txt
the last line must stay empty

3.) Restart PSI, and confirm to download the lists again.
4.) Select "000 no category", click on "open"

This is a little bit slow, I hope I can optimize the speed somehow.

Here is a instruction, on how I created the list for my Server.
We will need a automatic solution for this.
Copied the filelist here to leafpad, and saved it as "unleashed.txt".
http://distro.ibiblio.org/pub/linux/dis ... ackages-1/
Then ran in the same folder this script:

Code: Select all

#!/bin/bash

cat unleashed.txt | sed -e "s#^.*\] #'http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pupget_packages-1/#" -e "s/gz .*:..[^0-9]*/gz' (/" -e "s/[^A-Z]*$/)/"  >tmp.txt

rm -f pupget_packages-1-dotpups.txt
touch pupget_packages-1-dotpups.txt

cat tmp.txt |while read a;do

b=`echo $a| sed -e "s#^.*/##" -e "s/\.tar\.gz.*//"`
c=`echo $a | sed "s#' .*#' #"`
d=`echo $a | sed "s#^.* (# (#"`

echo $c \"$b\" $d \\ >>pupget_packages-1-dotpups.txt

done  
Uploaded it on my server.

Mark

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#29 Post by Nathan F »

Mark -

At long last I have some time I can look this over. I see one or two things that could potentially be improved with installation of unleashed packages, but I must review my own work before I post on that. Basically there can be a call placed to pkgtool before the installation that will check for missing deps and write any that it finds out to a temporary file. I will provide some more specifics as soon as I find the time, right now is very busy.

Nathan
Bring on the locusts ...

User avatar
jam
Posts: 248
Joined: Fri 14 Jul 2006, 14:17

Dependency Checks

#30 Post by jam »

Mark,

Ran across these dependency problems when attempting to install Gnumeric-1.6.3. Tried installing some GTK libraries, but it did not resolve the issue. Not sure if you want these depency issues reported here or in another thread, or if you want them reported at all, but here it is:
Dependency-check for: Gnumeric-1.6.3-Gtk-2.8.20
These libraries miss, the application might not work without them:

libgoffice-1.so.2
libgsf-1.so.114

--------------------------------
Note:

some programs report that these libraries miss, but will work without them:

libbonobo-2.so.0
libbonobo-activation.so.4
libgconf-2.so.4
libgnomevfs-2.so.0
libjawt.so
libpanel.so.5

If you get reports about other missing libraries, search them in PSI.
Tip: search for "lib" to see most of them.

If you cannot find one, please ask in the forum.
Jam

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#31 Post by MU »

Nathan, sounds great, I'm very curious :)
----------------
Jam, these libs are in Libraries/Gtk-2.8.20/Goffice-0.21-Gsf-1.14.1-Gnomeprint-1.12.1.pup

The dependency-check currently only resolves, what libraries miss, but not, which package includes them.
For that, I would need a "database" (which will be a simple textfile).

I made an extra-topic for this matter:
http://www.murga.org/~puppy/viewtopic.php?t=11150

This is somewhat complicated to build into a final grafical interface, it will take some days until I can present a first testversion.

Thanks Jam, Mark

User avatar
jam
Posts: 248
Joined: Fri 14 Jul 2006, 14:17

Database

#32 Post by jam »

Mark,

Thanks for the info! It will take some time for you to build that "database", but the time spent will be well worth it.
Jam

ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#33 Post by ARAN »

Hallo Mark !

The Puppy Software Installer Beta 04 Install without any problems with only one Click in Puppy Linux 1.8r1.
You have done really a good Job.
I have just installed Opera 9.01 with the Puppy Software Installer and the hole process has needed only one click and about 30 Seconds to download the Package and to Install it. Compliments for your hard work. Installation of DotPup packages works great at the moment.

The only thing what dont want to work at the Moment is the Installation of Debian and Ubuntu Packages.
It looks like the Puppy Software Installer dont have any routines included at the moment in the Sourcecode to handle debian or ubuntu packages.

I have yesterday downloaded the "GNU privacy guard 1.9.15" Debian Package
http://packages.debian.org/stable/utils/gnupg2
and tryed to install it with the PSI.
For some reason the package fail to be installed by using the PSI.

The other debian Package called "ONEKO" can also not be installed by using PSI on my PuppyLinux 1.08r1.

Nevermore
Posts: 366
Joined: Sat 26 Nov 2005, 14:23
Location: Italy

#34 Post by Nevermore »

i was wondering this:
if i have a tipe 1 install on hdd, and i install psi on puppy 2.10..
when psi will be embedded in puppy 2.11 what will happen?
i will be needed to uninstall psi from pup001 or what?
i don't think a duplicate copy is a good idea since the space is precious :D
--
/sbin/Nevermore

User avatar
Béèm
Posts: 513
Joined: Sun 16 Apr 2006, 16:18
Location: Brussels

#35 Post by Béèm »

The Puppy Software Installer surely looks nice, but doesn't work in my setup.
In order not to use the pup_save file (it's already 1.3GB) I made symlinks in /root for my-dotget and dotpups-downloads to point to a directory on a removable USB device.
This works for the dotpup and dotget installers, but not for the PSI.
Is there a way to make PSI work with this setup?
Puppy Linux 2.02 SMkey, KDE354mini, wine0.9.20, devx-qt-renamed.
Puppy Linux 2.10r1 SMkey, JWM, devx_qt_renamed_210, KDE355mini

Post Reply