getmod: some problems and considerations
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
getmod: some problems and considerations
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.
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.
Prendre son temps, profiter de celui qui passe.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
getmod: some problems and considerations
Here is an error message while using getmod to build gimp:
Any thoughts about what is going wrong?
Thanks.
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:~#
Thanks.
Prendre son temps, profiter de celui qui passe.
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
getmod: some problems and considerations
GIMP is already installed.francois wrote: ↑22 Feb 2023, 12:09Here is an error message while using getmod to build gimp:Any thoughts about what is going wrong?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
Thanks.
What if you answered n?
Sorry, my English is bad.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
getmod: some problems and considerations
@babam:
Funny, now look at what I get:
@ed:
PPM=porteus package manager
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]
PPM=porteus package manager
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8374
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
getmod: some problems and considerations
francois wrote: ↑23 Feb 2023, 23:31Funny, 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]
Other than you not replying with a "y" I don't see the difference.francois wrote: ↑22 Feb 2023, 12:09Code: 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
Ed
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
getmod: some problems and considerations
Put on your glasses and read post #2.
Prendre son temps, profiter de celui qui passe.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
getmod: some problems and considerations
@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.
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.
Prendre son temps, profiter de celui qui passe.
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
getmod: some problems and considerations
francois,
Only the Salix and Slint repositories support slap-get.
To add Slint:
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
Sorry, my English is bad.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
getmod: some problems and considerations
@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.
Did your read this thread with Alien bob comments?
https://www.linuxquestions.org/question ... 175460439/
It says that alien repo is slapt-get ready.
Prendre son temps, profiter de celui qui passe.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
getmod: some problems and considerations
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.
Presently I am testing them. If you want to do so too, do.
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/
Prendre son temps, profiter de celui qui passe.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
getmod: some problems and considerations
@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.
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.
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8374
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
getmod: some problems and considerations
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
Ed
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
getmod: some problems and considerations
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.
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.
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8374
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
getmod: some problems and considerations
Apparently date last updated.francois wrote: ↑27 Feb 2023, 12:141) What is the difference between:
SOURCE=http://taper.alienbase.nl/slackpkgplus/
and
SOURCE=https://slackware.nl/people/alien/sbrepos/15.0/x86_64
I use getmod.
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:142) 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.
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.
Ed