pmod use and nemesis

Arch based Porteus community project

Moderator: M. Eerie

User avatar
francois
Contributor
Contributor
Posts: 6514
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

pmod use and nemesis

Post#1 by francois » 04 Apr 2025, 00:31

I have stopped with ctrl c

Code: Select all

pmod chromium
Now I get:

Code: Select all

[porteus guest]# pmod google-chrome
error: target not found: google-chrome
 Decompressing *.zst 
loading packages...
error: '/tmp/pman.LXK2MY/pkg/*.zst': could not find or read package
 Stripping *.zst 

 Size before strip: 
 24K
 Size after strip: 
 20K

/tmp
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on /tmp/*.zst.xzm, block size 262144.
[|                                                                   ] 0/0 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 0.38 Kbytes (0.00 Mbytes)
	92.81% of uncompressed filesystem size (0.41 Kbytes)
Inode table size 118 bytes (0.12 Kbytes)
	72.84% of uncompressed inode table size (162 bytes)
Directory table size 99 bytes (0.10 Kbytes)
	100.00% of uncompressed directory table size (99 bytes)
Number of duplicate files found 0
Number of inodes 5
Number of files 0
Number of fragments 0
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 5
Number of hard-links 0
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)

4.0K	/tmp/*.zst.xzm

 ERROR: Module directory is not mounted or unwritable. 
Please manually copy the modules to your module directory.

 Your modules are in the /tmp folder: 
*.zst.xzm

Packages were removed from /tmp/pman.LXK2MY/pkg.

[porteus guest]# 
Any cue as to what I have to do to restore pmod?

Thanks.
Prendre son temps, profiter de celui qui passe.

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

pmod use and nemesis

Post#2 by ncmprhnsbl » 04 Apr 2025, 01:00

? did pmod chromium work? or are you saying that you clt-c 'd it? that shouldn't be a problem..
hint: do pacman -Ss google-chrome < which will return nothing, since that package doesn't exist
(just noticed that pman -Ss is a bit broken, so don't use that)
at the moment, since error handling is deficient in pman, it'll continue even if there's no package to work with..
so.. until that's fixed, it's best to input packages that exist in the database .. ie. search (pacman -Ss) for a name first.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

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

pmod use and nemesis

Post#3 by ncmprhnsbl » 04 Apr 2025, 03:27

ncmprhnsbl wrote:
04 Apr 2025, 01:00
so.. until that's fixed, it's best to input packages that exist in the database .. ie. search (pacman -Ss) for a name first.
ok, have uploaded a quick fix for this:
:dl-green: pman-fix.xzm
this should:
  • allow searching(-Ss)(and probably other non package fetching operations) without triggering an attempt to build a module from nothing
  • allow for wrong package name input without triggering an attempt to build a module from nothing (will output: error: target not found)
still needs some redesigning for saner operation, but should work for now
oh, and i should mention the alias that uses fzf + pacman + pmod : fzpmod which leverages fzf fuzzyfinding abilities on the package database to find(or not) what you're looking for.
and (in terminal)type alias to see the other variations on this. (and wtf for a bunch of other useful shell functions.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6514
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

pmod use and nemesis

Post#4 by francois » 04 Apr 2025, 11:39

Downloaded pman-fix and activated.

Code: Select all

[porteus applications]# pman chromium
error: no operation specified (use -h for help)
[porteus applications]# pman -F chromium
warning: database file for 'system' does not exist (use '-Fy' to download)
warning: database file for 'world' does not exist (use '-Fy' to download)
warning: database file for 'galaxy' does not exist (use '-Fy' to download)
warning: database file for 'extra' does not exist (use '-Fy' to download)
[porteus applications]# pacman -Ss chromium
world/fcitx-mozc 2.26.4666.102.gd359f60-1
    Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and
    Linux (the Open Source Edition of Google Japanese Input)
world/fcitx5-mozc 2.30.5618.102.g0cbb8f1-1
    Fcitx5 Module of A Japanese Input Method for Chromium OS, Windows, Mac and
    Linux (the Open Source Edition of Google Japanese Input)
world/passff-host 1:1.2.4-1
    PassFF native messaging host application for Firefox, Chromium, Chrome,
    Vivaldi
world/python-playwright 1.49.1-2
    A Python library to automate Chromium, Firefox and WebKit browsers with a
    single API
world/qt5-webengine 5.15.18-5 (qt5)
    Provides support for web applications using the Chromium browser project
world/qt6-webengine 6.8.1-1 (qt6)
    Provides support for web applications using the Chromium browser project
galaxy/chromium-bsu 0.9.16.1-2
    A fast paced top scrolling shooter
extra/browserpass-chromium 3.8.0-2
    Chromium extension for Browserpass, browser extension for zx2c4's pass
    (password manager)
extra/chromium 131.0.6778.204-1
    A web browser built for speed, simplicity, and security
extra/chromium-bsu 0.9.16.1-2
    A fast paced top scrolling shooter
extra/fcitx-mozc 2.26.4360.102.gca82d39-2
    Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and
    Linux (the Open Source Edition of Google Japanese Input)
extra/fcitx5-mozc 2.30.5618.102.g0cbb8f1-1
    Fcitx5 Module of A Japanese Input Method for Chromium OS, Windows, Mac and
    Linux (the Open Source Edition of Google Japanese Input)
extra/passff-host 1:1.2.4-1
    PassFF native messaging host application for Firefox, Chromium, Chrome,
    Vivaldi
extra/python-playwright 1.49.1-2
    A Python library to automate Chromium, Firefox and WebKit browsers with a
    single API
extra/qt5-webengine 5.15.18-5 (qt5)
    Provides support for web applications using the Chromium browser project
extra/qt6-webengine 6.8.1-1 (qt6)
    Provides support for web applications using the Chromium browser project
extra/ublock-origin 1.61.2-1
    Efficient blocker add-on for various browsers. Fast, potent, and lean
    (unpacked webextension)
[porteus applications]# pman chromium 131.0.6778.204-1
error: no operation specified (use -h for help)
[porteus applications]# pman -F chromium 131.0.6778.204-1
warning: database file for 'system' does not exist (use '-Fy' to download)
warning: database file for 'world' does not exist (use '-Fy' to download)
warning: database file for 'galaxy' does not exist (use '-Fy' to download)
warning: database file for 'extra' does not exist (use '-Fy' to download)
[porteus applications]# 

Thanks.
Prendre son temps, profiter de celui qui passe.

Post Reply