PSI: Puppy Software Installer 07

Stuff that has yet to be sorted into a category.
Message
Author
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

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

#36 Post by MU »

Beem, I can use such a setup, /mnt/sda6 is a USB-harddisk on my computer.
I currently have no idea, why it won't work for you :roll:
-----------------------

Nevermore the PSI is very small, but you can uninstall it first, of course.

----------------------
ARAN, PSI should instll the new Debianinstaller.
Did it do it for you?
Do you have the folder
/usr/local/PB-Debian-installer ?
Mark

User avatar
debernardis
Posts: 180
Joined: Sat 12 Nov 2005, 08:01
Contact:

#37 Post by debernardis »

For some strange reason, when I try to open a category, the "Packages" window flashes and immediately disappears. I don't know if this is due to some pecularity of my setup; I only know that PSI worked at an earlier stage (beta 1), and now it doesn't :cry:

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

#38 Post by Béèm »

I started from a rxvt and these are the messages.
First time is without download, second with download.

Code: Select all

sh-3.00# Puppy-Software-Installer

Gdk-WARNING **: locale not supported by C library
stat: cannot stat `dotpups.txt': No such file or directory
./updatepackagelist: line 45: [: =: unary operator expected
cp: cannot stat `dotpups.txt': No such file or directory

(Puppy-Software-Installer-list:22048): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
sh-3.00# Puppy-Software-Installer

Gdk-WARNING **: locale not supported by C library
mv: cannot stat `dotpups.txt': No such file or directory
ls: *dotpups.txt.*: No such file or directory
stat: cannot stat `dotpups.txt': No such file or directory
./updatepackagelist: line 45: [: =: unary operator expected
cp: cannot stat `dotpups.txt': No such file or directory

(Puppy-Software-Installer-list:22150): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
sh-3.00# 
Maybe that gives a hint.
Puppy Linux 2.02 SMkey, KDE354mini, wine0.9.20, devx-qt-renamed.
Puppy Linux 2.10r1 SMkey, JWM, devx_qt_renamed_210, KDE355mini

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

#39 Post by MU »

debernardis,
please try this:
delete the complete folder
/usr/local/Puppy-Software-Installer

Then install it again.
If you still encounter problems, install this file in Pupget as alien package:
http://noforum.de/files/wxbasic/PuppyBa ... 2.5.tar.gz

If you still encounter problems, install this dotpup again:
http://dotpups.de/dotpups/System_Utilit ... st04MU.pup

Please tell me, which of these steps fixed your problem (if it fixes it).
Mark

User avatar
debernardis
Posts: 180
Joined: Sat 12 Nov 2005, 08:01
Contact:

#40 Post by debernardis »

Deleting that directory and reinstalling did the trick... thanks :)

Post Reply