Page 1 of 2

getmod: some problems and considerations

Posted: 22 Feb 2023, 12:07
by francois
I am using getmod with very few problems up to now. The reason for starting this thread is that I want to understand this wrapper that seemed to be based on slapt-get. Please share your understanding of the thing, that seems to be replacing PPM USM . Will it be the real thing? (old coca-cola fans will understand).

However, when talking about getmod we are also talking about slapt-get (gslapt) in particular, and about package management in general. To begin slapt-get (gslapt) will be frequently referred to, as it seems that getmod is a simple wrapper based on slapt-get.

Repositories.
Porteus provides slapt-get with the repositories of salix. However, it is possible to add additional repositories. Which ones should you have?

As the prebuilt slackware pasture does not have all you need. There are distributions that have wider fields, like archlinux or ubuntu, it might pertinent to have a custom repo on your own linux box. Is this a good idea? Could it eventually be offered as a source to the community? Or is it overkill?

Other topics.
***

Wel structured information on slapt-get from vector linux documentation.
https://distro.ibiblio.org/vectorlinux/ ... tapackages

Note that vector linux is dead. :(

getmod: some problems and considerations

Posted: 22 Feb 2023, 12:09
by francois
Here is an error message while using getmod to build gimp:

Code: Select all

root@porteus:~# getmod -m gimp
Reading Package Lists...Done
gimp is up to date.
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.
Do you want to continue? [y/N] y

Done
basename: missing operand
Try 'basename --help' for more information.
find: ‘/tmp/gimp.7378’: No such file or directory
find: ‘/tmp/gimp.7378’: No such file or directory
find: ‘/tmp/gimp.7378’: No such file or directory
find: ‘/tmp/gimp.7378’: No such file or directory
Cannot stat source directory "/tmp/gimp.7378" because No such file or directory
root@porteus:~# 
Any thoughts about what is going wrong?
Thanks.

getmod: some problems and considerations

Posted: 22 Feb 2023, 13:22
by babam
francois wrote:
22 Feb 2023, 12:09
Here is an error message while using getmod to build gimp:

Code: Select all

root@porteus:~# getmod -m gimp
Reading Package Lists...Done
gimp is up to date.
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.
Do you want to continue? [y/N] y
Any thoughts about what is going wrong?
Thanks.
GIMP is already installed.
What if you answered n?

getmod: some problems and considerations

Posted: 22 Feb 2023, 17:03
by Ed_P
francois wrote:
22 Feb 2023, 12:07
seems to be replacing PPM
:%) What the heck is PPM? Don't you mean USM?

getmod: some problems and considerations

Posted: 23 Feb 2023, 23:31
by francois
@babam:
Funny, now look at what I get:

Code: Select all

oot@porteus:~# getmod -m gimp
Reading Package Lists...Done
gimp is up to date.
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.
Do you want to continue? [y/N]
@ed:
PPM=porteus package manager

getmod: some problems and considerations

Posted: 24 Feb 2023, 06:09
by Ed_P
francois wrote:
23 Feb 2023, 23:31
Funny, now look at what I get:

Code: Select all

oot@porteus:~# getmod -m gimp
Reading Package Lists...Done
gimp is up to date.
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.
Do you want to continue? [y/N]
:%)
francois wrote:
22 Feb 2023, 12:09

Code: Select all

root@porteus:~# getmod -m gimp
Reading Package Lists...Done
gimp is up to date.
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.
Do you want to continue? [y/N] y
Other than you not replying with a "y" I don't see the difference. :unknown:

getmod: some problems and considerations

Posted: 24 Feb 2023, 11:44
by francois
Put on your glasses and read post #2. :ROFL:

getmod: some problems and considerations

Posted: 24 Feb 2023, 11:54
by francois
@babam:
Have you added some additional sources to your slapt-get installation? If so, how are you doing with your dependencies resolution on these non salix packages?

The problem that I found browsing on the subject of adding sources to slapt-get is that these additional sources might not contain the right FILES.TXT.

Good news, it seems that Alien bob provides this FILES.TXT with its sources:
https://www.linuxquestions.org/question ... 175460439/
SOURCE=http://connie.slackware.com/~alien/multilib/:CUSTOM

This could be added thru gslapt easily and thus provides additional pasture.

I will try to see if other repositories like:
slackware slackwarepatches slacky salix alien ponce slackonly slacky
satisfy the FILES.TXT requirement of slapt-get FAQ 17.

Slacky:
https://slacky.eu/

Otherwise, I will try to provide them for these additional repositories.

getmod: some problems and considerations

Posted: 24 Feb 2023, 12:42
by babam
francois,
Only the Salix and Slint repositories support slap-get.

To add Slint:

Code: Select all

SOURCE=https://slackware.uk/slint/x86_64/slint-15.0/:OFFICIAL

Code: Select all

md5sum /usr/bin/getmod
5f950c8798ec66c1cad7b9eba0ab49e2

getmod: some problems and considerations

Posted: 24 Feb 2023, 12:45
by francois
@babam:
Did your read this thread with Alien bob comments?
https://www.linuxquestions.org/question ... 175460439/
It says that alien repo is slapt-get ready.

getmod: some problems and considerations

Posted: 26 Feb 2023, 07:17
by francois
I have been doing some search on adding repositories for getmod thru slapt-get. The easiest way is with the gslapt interface, but you could also do it thru /etc/slapt-get/slapt-getrc. gslapt is a great way to make some search on the packages. Slapt-get provides a download without install option, for example.
slapt-get -i -d abiword

Here are those that I have been adding. Those are the repositories that were available on brokenman's USM.

Code: Select all

SOURCE=http://packages.slackonly.com/pub/packages/15.0-x86_64/
#DISABLED=SOURCE=file:///tmp/:CUSTOM
#DISABLED=http://slackware.org.uk/slacky/
SOURCE=https://slackware.nl/people/alien/sbrepos/15.0/x86_64/:PREFERRED
SOURCE=https://ponce.cc/slackware/slackware64-15.0/packages/
Presently I am testing them. If you want to do so too, do. B)

getmod: some problems and considerations

Posted: 26 Feb 2023, 11:50
by francois
@babam:
slapt-get is used by many distributions in addition to salix and slint, there is:
https://slackwiki.com/Slapt-get
zenwalk, absolute linux, slamd, vector linux and more.

Salix is against using multiple repos with slapt-get. Some other users work with it without problems. We did with USM using multiple repos. With porteus we can break the system with new packages, It is easy to repair. :)

getmod: some problems and considerations

Posted: 26 Feb 2023, 19:28
by Ed_P
francois wrote:
26 Feb 2023, 07:17
you could also do it thru /etc/slapt-get/slapt-getrc.
This is the slapt-getrc I'm using:

Code: Select all

# Working directory for local storage/cache.
WORKINGDIR=/var/slapt-get

# Exclude package names and expressions.
# To exclude pre and beta packages, add this to the exclude: 
#   [0-9\_\.\-]{1}pre[0-9\-\.\-]{1}
EXCLUDE=^aaa_elflibs,^aaa_base,^devs,^glibc.*,^kernel-.*,^rootuser-settings,^zzz-settings.*,-i?86-

# The Slackware repositories, including dependency information
SOURCE=http://slackware.uk/salix/x86_64/slackware-15.0/:OFFICIAL
SOURCE=http://slackware.uk/salix/x86_64/slackware-15.0/extra/:OFFICIAL

# The Salix repository
SOURCE=http://slackware.uk/salix/x86_64/15.0/:PREFERRED
# And the Salix extra repository
SOURCE=http://slackware.uk/salix/x86_64/extra-15.0/:OFFICIAL

# The Slakfinder repository
#SOURCE=https://slakfinder.org/sbomt64-15.0/:DEFAULT
# commented out since slakfinder.org not working at this point.
# Eric's US mirror
SOURCE=http://taper.alienbase.nl/slackpkgplus/

SOURCE=https://slackware.uk/csb/15.0/x86_64/
SOURCE=http://ponce.cc/slackware/slackware64-15.0/packages/

SOURCE=https://slackware.nl/people/alien/sbrepos/15.0/x86_64

# Local repositories
# SOURCE=file:///var/www/packages/:CUSTOM
See [Porteus 5.0's USM replacement] getmod: A wrapper for slapt-get to build modules (Post by Ed_P #92595) for details.

getmod: some problems and considerations

Posted: 27 Feb 2023, 12:14
by francois
We have a difference in the sources that we use. Let me comment and ask you some questions.

1) What is the difference between:
SOURCE=http://taper.alienbase.nl/slackpkgplus/
and
SOURCE=https://slackware.nl/people/alien/sbrepos/15.0/x86_64

Does that mean that you regularly use slpkg with slpkg+?

2) Using SOURCE=https://slackware.nl/people/alien/sbrepos/15.0/x86_64
have you had problems with dependencies resolution with ponce's packages?

3) Using SOURCE=https://slackware.uk/csb/15.0/x86_64/ for cinnamon, as I use xfce should I resort to
SOURCE=https://slackware.uk/gsb/15.0/x86_64/ gsb as for gnome desktop.

4) I see that you do not use a local source. Do you intend to do so or is because you do not really know how to set one?

Thanks for sharing. :)

getmod: some problems and considerations

Posted: 27 Feb 2023, 17:50
by Ed_P
francois wrote:
27 Feb 2023, 12:14
1) What is the difference between:
SOURCE=http://taper.alienbase.nl/slackpkgplus/
and
SOURCE=https://slackware.nl/people/alien/sbrepos/15.0/x86_64
:o Apparently date last updated.
francois wrote:
27 Feb 2023, 12:14
Does that mean that you regularly use slpkg with slpkg+?
I use getmod.
francois wrote:
27 Feb 2023, 12:14
2) Using SOURCE=https://slackware.nl/people/alien/sbrepos/15.0/x86_64
have you had problems with dependencies resolution with ponce's packages?

3) Using SOURCE=https://slackware.uk/csb/15.0/x86_64/ for cinnamon, as I use xfce should I resort to
SOURCE=https://slackware.uk/gsb/15.0/x86_64/ gsb as for gnome desktop.
I don't recall any problems and if I had one I posted it in the [Porteus 5.0's USM replacement] getmod: A wrapper for slapt-get to build modules thread.
francois wrote:
27 Feb 2023, 12:14
4) I see that you do not use a local source. Do you intend to do so or is because you do not really know how to set one?
Noone has posted a need for one at this point in the [Porteus 5.0's USM replacement] getmod: A wrapper for slapt-get to build modules thread.