tiny_puduan_ascii-PreAlpha11.5 (made via a woof-next fork)

Under development: PCMCIA, wireless, etc.
Message
Author
s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#61 Post by s243a »

s243a wrote:
darry19662018 wrote: Sorry I am out for this release. Last couple of Iso's could not get package managers working. I wonder if it is my machine? Not sure
Was the issue dependency resolution? Thankyou for your testing. :) It lead me to look into this issue and as a consequence I found missing "/"'s after the tmp directory (related to dependency resolution). See fix:

https://github.com/puppylinux-woof-CE/w ... 77e364c8af

However, I have to review this fix a bit more to make sure that it isn't installing things that it shouldn't.

This issue was actually caused by a previous fix. See post:
http://murga-linux.com/puppy/viewtopic. ... 38#1030838
I noticed that to update the databases for the package manager one has to use the following command in my latest release:

Code: Select all

/usr/local/petget/0setup
Scotmann's package manager (i.e. pkg) does call this command but it first sets an environmental variable:

Code: Select all

SETUPCALLEDFROM=ppm
/sc0ttj/Pkg/blob/master/usr/sbin/pkg#L1712
/s243a/woof-CE/.../woof-code/rootfs-packages/PKG/usr/sbin/pkg#L1825

When this is called the package databases are updated rather than created from scratch. I have a bug in my code where this update process doesn't work, and consequently the repo will not update properly when the above enviornmental variable is set.

On another note, On my latest release I also forgot to add libc6 to the block list. See post:
http://murga-linux.com/puppy/viewtopic. ... 53#1030753
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:

#62 Post by s243a »

On my next remaster, I'll be adding the following line:

Code: Select all

pref("media.libavcodec.allow-obsolete", true);
to

Code: Select all

/usr/share/firefox-esr/browser/defaults/syspref
see post:
http://murga-linux.com/puppy/viewtopic. ... 17#1034217
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:

#63 Post by s243a »

Here's a remaster of the last release:
tiny_puduan_ascii-PreA11.2-Remaster_1-s243a.iso (272M)
**Minimal testing was done.

This includes the above noted fixes. In addition to what is included in the official release it has the following packages:

Code: Select all

# ls -1 | sed -e 's#.files##'
alsamixergui_0.9.0rc2-1-10_i386
espeak_1.48.04+dfsg-5+b1_i386
espeak-data_1.48.04+dfsg-5+b1_i386
firefox-esr_60.6.3esr-1~deb9u1_i386
git_2.11.0-3+deb9u4_i386
git-man_2.11.0-3+deb9u4_all
gitweb_2.11.0-3+deb9u4_all
libapr1_1.5.2-5_i386
libaprutil1_1.5.4-3_i386
libasyncns0_0.8-6_i386
libavcodec-extra57_3.2.12-1~deb9u1_i386
libcgi-pm-perl_4.35-1_all
libcurl3-gnutls_7.52.1-5+deb9u9_i386
liberror-perl_0.17024-1_all
libespeak1_1.48.04+dfsg-5+b1_i386
libflac8_1.3.2-1_i386
libhtml-parser-perl_3.72-3_i386
libhtml-tagset-perl_3.20-3_all
libjack-jackd2-0_1.9.10+20150825git1ed50c92~dfsg-5_i386
libjsoncpp1_1.7.4-3_i386
libogg0_1.3.2-1_i386
libopus0_1.2~alpha2-1_i386
libportaudio2_19.6.0-1_i386
libpulse0_10.0-1+deb9u1_i386
libserf-1-1_1.3.9-3+deb9u1_i386
libsndfile1_1.0.27-3_i386
libsonic0_0.2.0-4+b1_i386
libsvn1_1.9.5-1+deb9u3_i386
liburi-perl_1.71-1_all
libvorbis0a_1.3.5-4+deb9u2_i386
libvorbisenc2_1.3.5-4+deb9u2_i386
libvpx4_1.6.1-3+deb9u1_i386
libwrap0_7.6.q-26_i386
openssh-client_7.4p1-10+deb9u6_i386
subversion_1.9.5-1+deb9u3_i386
P.S. I also fixed the time syncing issue from the internet. The file psync was missing so I copied it from woof-CE.

TODO (Priofities):
1. Fix package db update in pkg. Currently I need to update with the command /usr/local/petget/0setup.
2. Make sure that when the package manager installs dependencies that no builtin files are re-installed. For now I just blocked libc6.
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:

#64 Post by s243a »

Here's a new release:

tiny_puduan_ascii-PreAlpha11.3.iso (210M)
**Testing mostly consists of installing firefox-ESR (and some other aps), using a save folder on a USB.

The issues in my previous post, still need to be addressed as well as a minor issue related to the boot process (see post).

Edit 1 I forgot to include an update to "pkg" which fixed an issue with installing dependendencies due to a missing "/" in the /tmp folder. I will be fixed going forward.

Edit 2 I also forgot to include my fixes for /etc/profile that fix the perl issues in urxvt :(
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:

#65 Post by s243a »

New release to fix issues noted in previous post:

tiny_puduan_ascii-PreAlpha11.4.iso (210M)
Testing:
1. Install firefox (dependencies are being instlled but need to make sure that nothign is re-installed.
2. Checked /tmp/xerrs.log (no obvious errors)
3. Also installed other packages that I'll include in a remaster.

**Testing done with a save folder on a USB drive. No other pmedia modes were tested.

***Note, that I also added the less package because in a previous version I got an error in /tmp/xerrs.log due to the busybox version of less not supporting the -R option...I think.
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:

#66 Post by s243a »

s243a wrote:
s243a wrote:
darry19662018 wrote:Well this Pup is quite a journey.
It's quite preliminary but the bugs posted in this thread thus far will help alot. :)
Got .pet installing working by finding a missing link to .petget in /usr/sbin which links to /usr/local/petget
Alternatively, one could create a script that calls "pkg -i". Thanks for noticing this :). What I think I will do is create a script that calls "pkg -i" by default but if not installed will try some fallbacks like petget.
Here's a first draft of the script /usr/sbin/petget:

Code: Select all

#!/bin/sh
PKG_PATH="`which pkg`"
if [ ! -z "$PKG_PATH"]; then
  "$PKG_PATH" -i "$@"
else
  CUR_DIR=dirname "$(readlink -f "$0")" #https://stackoverflow.com/questions/59895/get-the-source-directory-of-a-bash-script-from-within-the-script-itself
  cd "$CUR_DIR"
  PETGET_PATH="../local/petget/petget" #See if a relative path is possible (useful in prefixed systems)
  [ ! -x "$(readlink -f "$PETGET_PATH")" ] && PETGET_PATH="/usr/local/petget/petget" #otherwise use absolute paths
  "$PETGET_PATH" "$@"
fi
I'll test it now.
I've expanded on this script a lot:

https://pastebin.com/EPgPujar
http://www.murga-linux.com/puppy/viewto ... 41#1034641

I had to make a mod to /usr/sbin/pkg to get it to work but alternatively I might have just been able to export PWD (I'm not sure).
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:

#67 Post by s243a »

Here's a new version.
tiny_puduan_ascii-PreAlpha11.5.iso

The only testing that I did was installing firefox-esr

Code: Select all

/usr/local/petget/0setup
pkg --get firefox-esr
pkg --get libavcodec-extra57
In this release I made some changes to sc0tmann's package manager (i.e. pkg). See post:

http://murga-linux.com/puppy/viewtopic. ... 70#1035370

I'm fairly postive that these changes have resulted in a significant speed improvement in installing packages. I was hoping that it would fix an issue related to libstdc++ being re-installed [1] when I install firefox. Unfortunatly this isn't the case.

** Currently one might have to try installing firefox like above twice to get it to work. I'm guessing that this is a bug in pkg but might be related to the devaun repos.

Notes
--------------------
1. it isn't exactly the case that libstdc++ is re-installed instead an older version is installed instead (see post) but without removing the current version of libstdc++. The issue might be related to the way that pkg parses dependency information,
Last edited by s243a on Tue 27 Aug 2019, 12:25, edited 2 times in total.
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:

#68 Post by s243a »

darry19662018 wrote:
s243a wrote:Here's a new version.

tiny_puduan_ascii-PreAlpha11.2.iso (210M)

So far I've only tested installing firefox-esr:

Code: Select all

/usr/local/petget/0setup #update package database
pkg --get libjsoncpp1
pkg --get libvpx4
pkg --get libavcodec-extra57 #Needed for some html5 videos
pkg --get firefox-esr 
This is a official release so it doesn't come with a browser installed. As noted above browsers will only be included in remasters.

** I've went to a versioning system where major versions will be new builds from scratch and minor versions will be where I modify the rootfs of a previously built version.
Hi s243a,

Test Machine:HP Pavilion dv6000.

Unfortunately it boots to desktop - then freezes and crashes.

Sorry I am out for this release. Last couple of Iso's could not get package managers working. I wonder if it is my machine? Not sure
The package manager issues aren't hardware related and I have since made some improvments to it but I'm still working out issues here. Regarding your machine freezing that could be hardware related. On one of my computers, I had an issue where I saw multiple small windows on the top of the screen and the rest of the screen was black. For said machine I resolved this by booting with the pfx=nox option and using xorgwizard to set the screen resolution. While this fixed the issue, it shouldn't be necessary to reboot to do this. One should be able to press cntrl-alt-backspace. Unfortuantlly cntrl-alt-backspace isn't working properly at the moment.

Anyway, you testing has been very helpfull :). Unfortuantly this release is still quite experimental.
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].

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

#69 Post by darry19662018 »

https://www.dropbox.com/s/nhbh2rsiladj2 ... 2.iso?dl=0

Well finally got this working on the HP Pavillion dv6000.

When it booted from a frugal install (the Puppy universal installer works).
The desktop booted up but looked like it was working on a vesa resolution and then it went blank - rebooted and when it tried to repeat this behaviour I hit ctrl-LT-Backspace and got the xorg-wizard and chose nv driver and then typed xwin and she booted to a desktop. I am typing from it now.

Results:

Video and sound working with html5 and internet connected first time with frisbee. Scottman's gpkgdialog installed Puppy Firewall fine.

To get psync working installed from ppm (which by the way works if you choose automatic option instead of classic step by step method, which doesn't). Psync required gtkdialog 3 to be installed.
Last edited by darry19662018 on Sat 14 Sep 2019, 06:13, edited 1 time in total.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

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

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

#70 Post by darry19662018 »

I had to in /usr/sbin delete petget and add symlink from /usr/local/petget to get .pet installing working.

So nothing major in this Pup it is working with a static mplayer of Fred's I use to play mp4's. Keep up the good work s243a.:)
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

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

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

#71 Post by darry19662018 »

https://www.dropbox.com/s/kdfx12p0x1h1f ... 5.iso?dl=0

This Latest iso from S243a has the desktop mount icon working properly now so you can see the contents of a flash drive by clicking desktop icon,

Can set time correctly using date and time menu from settings from wbar.

Also petget is also working correctly.

Nice work S243a:)
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

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

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

#72 Post by s243a »

I've been asked how this project is going so here are some updates.

1. Since about June I've had less time to work on this but as can be scene by the releases I've been slowly making progress.
2. There about five areas of priority that I see:
2-a, Improve the the package management system,
2-b, Improve the remaster system
2-c, Improve the build system
2-d, Improve the xwin script.
2-e, possible issues with exiting Xorg to the terminal

I've been focusing mostly on 2-a lately. My focus here is on both dependency resolution and concurancy. See Posts:
(2-a-I) about pkg installing the wrong version of about libstd++
(2-a-II) about using awk to filter the repo db based on version number.

I'm having a bit of trouble getting the awk version to work of my script which filters the repo db based on version information. This is apparently due to memory allocation issues, according to error messages. So in the short term I might do the version comparison with vercmp as scotmann suggests. The code that does the actual repo db filtering will be segregated (and likely programatically generated), in a way that I can easily switch between bash, awk, python and perl approaches to test the speed difference.

Regard remastering (2-b), I have been working on some stuff to improve the remaster script (see post) both to give greater flexibility (e.g. perhaps you don't need the original iso) and to include more settings from the root and etc folder into the remastered ISO. I've put this on the back burner because I believe the improvements to pkg management system are more important but in my opinion a good set of remastering tools is very important for community development and the over-focus on build-system type approaches means that their will be far fewer people that will be able to contribute to development.

Regard improving the build system (2_c), the biggest thing that I need to add is the inclusion of release specific customizations (e.g. /etc/DISTRO_SPECS). This is actually a pretty easy change and quite important if anyone else is going to use the build system from scratch but I've been focusing more on release specific features like package management systems and remastering because I need to demonstrate a solid working system to show the merits of the build system.

Regarding the xwin script 2-d, in some systems the window manager doesn't properly boot into the desktop/window-manager due to issues related to the Xorg driver. A while back I made some changes to the xwin script to help it find the Xorg drivers and to select the Xorg vesa driver as the default. However, my understanding here about vesa being the default driver might not be correct in the way that recent puppies work.

The work around for this issue with tiny_puduan is to boot puppy without Xorg and then configure using the cli based xorgwizard. Recently, wdlkmpx has made some changes to the xwin script that might help to clarify any misunderstandings that I have about the Xorg setup. The related discussion can be found at:

https://github.com/puppylinux-woof-CE/w ... issues/897

I should look for the latest puppy code for the xwin script and use that as the starting point and apply any fixes that I might of had (e.g. finding the drivers) to the latest puppy xwin script.

Regarding exiting Xorg 2-e, I'm in some cases having issues with exiting Xorg to the terminal. In a virtual machine I might not even see the terminal if I press cntrl-alt-backspace, and in some cases the keyboard might not work correctly if one exists Xorg. This is a big enough issue that it probably needs to be solved before I can ever even call this an alpha release.
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].

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

#73 Post by darry19662018 »

Regarding 2D. I believe that having a pup start without going automatically to desktop is my preferred option - as I find with this pup first time around I get a black screen when it attempts to boot to desktop first time I quickly press ctrl-alt-backspace to get to commandline to go into xorgwizard and set the driver and no more problems. Thats how old pups like 4.31 worked.

I for prefer that behaviour.

Many thanks for the update. Posting from this pup in Icecat now.
Last edited by darry19662018 on Fri 27 Sep 2019, 18:52, edited 1 time in total.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

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

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

#74 Post by darry19662018 »

Regarding exiting Xorg 2-e, I'm in some cases having issues with exiting Xorg to the terminal. In a virtual machine I might not even see the terminal if I press cntrl-alt-backspace, and in some cases the keyboard might not work correctly if one exists Xorg. This is a big enough issue that it probably needs to be solved before I can ever even call this an alpha release.
No problems with that when I press ctrl-alt-bckspace - I am able to use keyboard.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

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

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

#75 Post by darry19662018 »

Made an iso that includes GNUIcecat and GNUIceweasel-uxp, Deadbeef 1.80, static mplayer, mtpaint, flcalc and xarchiver from tinycore, parchive, pupcontrolpanel, pfind, peasypdf, mupdf, epdfview (older version less deps), firewall.ng, ......

https://archive.org/download/tiny_pudua ... sel%29.iso

Did this to test remasterpup2 which worked.:)
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

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

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

#76 Post by s243a »

darry19662018 wrote:Made an iso that includes GNUIcecat and GNUIceweasel-uxp, Deadbeef 1.80, static mplayer, mtpaint, flcalc and xarchiver from tinycore, parchive, pupcontrolpanel, pfind, peasypdf, mupdf, epdfview (older version less deps), firewall.ng, ......

https://archive.org/download/tiny_pudua ... sel%29.iso

Did this to test remasterpup2 which worked.:)
I"m glad it is working for you :). I've added info about your remaster to the first post. The formatting of my first post is a bit ugly at this point :(

I haven't done my own remaster for this release because I've been experimenting a lot with the package manager .

On another note, I've also added peasydiff to the version that I'm using daily (personal use, not published). I find it peasydiff quite useful. For anyone else that wants to add peasydiff to a fresh iso, It requires gtkdialog3.
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:

#77 Post by s243a »

I found a bug where pkg thinks a url doesn't exist when it does. The error is is related to how pkg uses the output of wget -S --spider

I reported the issue here:
https://gitlab.com/sc0ttj/Pkg/issues/69

The following code:

Code: Select all

            # exit if URL is not found (if we get a 404 back)
            if [ -z "$DOWNLOAD_URL" -o "`wget -S --spider "$DOWNLOAD_URL" 2>&1 | grep -m1 'HTTP/1.1 404 Not Found'`" != '' ]; then
              error "Package URL not found   $DOWNLOAD_URL"
              return 8
            fi
** Around line 4455 (on my fork) of /usr/sbin/pkg


should be replaced with:

Code: Select all

            # exit if URL is not found (if we get a 404 back)
            if [ -z "$DOWNLOAD_URL" ]; then
              error "Package URL not found   $DOWNLOAD_URL"
              return 8
            else
              wget -S --spider "$DOWNLOAD_URL" || { \
                error "Package URL not found   $DOWNLOAD_URL"
                return 8				  
			  }
            fi
https://github.com/s243a/woof-CE/blob/0 ... /pkg#L4455

Without the above fix this error could prevent some packages from being installed.

Updated in 0ab77c87966d3b9c029115c7c89f79fbb5f3fc8f
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:

#78 Post by s243a »

I noticed that when I do ifconfig I don't see the loop back device. Perhaps this is why I'm having trouble doing port forwarding with ssh.

Also if I do "ifconfig -a" I see the loop back device doesn't have an IP address assigned.

Edit:

In puppy linux the loopback device is configured at:

Code: Select all

ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 255.0.0.0 lo
woof-code/rootfs-skeleton/etc/rc.d/rc.network_basic#L4

I'll look into the tiny way to integrate this into tiny_purduan. Anway, after doing the above two commands, I was able to get ssh port forwarding to work :).
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:

#79 Post by s243a »

I noticed that one can't edit programs on an ntfs partition without ntfs-3g. See thread:

https://askubuntu.com/questions/70281/w ... -read-only

Hopefully, I'll remember to add this in a future release. Perhaps I need some kind of checklist.

I noticed this because I was editing my boot menu file to include josejp2424's dpup buster because I need a more official version of pkg to test some of my changes, so that some of them might get incorporated into sc0ttman's package manager (i.e. pkg)

The changes that I want to contributed is to use awk for the --repo-update and to add signature checking for package metadata. See:

- ppa2pup alternative approaches - issues/73#note_250343273
- Validating Package Archives and Metadata
- Using gpg/pgp signatures in Package Managers

Future, version of tiny_puduan will include these modification, regardless of whether or not they make it into the official version of pkg.
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
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#80 Post by sc0ttman »

The changes that I want to contributed is to use awk for the --repo-update and to add signature checking for package metadata
Just a heads up...

I am very keen to make sure Pkg remains "noarch", and has as few dependencies as possible. Any "binary" deps should be busybox only, or optional.

I am also looking to remove and clean up the code a bit before adding more stuff..

But, I am happy to see your changes in some PRs - especially if we can keep any extra dependencies as optional - i.e., if GPG not installed (for example), use my old shell code..

And as I mentioned before, using deb2pup binary (if available) is something I want to do... but I don't want to remove my (slow) ppa2pup shell code, cos it is a nice "noarch" fallback, with zero deps.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Post Reply