Is there interest in an Arch32 Pup???
For testers - delta to +4 is available.
Many thanks to @Norgo for various fixes.
Significant problems encountered include changes in location for some Arch32 basic apps that are incompatible with Puppy
and
initiation routines which assume systemd
Progress has been made with GParted, Cups, FFMpeg and MPlayer (latter 2 recompiled/rebuilt for Arch32) and video drivers
Many thanks to @Norgo for various fixes.
Significant problems encountered include changes in location for some Arch32 basic apps that are incompatible with Puppy
and
initiation routines which assume systemd
Progress has been made with GParted, Cups, FFMpeg and MPlayer (latter 2 recompiled/rebuilt for Arch32) and video drivers
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
For testers........ (pm if you want to test for links)
Delta to +5 is available
Not making much progress .......... things to investigate and find fixes for include:
- mounted drive icons on desktop
- PPM
- Gnome-mplayer dvd playing
Delta to +5 is available
Not making much progress .......... things to investigate and find fixes for include:
- mounted drive icons on desktop
- PPM
- Gnome-mplayer dvd playing
Last edited by peebee on Fri 14 Feb 2020, 11:39, edited 1 time in total.
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
How do I apply the deltas? I'm hoping to get a chance to look at this soon.peebee wrote:For testers........
Delta to +5 is available
Not making much progress .......... things to investigate and find fixes for include:
- mounted drive icons on desktop
- PPM
- Gnome-mplayer dvd playing
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].
Put base +0 iso and delta in the same directory and click on the delta. A new +5 iso will be created. Click on the new iso to mount and open it and copy the new puppy****.sfs to your frugal install directory. Click on the iso again to dismount it. Reboot.s243a wrote:How do I apply the deltas? I'm hoping to get a chance to look at this soon.
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact:
Nice to see this little retro program in there. Requires getdir to run - get it here: https://distro.ibiblio.org/puppylinux/p ... r-2006.pet
This is turning out to be a lovely Pup despite the issues mentioned here - so my thanks to Peebee for it. I hope PPM can be sorted I reached a blank trying to solve it.
This is turning out to be a lovely Pup despite the issues mentioned here - so my thanks to Peebee for it. I hope PPM can be sorted I reached a blank trying to solve it.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]
[url]https://freemedia.neocities.org/[/url]
[url]https://freemedia.neocities.org/[/url]
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact:
The file DISTRO_COMPAT_REPOS seems to be missing.
Here is some trace output:
Here is some trace output:
Code: Select all
sandbox# bash -x /usr/local/petget/0setup 2>&1 | tee ~/0setup.log
...
+ . /root/.packages/DISTRO_COMPAT_REPOS
/usr/local/petget/0setup: line 39: /root/.packages/DISTRO_COMPAT_REPOS: No such file or directory
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].
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact:
I'm looking in /etc/DISTRO_SPECS and I see:
DISTRO_TARGETARCH=''
This is typically used in DISTRO_COMPAT_REPOS. For instance in dpup stretch we have:
We actually want DBIN_ARCH=i686 or i486. See here.
https://32.arlm.tyzoid.com/
which I git from the mirror list. I'll assume that we want i486 for the widest compatibility, in which case we have:
When we finish the DISTRO_COMPAT_REPOS file then we need to add it to woof-CE. For example:
woof-CE/woof-distro/x86/debian/stretch/DISTRO_COMPAT_REPOS-debian-stretch
It looks like there is a separate one for each distro release, so the above logic that I have might not be needed.
DISTRO_TARGETARCH=''
This is typically used in DISTRO_COMPAT_REPOS. For instance in dpup stretch we have:
Code: Select all
case "$DISTRO_TARGETARCH" in
x86) DBIN_ARCH=i386 ;;
x86_64) DBIN_ARCH=amd64 ;;
esac
https://32.arlm.tyzoid.com/
which I git from the mirror list. I'll assume that we want i486 for the widest compatibility, in which case we have:
Code: Select all
case "$DISTRO_TARGETARCH" in
x86)
if [ "$DISTRO_BINARY_COMPAT" = arch ]; then
DBIN_ARCH=i486
else
DBIN_ARCH=i386
fi; ;;
x86_64) DBIN_ARCH=amd64 ;;
esac
woof-CE/woof-distro/x86/debian/stretch/DISTRO_COMPAT_REPOS-debian-stretch
It looks like there is a separate one for each distro release, so the above logic that I have might not be needed.
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].
Here's a rough draft on how I think it should look:darry19662018 wrote:Yes looked in ./packages folder and I can confirm DISTRO_COMPAT_REPOS is missing.
Code: Select all
...
PKG_DOCS_DISTRO_COMPAT="
z|https://32.arlm.tyzoid.com/${DBIN_ARCH}/core/core.db.tar.gz|Packages-arch-${DISTRO_COMPAT_VERSION}-core
z|https://32.arlm.tyzoid.com/${DBIN_ARCH}/community/community.db.tar.gz|Packages-arch-${DISTRO_COMPAT_VERSION}-community
z|https://32.arlm.tyzoid.com/${DBIN_ARCH}/extra/extra.db.tar.gz|Packages-arch-${DISTRO_COMPAT_VERSION}-extra
"
...
REPOS_DISTRO_COMPAT="
z|https://32.arlm.tyzoid.com|Packages-arch-${DISTRO_COMPAT_VERSION}-*
"
Click on the above link to see the full file. I'll test it now
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].
In the version of DISTRO_COMPAT_REPOS, that I copied and modified from dpup stretch it was only looking for DISTRO_SPECS at ./DISTRO_SPECS. I modified this so that it also looks in /etc/DISTRO_SPECS
https://pastebin.com/SKpLWAk0
Anyway, calling the 0setup command with the file at the above link appears to update the repos for me. . I'll now start the package manager with the ppm command and see if I can install anything.
Code: Select all
if [ "$DISTRO_COMPAT_VERSION" = "" ] ; then
if [ -f ./DISTRO_SPECS ]; then
. ./DISTRO_SPECS
elif [ -f /etc/DISTRO_SPECS ]; then
. /etc/DISTRO_SPECS
fi
fi
Anyway, calling the 0setup command with the file at the above link appears to update the repos for me. . I'll now start the package manager with the ppm command and see if I can install anything.
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].
We also apear to be missing the "sc_category" file:
Code: Select all
sandbox# ppm
/usr/local/bin/ppm: line 32: /var/local/petget/sc_category: No such file or directory
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].
It looks like we need a vercmp command. Should we install such a package or write our own version of this command?
some more errors:
regarding the first error, I see the file, "install_pets_quietly" which looks like what might be intended. I think that install_classic, is supposed to come from a ppm drop down menu.
One more error:
I'll look into the last error first.
Code: Select all
/usr/local/petget/show_installed_version_diffs.sh: line 23: vercmp: command not found
Code: Select all
ls: cannot access '/tmp/petget_proc/*_pet_quietly': No such file or directory
ls: cannot access '/tmp/petget_proc/install_classic': No such file or directo
One more error:
Code: Select all
awk: fatal: cannot open file `/tmp/petget_proc/overall_pkg_size' for reading (No such file or directory)
Last edited by s243a on Sat 15 Feb 2020, 07:44, edited 1 time 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].
I tried switching to step by step install and got the following error:
Maybe we need to round or alternatively, use a tool that can handle decimals.
In other words replace:
with
Code: Select all
/usr/local/petget/installpreview.sh: line 263: 0 + 22970.7 : syntax error: invalid arithmetic operator (error token is ".7 ")
In other words replace:
Code: Select all
#INSTALLEDSIZEK=$(( $INSTALLEDSIZEK + $ADDSIZEK ))
Code: Select all
INSTALLEDSIZEK=$(echo "$INSTALLEDSIZEK + $ADDSIZEK" | bc )
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].
Starting at line #263 of /usr/local/petget/installpreview.sh
https://pastebin.com/tjp4axbB
I used bc for arithmetic operations instead of the shell built-ins. It allowed me to proceed further with the installation of firefox. I'll update this post once I see whether or not it has installed.
Edit: It seems to be installing firefox. For instance, I see that it installed the file list "colord-1.4.4+9+g1ce26da.files". colord is a dependency of firefox. If I look at one of the files (e.g. /usr/bin/colormgr), I see that it showed up in my save file. Installation, is taking a while because I'm testing this on a slow laptop (perhaps mostly due to I/O issues on my usb drive). I'll test it again on a different computer.
Edit 2: the ppm tells me that firefox-72.0.1 was sucesfully installed and that I'm missing the following two libraries:libgdk-3.so.0 and libgtk-3.so.0.I haven't tested firefox yet.
Code: Select all
INSTALLEDSIZEK=$(echo "$INSTALLEDSIZEK + $ADDSIZEK" | bc )
echo "$INSTALLEDSIZEK" > /tmp/petget_proc/petget_installedsizek
done < $ONEDEPSLIST
INSTALLEDSIZEK=`cat /tmp/petget_proc/petget_installedsizek`
done
MOREFRAMES="`cat /tmp/petget_proc/petget_moreframes`"
INSTALLEDSIZEM=$(echo "$INSTALLEDSIZEK / 1024" | bc)
MSGWARN2="$(gettext "If that looks OK, click the 'Install' button...")"
testSIZEK=$(echo "$INSTALLEDSIZEK / 3" | bc )
testSIZEK=$(echo "$INSTALLEDSIZEK + $testSIZEK" | bc)
testSIZEK=$(echo "$testSIZEK + 8000" | bc)
testSIZEK=$(printf "%.0f\n" $testSIZEK) #https://bits.mdminhazulhaque.io/linux/round-number-in-bash-script.html
[ $testSIZEK -gt $SIZEFREEK ] && MSGWARN2="$(gettext "Not too good! recommend that you make more space before installing -- see 'Resize personal storage file' in the 'Utility' menu.")"
I used bc for arithmetic operations instead of the shell built-ins. It allowed me to proceed further with the installation of firefox. I'll update this post once I see whether or not it has installed.
Edit: It seems to be installing firefox. For instance, I see that it installed the file list "colord-1.4.4+9+g1ce26da.files". colord is a dependency of firefox. If I look at one of the files (e.g. /usr/bin/colormgr), I see that it showed up in my save file. Installation, is taking a while because I'm testing this on a slow laptop (perhaps mostly due to I/O issues on my usb drive). I'll test it again on a different computer.
Edit 2: the ppm tells me that firefox-72.0.1 was sucesfully installed and that I'm missing the following two libraries:libgdk-3.so.0 and libgtk-3.so.0.I haven't tested firefox yet.
Last edited by s243a on Sat 15 Feb 2020, 07:51, 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].
So here is a summary, on how to get the ppm working. Copy the following two files:
/var/packages/DISTRO_COMPAT_REPOS
/usr/local/petget/installpreview.sh
(** These files should be copied by clicking on the raw button in pastebin, selecting all the text and using copy and paste. If you click the download button instead you'll have to fix the line endings. The second file already exists so copy the text into the existing file so that you keep the same premissions)
After adding/replacing these files, then run the command:
to update all repo db files. Now start the puppy package manger with the command, "ppm", you could alternativly start it via the menus but if you do this you won't have as much debugging information.
Search for the package you want, select the dropdown menu first so it says "step by step install" rather then "auto install". Now install the package.
P.S. If you want you can change 486 to 686 in DISTRO_COMPAT_REPOS
Edit: I'm actually surprised this this is working given that in DISTRO_SPECS we have DISTRO_TARGETARCH='' (see previous post)
/var/packages/DISTRO_COMPAT_REPOS
/usr/local/petget/installpreview.sh
(** These files should be copied by clicking on the raw button in pastebin, selecting all the text and using copy and paste. If you click the download button instead you'll have to fix the line endings. The second file already exists so copy the text into the existing file so that you keep the same premissions)
After adding/replacing these files, then run the command:
Code: Select all
/usr/local/petget/0setup
Search for the package you want, select the dropdown menu first so it says "step by step install" rather then "auto install". Now install the package.
P.S. If you want you can change 486 to 686 in DISTRO_COMPAT_REPOS
Edit: I'm actually surprised this this is working given that in DISTRO_SPECS we have DISTRO_TARGETARCH='' (see previous post)
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].
Thanks for the testing / bug hunting
Here is what should have been in the build - false.gz
I will investigate why its not being included.
I'm using the pentium4 branch of Arch32 to build.
I will also investigate the absence of vercmp
Here is what should have been in the build - false.gz
I will investigate why its not being included.
I'm using the pentium4 branch of Arch32 to build.
I will also investigate the absence of vercmp
- Attachments
-
- DISTRO_COMPAT_REPOS-arch-32-false.gz
- (1.05 KiB) Downloaded 152 times
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Hmmm, I wonder how you managed to build Archpup as Arch support has been removed from woof some time now.
As a result PPM, 0setup etc do not know how to handle Arch packages and databases.
Not sure how functional the removed code might still be, but using PPM from Tahrpup-6.0.5, (the last one with Arch support) might give an idea.
BTW RedHat/Scientific was also removed back then by Igu.
As a result PPM, 0setup etc do not know how to handle Arch packages and databases.
Not sure how functional the removed code might still be, but using PPM from Tahrpup-6.0.5, (the last one with Arch support) might give an idea.
BTW RedHat/Scientific was also removed back then by Igu.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==