Page 1 of 1

getmod: not working for me

Posted: 25 May 2025, 21:12
by francois
Porteus-XFCE-v5.0-x86_64.iso

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# getmod -u
bash: getmod: command not found
root@porteus:/home/guest# 
Is it normal

getmod: not working for me

Posted: 26 May 2025, 05:12
by AcnapyxoB
francois wrote:
25 May 2025, 21:12
Is it normal
You need slapt-get module:
[Porteus 5.0's USM replacement] getmod: A wrapper for slapt-get to build modules

getmod: not working for me

Posted: 26 May 2025, 05:24
by Ed_P
francois, note at the bottom of AcnapyxoB's link:

"Last edited by Ed_P on October 10th, 2023, 11:26 pm, edited 28 times in total.
Reason: getmod included in Porteus 5.01 as slapt-mod."

getmod: not working for me

Posted: 26 May 2025, 15:19
by francois
Sorry guys, but I would really appreciate a more complete answer.

slapt-get is available on porteus once you have downloaded it.

Do I understand that for:
porteus 5.0 it was

Code: Select all

getmod -u
and for 5.1 getmod has changed to

Code: Select all

slapt-mod -u

Code: Select all

root@porteus:/home/guest# uname -a
Linux porteus.example.net 5.18.8-porteus #1 SMP PREEMPT_DYNAMIC Sat Jul 2 10:05:31 MSK 2022 x86_64 Intel(R) Core(TM)2 Solo CPU    U3500  @ 1.40GHz GenuineIntel GNU/Linux
root@porteus:/home/guest# getmod -u
bash: getmod: command not found
root@porteus:/home/guest# slapt-mod -u
bash: slapt-mod: command not found
root@porteus:/home/guest# slaptmod -u
bash: slaptmod: command not found
root@porteus:/home/guest# 
How do you explain that?

getmod: not working for me

Posted: 26 May 2025, 18:22
by beny
hi francois, why you don't take a look at /usr/local/bin
you have:getpkg and pmod so you can only work with slackware 15 repository,fot the use of slapt-mod you have to have slapt-get installed and in this porteus version is not installed,but you know i can go wrong
well into the /var/log/packages i have seen the slackpkg+ that allow to use other repositories via slackpkg,try if work for you.

getmod: not working for me

Posted: 26 May 2025, 19:05
by Ed_P
slapt-mod works on my 5.01 system.

Code: Select all

~#  uname -as:/mnt/nvme0n1p4/porteus5.0/Guest$ ./SysSnapshot.sh
Linux porteus.example.net 6.8.10-porteus #1 SMP PREEMPT_DYNAMIC Fri May 17 18:09:34 MSK 2024 x86_64 13th Gen Intel(R) Core(TM) i5-13420H GenuineIntel GNU/Linux

~#  cat /etc/porteus/*
001-core.xzm:20250131
002-xorg.xzm:20241212
002-xtra.xzm:20240924
003-cinnamon.xzm:20240924
initrd.xz:20230923

~#  ls -l /mnt/live/memory/images
000-kernel.xzm : May 17 2024
001-core.xzm : Jan 31 09:05
002-xorg.xzm : Dec 12 12:15
002-xtra.xzm : Sep 24 2024
003-cinnamon.xzm : Dec 29 2023

~#  cat /proc/cmdline
quiet BOOT_IMAGE=(loop)/boot/syslinux/vmlinuz from=/ISOs/Porteus/Porteus-CINNAMON-v5.01-x86_64-250130.iso volume=33 reboot=cold noload=mychanges;pipe;menu4

ISO: /ISOs/Porteus/Porteus-CINNAMON-v5.01-x86_64-250130.iso


guest@porteus:/mnt/nvme0n1p4/porteus5.0/Guest$ su
Password: 
root@porteus:/mnt/nvme0n1p4/porteus5.0/Guest# slapt-mod
 
   slapt-mod: A simple wrapper for slapt-get to build Porteus module. 
              All operations must be run as root user. 

   slapt-mod [-c] [-u] [-d|-m|-M|-n|-N PACKAGE_NAME] [-l PATTERN] [-s PATTERN]

Options:
  -c: Purge cached packages
  -d: Download only
  -m: Download and build module (ZSTD compression)
  -M: Download and build module (XZ compression)
  -n: Download and build module without dependencies (ZSTD compression)
  -N: Download and build module without dependencies (XZ compression)
  -l: List installed packages
  -s: Search package
  -u: Update database
  -h: This usage

   To change the temporary directory (default is /tmp), pass the TMP variable.
   $ TMP=/path/to/directory slapt-mod -m packagename

   Temporary directory is for storing downloaded packages, installing and converting them to modules.

   See /etc/slapt-get/slapt-modrc to set preferences for stripping and language of created modules.

root@porteus:/mnt/nvme0n1p4/porteus5.0/Guest# 
Ed_P wrote:
26 May 2025, 05:24
francois, note at the bottom of AcnapyxoB's link:

"Last edited by Ed_P on October 10th, 2023, 11:26 pm, edited 28 times in total.
Reason: getmod included in Porteus 5.01 as slapt-mod."
Haven't tried it in a 5.1alpha system.

getmod: not working for me

Posted: 26 May 2025, 19:24
by beny
hi, work because is the first version with the slapt-get package so the slapt-mod wrapper, porteus5.0 do not have it

getmod: not working for me

Posted: 27 May 2025, 00:35
by francois
Hello beny,

Thanks for the troubleshooting. I was working on a linux box that I left aside for a good period of time.
You /usr/bin trick is logical:

Code: Select all

root@porteus:/usr/local/bin# ls
cell_hwdec*      mpv_hwdec*    pmod*                update-firefox-live*
check-kernel*    obamenu.py*   polyglot*            update-vbox-live*
fastest-mirror*  pfilesearch*  trans*
getpkg*          phelp*        transfer*
man*             pkginfo*      update-chrome-live*
root@porteus:/usr/local/bin# 
I will update to the most recent stable version.

Sorry for the trouble guys,

getmod: not working for me

Posted: 27 May 2025, 17:30
by beny
hi francois,no problem at all,if you have follow the news for the new repository of lu9dce i suggest you to add it at your package manager,because is builded from the slackbuild of slackware 15 in real time,so you have the last version of all,you have to have the ip6 link,ok try it

getmod: not working for me

Posted: 01 Jun 2025, 12:45
by francois
repository of lu9dce
Two new repositories

Thanks so much beny.