missing pydoc module

Post here if you are a new Porteus member and you're looking for some help.
vinnie
Black ninja
Black ninja
Posts: 96
Joined: 13 Jun 2024, 08:25
Distribution: alpine

missing pydoc module

Post#16 by vinnie » 16 Jun 2024, 23:28

:good:

Okay, I tried it and it works.
I deleted everything but "/usr/lib64/python3.9/pydoc" by hand and then repackaged with dir2xzm.
I didn't quite understand what it was for but the removepkg command anyway seems not to be there and wasn't needed.
Thanks

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

missing pydoc module

Post#17 by ncmprhnsbl » 17 Jun 2024, 01:56

vinnie wrote:
16 Jun 2024, 23:28
I didn't quite understand what it was for but the removepkg command anyway seems not to be there and wasn't needed.
for future reference: removepkg is in /sbin so is only in root's PATH (so if you try to use it as guest, it won't be found)
and on a general note when building modules be sure to have the correct ownerships and permissions for files/directories.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

jjr
Black ninja
Black ninja
Posts: 48
Joined: 18 Nov 2023, 17:10
Distribution: 5.0

missing pydoc module

Post#18 by jjr » 17 Jun 2024, 04:08

[o/t]
Last edited by jjr on 17 Jun 2024, 07:06, edited 1 time in total.

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

missing pydoc module

Post#19 by ncmprhnsbl » 17 Jun 2024, 06:19

jjr wrote:
17 Jun 2024, 04:08
Long post, sorry. I just got triggered and worry a little.
:D np
if you look back to my post, i edited it(after you saw it), adding a revision with a similar conclusion to you, with the opposite expansion:

Code: Select all

[ "${1##*.}" != "xzm" ]
which strips everything but the .extension off
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

jjr
Black ninja
Black ninja
Posts: 48
Joined: 18 Nov 2023, 17:10
Distribution: 5.0

missing pydoc module

Post#20 by jjr » 17 Jun 2024, 07:06

ncmprhnsbl wrote:
17 Jun 2024, 06:19
jjr wrote:
17 Jun 2024, 04:08
Long post, sorry. I just got triggered and worry a little.
:D np
if you look back to my post, i edited it(after you saw it), adding a revision with a similar conclusion to you, with the opposite expansion:

Code: Select all

[ "${1##*.}" != "xzm" ]
which strips everything but the .extension off
Ah, nice :thumbup:
glad I was being useless :alone:

Post Reply