Is there interest in an Arch32 Pup???

A home for all kinds of Puppy related projects
Post Reply
Message
Author
User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#121 Post by rockedge »

sudden problems with +10!

I have a system made with the delta +9 and a save folder. deleted everything but the save folder and replaced with +10.

on boot all goes well until the tray is being generated and suddenly geany appears with the freememapplet.desktop opened

the system freezes and I have to eventually perform a hard restart.

will now attempt a boot with no save folder present

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#122 Post by rockedge »

After removing the save folder from ArchPup+10 that was created in the previous +9,
the system booted as expected. The save folder really wasn't all that involved either

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#123 Post by darry19662018 »

rockedge wrote:sudden problems with +10!

I have a system made with the delta +9 and a save folder. deleted everything but the save folder and replaced with +10.

on boot all goes well until the tray is being generated and suddenly geany appears with the freememapplet.desktop opened

the system freezes and I have to eventually perform a hard restart.

will now attempt a boot with no save folder present
Had the same problem with installing xine after dong that I had the same problem.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#124 Post by rockedge »

I tested out SAMBA and it is working as expected and well

ArchPup+10

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#125 Post by s243a »

Just as a note to self. git, seems to require the package "ldns"...or at least it does to clone via ssh.

When you install ldns, it says that libpcap.so.1 is missing. Git seems to work without this lib. You can get this missing lib report after installing ldns or by running the check_deps_gui.sh and selecting ldns.

Depending on your package manager settings check_deps_gui.sh might not show the missing libs but the fix is simple (see issue #1776 and pull request #1777)

If I search the package manager for libpcap, it is available but I probably don't need it.
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#126 Post by s243a »

So as I had mentioned previously, I was able to get certificates to work in firefox on arch32+7. I was trying to do the same thing for +10 and was also scratching my head.

After trying many things the following way to start firefox worked:

Code: Select all

firefox -g
but the "-g" option is just suppose to enable debugging (or verbose) mode, so it doesn't make sense why it should suddenly start working when I tried that. Something else I did might also have been a contributing factor in getting it to work.

I found an interesting project related to certificates in firefox and chrome:
https://blog.xelnor.net/firefox-systemcerts/
https://github.com/rbarrois/nss-systemcerts

It may or may not be something that we need to know but it does teach one a bit about having more control over ssl certificates on their system (for instance they can be user and or application specific).

I think some of these features depend on "policy kit" and apparently, there was some issues that the mozzilla team had trying to integrate these features with firefox. See:

https://wiki.mozilla.org/NSS_Library_In ... e_problems

I suppose that's enough for this thread, as a more in depth discussion about this should be on a separate thread. This thread should more have a streamlined how-to then discussing all the ins and outs of these features.
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

User avatar
recobayu
Posts: 387
Joined: Wed 15 Sep 2010, 22:48
Location: indonesia

#127 Post by recobayu »

Hi Peebee..
I download the last +11 update.
I can not connect to my wifi eventhough from tethering from my android phone wifi. But fortunately, I can connect using usb tethering. So I connect using it. I update ppm and try to install libreoffice-fresh. But it fail.

Edit: I check at do not delete after installation on preference of ppm. So it is fail. But then I try to close and open again ppm and it still downloading now..
Thank you.
Attachments
Screenshot(1).png
I optimize this can be do
(56.65 KiB) Downloaded 270 times
Screenshot.png
failed
(104.01 KiB) Downloaded 83 times

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#128 Post by peebee »

+11 has most missing dependencies fixed
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#129 Post by rockedge »

Hello peebee!

good stuff..... small item reported on the forum yesterday and it is also in ArchPup

in the initrd.gz, the init file has a typeo on line 81

Code: Select all

[ ! "$DISTRO_YDRVSFS" ] && DISTRO_YDRVSFS="adrv_${DISTRO_FILE_PREFIX}_${DISTRO_VERSION}.sfs"
should be

Code: Select all

[ ! "$DISTRO_YDRVSFS" ] && DISTRO_YDRVSFS="ydrv_${DISTRO_FILE_PREFIX}_${DISTRO_VERSION}.sfs"
reported by corvus here : http://murga-linux.com/puppy/viewtopic. ... 24#1052324

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

Re: cups-scanning

#130 Post by s243a »

watchdog wrote:Scanning (hp scanner in an all-in-one printer-scanner):

hplip from the dogs (rcrsn51) do not work. Installing hplip by PPM (many packages) it works. There are unresolved dependencies but xsane works for me.

Cups:

in first instance I have an error about /var/spool/cups which I fix putting a script cupsfix in /root/Startup with the following content:

Code: Select all

#!/bin/sh
mount -t tmpfs -o size=10M tmpfs /var/spool/cups
/etc/init.d/cups restart &


in second instance "ldd /usr/bin/gs" shows unresolved deps. Reinstalling ghostscript step by step solves the problem but PPM says there are again unresolved deps.
I have installed Brother HL2130 printer by HL-2040foomatic ppd downloaded by openprinting site. It now works.
It sounds like peebee might have fixed these missing dependencies in the +11 release (see post). That said there are three causes of missing depends here:
1. the arch32pup's don't include large runtimes as a dependency, instead the repo metadat for these packages has a provides filed that indicates what libs are provided by this runtime. This makes it easy to know which package has the missing libs.
2. the libs will show as missing if the linker can't find them (e.g. one can't find the lib via the LD_LIBRARY_PATH variable). This could indicate a failure in a post install script, or alternatively perhaps the package is meant to be portable and the libs aren't supposed to be shared outside the application.
3. Maybe the repo doesn't have the needed metadata to find the dependency or the dependency isn't available in the arch repos.

Regarding #1, I think this is a nice feature of the arch repos. It get's us back to the roots of puppy where the intent was to build a minimal system and one could choose which large runtimes they want. Taking java as an example, many puppy users use the sun/oracle version of java rather than the one from the debian repo. For puppy users, often this java runtime (either jre or jdk) is packaged as an sfs and only loaded when needed. QT is another example of a framework/runtime where puppy users often use an sfs version than the one available via the package manager.

I have a script that I'm working on to address issues #1 and #2. So far it only addresses item#1 but I plan for it to also address Item#2 by automatically creating the symlinks so that the linker can find the libs. Ideally we should have some config options to specify alternative locations that a given package might look for these libs. For example a startup script for firefox might look for these libs in an alternate location (e.g. the firefox/lib directory). My script ideally should have the ability to turn on or off this feature of automatically creating these links and/or installing missing packages.

Anyway here is the script:
https://github.com/s243a/woof-CE/blob/a ... missing.sh

It should be ran after check_deps_gui.sh, because check_deps_gui.sh creates the missing list of libraries that install_missing.sh uses to try and figure out which packages to install. It should also be ran after 0setup2, because 0setup2 creates the files which indicate the libs that each package provides.

The script works but I won't push it to official woof-CE yet because it might be harder to make larger changes to it after it is pushed to woof-CE. One big change that I need to make is item #2 (above), which is automatically creating the symlinks to help the linker find the missing libs. Some thought also needs to be given on how to properly integrate 0setup2 and whether or not it will work on puppies that don't provide this metadata.
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#131 Post by rockedge »

strange thing happening. I found that in version +9,+10,+11 I can not run programs.

I can install manually or use an SFS or from the PPM and nothing will start.
ArchPup reports "a file not found error" no matter what.

this is an example when using a python.sfs. I am seeing this with palemoon and firefox or anything I am installing. Yet when I install palemoon from the PPM it will work.

Code: Select all

# python3.8
bash: /usr/bin/python3.8: No such file or directory
firefox reports

Code: Select all

# firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libmozsandbox.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#132 Post by s243a »

rockedge wrote:
firefox reports

Code: Select all

# firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libmozsandbox.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
That file exists in the /usr/lib/firefox folder. Drag it over to the /usr/lib folder and select "link relative".

If a missing lib is reported first check that you don't already have it:

Code: Select all

cd /var/packages
find -rn . libxul.so -name "libxul.so" | grep '.files$'
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#133 Post by s243a »

rockedge wrote:strange thing happening. I found that in version +9,+10,+11 I can not run programs.

I can install manually or use an SFS or from the PPM and nothing will start.
ArchPup reports "a file not found error" no matter what.

this is an example when using a python.sfs. I am seeing this with palemoon and firefox or anything I am installing. Yet when I install palemoon from the PPM it will work.

Code: Select all

# python3.8
bash: /usr/bin/python3.8: No such file or directory
Type :

Code: Select all

which python3.8
and see where it points

Type

Code: Select all

ls /usr/bin | grep python
to see what python files you actual have. If the file exists right click on it and see what the architecture is.
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#134 Post by s243a »

s243a wrote:
rockedge wrote:
firefox reports

Code: Select all

# firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libmozsandbox.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
That file exists in the /usr/lib/firefox folder. Drag it over to the /usr/lib folder and select "link relative".

If a missing lib is reported first check that you don't already have it:

Code: Select all

cd /var/packages
find -rn . libxul.so -name "libxul.so" | grep '.files$'
I examined, the contents of the firefox package and it contains

Code: Select all

/etc/ld.so.conf.d/firefox.conf
To use this file add the following line to /etc/ld.so.conf

Code: Select all

include /etc/ld.so.conf.d/*.conf
and then add then run the command:

Code: Select all

ldconfig
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#135 Post by s243a »

s243a wrote:
s243a wrote:
rockedge wrote:
firefox reports

Code: Select all

# firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libmozsandbox.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
That file exists in the /usr/lib/firefox folder. Drag it over to the /usr/lib folder and select "link relative".

If a missing lib is reported first check that you don't already have it:

Code: Select all

cd /var/packages
find -rn . libxul.so -name "libxul.so" | grep '.files$'
I examined, the contents of the firefox package and it contains

Code: Select all

/etc/ld.so.conf.d/firefox.conf
To use this file add the following line to /etc/ld.so.conf

Code: Select all

include /etc/ld.so.conf.d/*.conf
and then add then run the command:

Code: Select all

ldconfig
I added a pull/merge request related to this:
in ld.so.conf add: include /etc/ld.so.conf.d/*.conf #1785

On this note, I noticed that some paths included in ld.so.conf on the woof-CE rootfs-skeleton, are not includedin this file on Arch32pup. These paths are:

Code: Select all

/usr/X11R7/lib
/opt/gnome2/lib
/opt/qt4/lib
/opt/mozilla.org/lib
/opt/samba/lib
this makes since because I don't see these folders in arch32pup.
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#136 Post by rockedge »

somehow I had 64 bit libraries inter-mixed with 32 bit....so step 1 sort out how that happened... thanks for the info!! I am proceeding along patching...overall this ArchPup really runs fast on my Optiplex 990

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#137 Post by s243a »

rockedge wrote:somehow I had 64 bit libraries inter-mixed with 32 bit....so step 1 sort out how that happened... thanks for the info!! I am proceeding along patching...overall this ArchPup really runs fast on my Optiplex 990
Type

Code: Select all

uname -a
to see if your running a 64 bit kernal. If you are then it is possible that some installation script that you are using mistakenly thought that you were running a 64 bit OS. Search any installation scripts that you are running for the word "uname"
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#138 Post by peebee »

Probably my fault by including a 64-bit kernel.........

May be time to issue a fully 32-bit build to a wider audience??

You can swap to a 32-bit kernel by exchanging the zdrv and vmlinuz of course.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#139 Post by rockedge »

Good idea! I do have more than a few kernels I've built and I intended on using a real time kernel on this ArchPup once the teething problems are solved anyway.....I will place a 32 bit real time kernel into it for the next boot

I will fix the beast but.....I've run into a nagging error in some camera object detection / face recognition on a Bionic64 so it maybe an hour before I can fire up the ArchPup while I track down a umask problem with an added user "www-data"

I want to eventually equip this OS version with a similar camera system and web server.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Arch32Pup-20.03

#140 Post by peebee »

13-March-2020

Arch32Pup-20.03+0.iso (md5=d33a721469412d1c9292072735346824)

Kernel 4.14.173 32-bits pae
Woof-CE testing;fbe454968;2020-03-10 15:25:12
Arch32Linux updates

Download links:
http://www.smokey01.com/peebee/downloads/a32pup/

inc. devx, kernel-headers and kernel-sources in othersfs

Still very Alpha quality....see next post
Attachments
Screenshot.png
(89.43 KiB) Downloaded 210 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

Post Reply