ArchLinux packages manager for Porteus

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
bour59
Shogun
Shogun
Posts: 204
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

ArchLinux packages manager for Porteus

Post#766 by bour59 » 17 May 2024, 09:07

@neko thanks for your quick answer.
seems a little bit complicated for me but I will try to execute this week-end
Merci beaucoup.
added on 2024-05-19
ok for your method to replace and
thanks for APorteus-XFCE_fr-v24.05.17-x86_64.iso that boots normally.
Have a good day !

Hippo
White ninja
White ninja
Posts: 7
Joined: 09 Sep 2022, 14:22
Distribution: APorteus

ArchLinux packages manager for Porteus

Post#767 by Hippo » 27 Mar 2025, 06:47

@neko

Since several years i use your APorteus in german, cause for me its the best german "LEGO-Linux".

Unfortunately Mozilla has changed the compression format for the firefox and thats why the 'GetAddons'
can't update the browser. They changed to .xz-format, so the mkfirefox-script downloads the file correct,
but cannot decompress it and results in error. Is it possible to fix it - and how?? Please help! :cry:

Greetings from germany
Hippo

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4290
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

ArchLinux packages manager for Porteus

Post#768 by ncmprhnsbl » 27 Mar 2025, 23:30

Hippo wrote:
27 Mar 2025, 06:47
Is it possible to fix it - and how??
it's been a while since neko has posted, i hope all is well with him.
looking at /usr/local/share/mkfirefox/bin (in 002-z-xorg.xzm):
line 93:

Code: Select all

packagecompression=`file /tmp/mkfirefox/* | cut -d ' ' -f 2`
yields: XZ (for a .tar.xz file)
which makes the subsequent line 102 fail: (because XZ is not a command, but xz is what is needed)

Code: Select all

$packagecompression -dc /tmp/mkfirefox/index.html* | tar -x
a quick fix might be, to line 102, change to:

Code: Select all

${packagecompression,,} -dc /tmp/mkfirefox/index.html* | tar -x
which just converts XZ to xz ..
hopefully. i haven't tested it :)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Hippo
White ninja
White ninja
Posts: 7
Joined: 09 Sep 2022, 14:22
Distribution: APorteus

ArchLinux packages manager for Porteus

Post#769 by Hippo » 28 Mar 2025, 07:57

@ncmprhnsbl

YES :thumbsup: - it seems to be the solution for this problem: I'm just testing it in a virtual machine(qemu) and
the script is already behind the errorpoint and creates now a sqashfs-container.

I wrote the aid request @neko cause it was/is his project and in the past he helped me as quickly as
you.

And his nickname is easier to remember. ;)

Greetings from germany
Hippo

Hippo
White ninja
White ninja
Posts: 7
Joined: 09 Sep 2022, 14:22
Distribution: APorteus

ArchLinux packages manager for Porteus

Post#770 by Hippo » 28 Mar 2025, 08:20

BTW - How can i myself debug an script in case of error: How can i prevent closing terminal window
(to read the error messages) and is there a possibility in setting breakpoints(like 'pause' in 'Windows')
:%)

User avatar
M. Eerie
Moderator
Moderator
Posts: 711
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

ArchLinux packages manager for Porteus

Post#771 by M. Eerie » 28 Mar 2025, 12:29

Hippo wrote:
28 Mar 2025, 08:20
How can i myself debug an script
You put "set -x" wherever you want to start debug and "set +x" where you want to end.

Also
Hippo wrote:
28 Mar 2025, 08:20
setting breakpoints
To set a break point, you can insert a read statement, or if you prefer, you can insert "echo $your_variable; exit" to show the value your_variable takes at a determinate point in the script and then halting any more executions.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741

Post Reply