[Porteus 5.0's USM replacement] getmod: A wrapper for slapt-get to build modules

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
kultex
Black ninja
Black ninja
Posts: 71
Joined: 30 Dec 2015, 12:11
Distribution: Porteus 4.0 XFCE
Location: Austria

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#16 by kultex » 23 Aug 2022, 17:11

:worthy: :worthy: :worthy: THX soooooooooooooo much babam :worthy: :worthy: :worthy:

now I am absolutley happy with Porteus 5.0

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#17 by Rava » 26 Aug 2022, 19:30

babam wrote:
20 Aug 2022, 11:49
Note: Before running getmod (slapt-get) to download/build the module it is highly recommended to do this step

Code: Select all

cd /var/lib/pkgtools/packages
sudo ln -s gtk3-classic-3.24.33-x86_64-1ncm gtk+3-3.24.33-x86_64-1ncm
sudo ln -s boost-stripped-1.78.0-x86_64-2_slack15.0 boost-1.78.0-x86_64-2_slack15.0
sudo ln -s llvm-stripped-13.0.0-x86_64-2 llvm-13.0.0-x86_64-2
Why not add these symlinks into 011-slapt-get-0.11.6-x86_64-2gv.xzm ?
Cheers!
Yours Rava

rych
Warlord
Warlord
Posts: 621
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#18 by rych » 28 Aug 2022, 08:50

babam, getmod might be getting dependencies that are already installed. Compare:

Code: Select all

root@porteus:~# getmod -m ibus-1.5.25-x86_64-5
Reading Package Lists...Done
The following NEW packages will be installed:
  pango gtk+2 gtk+3 ibus  for
to

Code: Select all

root@porteus:~# pmod -m ibus-1.5.25-x86_64-5
Looking for ibus-1.5.25-x86_64-5 in package list. Please wait... DONE
[1/1]	Package: ibus-1.5.25-x86_64-5.txz
Indeed I checked and it seems the getmod-made module includes pango, gtk+2, gtk+3, that are already in my system?

Also in what you some reason recommend: ln -s gtk3-classic-3.24.33-x86_64-1ncm gtk+3-3.24.33-x86_64-1ncm,there is a typo perhaps:

Code: Select all

root@porteus:~# ls /var/lib/pkgtools/packages/gtk3-classic-3.24.33-x86_64-1ncm
/bin/ls: cannot access '/var/lib/pkgtools/packages/gtk3-classic-3.24.33-x86_64-1ncm': No such file or directory
root@porteus:~# ls /var/lib/pkgtools/packages/gtk3-classic-3.24.33-x86_64-2ncm
/var/lib/pkgtools/packages/gtk3-classic-3.24.33-x86_64-2ncm

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#19 by babam » 28 Aug 2022, 09:25

rych wrote:
28 Aug 2022, 08:50
babam, getmod might be getting dependencies that are already installed. Compare:

Code: Select all

root@porteus:~# getmod -m ibus-1.5.25-x86_64-5
Reading Package Lists...Done
The following NEW packages will be installed:
  pango gtk+2 gtk+3 ibus  for
to

Code: Select all

root@porteus:~# pmod -m ibus-1.5.25-x86_64-5
Looking for ibus-1.5.25-x86_64-5 in package list. Please wait... DONE
[1/1]	Package: ibus-1.5.25-x86_64-5.txz
Indeed I checked and it seems the getmod-made module includes pango, gtk+2, gtk+3, that are already in my system?

Also in what you some reason recommend: ln -s gtk3-classic-3.24.33-x86_64-1ncm gtk+3-3.24.33-x86_64-1ncm,there is a typo perhaps:

Code: Select all

root@porteus:~# ls /var/lib/pkgtools/packages/gtk3-classic-3.24.33-x86_64-1ncm
/bin/ls: cannot access '/var/lib/pkgtools/packages/gtk3-classic-3.24.33-x86_64-1ncm': No such file or directory
root@porteus:~# ls /var/lib/pkgtools/packages/gtk3-classic-3.24.33-x86_64-2ncm
/var/lib/pkgtools/packages/gtk3-classic-3.24.33-x86_64-2ncm
You just need to enter the package name (no version-architecture required)

Code: Select all

# getmod -m ibus
Before you run getmod -m ibus do these package names exist:

Code: Select all

ls /var/lib/pkgtools/packages/gtk+2-*
ls /var/lib/pkgtools/packages/gtk+3-*
ls /var/lib/pkgtools/packages/pango-*
On Porteus 5.0 GNOME ---> gtk3-classic-3.24.33-x86_64-1ncm

gtk+3 and gtk3-classic are different package names
boost and boost-stripped are different package names

Your system has gtk+2?

Code: Select all

ls /var/lib/pkgtools/packages/gtk+2*
Thanks.
Sorry, my English is bad.

rych
Warlord
Warlord
Posts: 621
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#20 by rych » 28 Aug 2022, 10:38

babam, before and after running getmod -m ibus I have:

Code: Select all

root@porteus:~# cd /var/lib/pkgtools/packages/
root@porteus:/var/lib/pkgtools/packages# ls gtk+2-* gtk+3-* pango-*
/bin/ls: cannot access 'gtk+2-*': No such file or directory
/bin/ls: cannot access 'gtk+3-*': No such file or directory
pango-1.50.6-x86_64-1-ncm
root@porteus:/var/lib/pkgtools/packages# 
getmod downloaded these, notice an older pango:

Code: Select all

root@porteus:~# ls /tmp/getmod/ibus/slackware64/l
gtk+2-2.24.33-x86_64-2.txz  pango-1.48.11-x86_64-1.txz
gtk+3-3.24.31-x86_64-1.txz
Also:

Code: Select all

root@porteus:~# ls /var/lib/pkgtools/packages/gtk+2*
/bin/ls: cannot access '/var/lib/pkgtools/packages/gtk+2*': No such file or directory
root@porteus:~# ls /var/lib/pkgtools/packages/gtk*
/var/lib/pkgtools/packages/gtk3-classic-3.24.33-x86_64-2ncm
/var/lib/pkgtools/packages/gtkdialog-git-20220205-x86_64-1ncm
/var/lib/pkgtools/packages/gtkmm3-3.24.5-x86_64-1
And indeed I don't have 1ncm, but 2ncm

Code: Select all

root@porteus:/var/lib/pkgtools/packages# ls gtk3-classic-3.24.33-x86_64-*
gtk3-classic-3.24.33-x86_64-2ncm

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#21 by babam » 28 Aug 2022, 10:51

rych, Therefore I highly recommend this step (it has been updated) slapt-get: slapt-get is an APT like system for Slackware package management. (Post by babam #89197)
Sorry, my English is bad.

rych
Warlord
Warlord
Posts: 621
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#22 by rych » 28 Aug 2022, 11:04

babam, it still wants to get extra packages (minus gtk+3):

Code: Select all

root@porteus:/var/lib/pkgtools/packages# ln -s gtk3-classic* gtk+3-3.24.33-x86_64-1
root@porteus:/var/lib/pkgtools/packages# ln -s boost-stripped* boost-1.78.0-x86_64-1
root@porteus:/var/lib/pkgtools/packages# ln -s llvm-stripped* llvm-13.0.0-x86_64-1
root@porteus:/var/lib/pkgtools/packages# getmod -m ibus 
Reading Package Lists...Done
The following NEW packages will be installed:
  pango gtk+2 ibus 
maybe it's okay, but pango is definitely older, and gtk+2 might not be needed: the ibus module made from pmod kind of worked without any of the above dependencies. Actually, an interesting question: does Porteus 5.0 OpenBox ever needs Gtk2? There is an official bundle provided, but I didn't install it and it seems to be fine?

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#23 by babam » 28 Aug 2022, 11:16

rych, slapt-get is not perfect, if pmod can perform well then use pmod.
Sorry, my English is bad.

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#24 by ncmprhnsbl » 29 Aug 2022, 02:24

rych wrote:
28 Aug 2022, 11:04
Actually, an interesting question: does Porteus 5.0 OpenBox ever needs Gtk2? There is an official bundle provided, but I didn't install it and it seems to be fine?
the bundle is provided as a convenience for those who want to use some app(or app version) out there that still uses gtk+2.. (eg. gftp or palemoon gtk2 version or ?)
there's nothing in any of the base modules or DEs that requires it nowdays.. (there's an xfce4.12 DE module in the forums available that also uses/includes it)
rych wrote:
28 Aug 2022, 11:04
maybe it's okay, but pango is definitely older, and gtk+2 might not be needed:
yep, a link for the pango package should probly be done too..
in the future, it might be good to do links like this for all custom packages that are in slackware official repo (and named differently) in the base modules..
as for ibus and gtk+2, i'd say that it's built with both gtk+3 and gtk+2 support, so can use either( it's only for some gui, which i don't know if is any use to you)
and, as is often the case with dependencies in package managers, 'make' and 'optional' deps can get pulled in as "really needed" deps, even though their not..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

rych
Warlord
Warlord
Posts: 621
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#25 by rych » 30 Aug 2022, 09:33

ncmprhnsbl, thanks, and by the way beny is able to get more hits from his pmod by using a "slackpkg+ configure" and he says it's already included but I searched for "slackpkg+" on my system and got 2 uninteresting hits:

Code: Select all

/mnt/live/memory/images/001-core.xzm/var/lib/pkgtools/packages/slackpkg+-1.8.0-noarch-3mt
/var/lib/pkgtools/packages/slackpkg+-1.8.0-noarch-3mt
How to use slackpkg+ config to discover non-standards packages?

2. Bonus question: just to confirm that Porteus 5.0 is on Slackware 15 and behind Slackware Current?!

beny
Full of knowledge
Full of knowledge
Posts: 2083
Joined: 02 Jan 2011, 11:33
Location: italy

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#26 by beny » 30 Aug 2022, 15:03

hi rych the slackpkg+ is like the pmod wrapper you can't see it but if you search for packages you have to add the repository at slackpkgplus.config and in console slackpkg upgrade when you have the repository marked,and make a search for not a whole word you see like sbo you have to see the configure that i have posted above and save it and put on slackpkg directory in /etc

Code: Select all

  guest@porteus:~$ sudo slackpkg search vlc

Looking for vlc in package list. Please wait... DONE

The list below shows all packages with name matching "vlc".

[unin] restricted : npapi-vlc-20171129-x86_64-1alien
[unin] restricted : vlc-3.0.17.4-x86_64-1alien
[unin] restricted : vlc2-2.2.8-x86_64-4alien
[mask] alienbob   : npapi-vlc-20171129-x86_64-1alien
[mask] alienbob   : vlc-3.0.17.4-x86_64-1alien
[mask] alienbob   : vlc2-2.2.8-x86_64-4alien
[mask] ponce      : vlc-3.0.16-x86_64-2ponce

You can search specific files using "slackpkg file-search file".


guest@porteus:~$ sudo slackpkg search parole

Looking for parole in package list. Please wait... DONE

No package name matches the pattern.

guest@porteus:~$ sudo slackpkg search libreoffice

Looking for libreoffice in package list. Please wait... DONE

The list below shows all packages with name matching "libreoffice".

[unin] alienbob : libreoffice-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-af-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-ar-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-be-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-bg-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-bn-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-br-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-bs-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-ca-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-cs-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-da-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-de-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-el-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-en-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-es-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-et-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-fr-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-gl-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-he-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-hi-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-hr-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-hu-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-is-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-it-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-lt-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-lv-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-nl-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-pl-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-pt-BR-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-pt-PT-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-ro-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-ru-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-si-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-sk-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-sl-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-sr-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-sv-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-sw-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-te-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-th-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-uk-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-vi-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-dict-zu-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-kde-integration-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-af-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ar-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-be-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-bg-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-bn-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-bo-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-br-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-bs-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ca-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-cs-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-cy-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-da-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-de-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-el-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-en_GB-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-eo-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-es-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-et-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-eu-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-fa-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-fi-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-fr-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ga-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-gl-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-he-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-hi-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-hr-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-hu-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-id-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-is-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-it-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ja-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-kn-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ko-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-lt-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-lv-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ml-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-mr-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-nb-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-nl-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-nn-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-or-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-pa_IN-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-pl-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-pt-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-pt_BR-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ro-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ru-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-sa_IN-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-si-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-sk-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-sl-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-sr-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-sv-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-sw_TZ-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ta-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-te-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-th-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-tr-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-uk-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-ve-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-vi-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-xh-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-zh_CN-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-zh_TW-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-l10n-zu-7.4.0-x86_64-1alien
[unin] alienbob : libreoffice-sdkdoc-7.4.0-noarch-1alien

You can search specific files using "slackpkg file-search file".


guest@porteus:~$ sudo slackpkg search sbo

Looking for sbo in package list. Please wait... DONE

The list below shows all packages with name matching "sbo".

[unin] alienbob    : dosbox-0.74.3-x86_64-1alien
[unin] slackware64 : kaddressbook-21.12.1-x86_64-1
[mask] ponce       : dosbox-0.74.3-x86_64-1ponce

You can search specific files using "slackpkg file-search file".


guest@porteus:~$ 

                                                                                                       

rych
Warlord
Warlord
Posts: 621
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#27 by rych » 31 Aug 2022, 09:33

beny, ncmprhnsbl, I've found the /etc/slackpkg/slackpkgplus.conf. You suggest uncommenting and adding some mirrors so the relevant part of that config becomes:

Code: Select all

# List repositories you want to use (defined below)
# remember to launch 'slackpkg update' if you modify this row.
#REPOPLUS=( slackpkgplus restricted alienbob )
REPOPLUS=( slackpkgplus slackonly restricted alienbob ponce )


# Define mirrors (uncomment one or more mirror; remember to add it to REPOPLUS)
# GPG Note: after adding/renaming a repository, you must to run 'slackpkg update gpg';
#           some repositories as salixos, have a partial GPG support;
#           for that repositories you may need to run slackpkg with 'slackpkg -checkgpg=off ...'

# Slackware 15.0 - x86_64
#MIRRORPLUS['multilib']=https://slackware.nl/people/alien/multilib/15.0/
MIRRORPLUS['alienbob']=https://slackware.nl/people/alien/sbrepos/15.0/x86_64
MIRRORPLUS['restricted']=https://slackware.nl/people/alien/restricted_sbrepos/15.0/x86_64
MIRRORPLUS['slackonly']=https://packages.slackonly.com/pub/packages/15.0-x86_64/
#MIRRORPLUS['salixos']=https://download.salixos.org/{i486,x86_64}/15.0/
# use this to keep the slackpkg+ package updated to the latest stable release
MIRRORPLUS['slackpkgplus']=https://slakfinder.org/slackpkg+15/
MIRRORPLUS['ponce']=http://ponce.cc/slackware/slackware64-15.0/packages/
Also adding as the last line:

Code: Select all

#ponce          http://ponce.cc/slackware/slackware64-15.0/packages/

rych
Warlord
Warlord
Posts: 621
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#28 by rych » 31 Aug 2022, 09:52

Anyway, before applying your patch:

Code: Select all

root@porteus:~# slackpkg update

Updating the package lists...
	Downloading...
                Signatures
2022-08-31 21:32:03 URL:https://mirrors.slackware.com/slackware/slackware64-15.0/CHECKSUMS.md5.asc [163/163] -> "/tmp/slackpkg.PlPD53/CHECKSUMS.md5.asc" [1]
2022-08-31 21:32:04 URL:https://slakfinder.org/slackpkg+15/CHECKSUMS.md5.asc [455/455] -> "/tmp/slackpkg.PlPD53/CHECKSUMS.md5-slackpkgplus.asc" [1]
Files //var/lib/slackpkg/CHECKSUMS.md5.asc and /tmp/slackpkg.PlPD53/CHECKSUMS.md5.asc differ

	Downloading...
                ChangeLogs
2022-08-31 21:32:07 URL:https://mirrors.slackware.com/slackware/slackware64-15.0/ChangeLog.txt [1925265/1925265] -> "/tmp/slackpkg.PlPD53/ChangeLog.txt" [1]
		List of all files
2022-08-31 21:32:12 URL:https://mirror.lagoon.nc/slackware/slackware64-15.0/patches/MANIFEST.bz2 [11248002/11248002] -> "/tmp/slackpkg.PlPD53/patches-MANIFEST.bz2" [1]
2022-08-31 21:32:13 URL:https://mirror.lagoon.nc/slackware/slackware64-15.0/slackware64/MANIFEST.bz2 [4199768/4199768] -> "/tmp/slackpkg.PlPD53/slackware64-MANIFEST.bz2" [1]
2022-08-31 21:32:15 URL:https://mirror.lagoon.nc/slackware/slackware64-15.0/extra/MANIFEST.bz2 [1641100/1641100] -> "/tmp/slackpkg.PlPD53/extra-MANIFEST.bz2" [1]
2022-08-31 21:32:16 URL:https://mirror.lagoon.nc/slackware/slackware64-15.0/pasture/MANIFEST.bz2 [127791/127791] -> "/tmp/slackpkg.PlPD53/pasture-MANIFEST.bz2" [1]
2022-08-31 21:32:17 URL:https://mirror.lagoon.nc/slackware/slackware64-15.0/testing/MANIFEST.bz2 [34527/34527] -> "/tmp/slackpkg.PlPD53/testing-MANIFEST.bz2" [1]
2022-08-31 21:32:19 URL:https://slakfinder.org/slackpkg+15/MANIFEST.bz2 [590/590] -> "/tmp/slackpkg.PlPD53/SLACKPKGPLUS_slackpkgplus-MANIFEST.bz2" [1]
		Checksums
2022-08-31 21:32:22 URL:https://mirrors.slackware.com/slackware/slackware64-15.0/CHECKSUMS.md5 [1148224/1148224] -> "/tmp/slackpkg.PlPD53/CHECKSUMS.md5" [1]
2022-08-31 21:32:23 URL:https://slakfinder.org/slackpkg+15/CHECKSUMS.md5 [2253/2253] -> "/tmp/slackpkg.PlPD53/CHECKSUMS.md5-slackpkgplus" [1]
                Done.
		Package List
2022-08-31 21:32:24 URL:https://mirror.lagoon.nc/slackware/slackware64-15.0/FILELIST.TXT [1498899/1498899] -> "/tmp/slackpkg.PlPD53/FILELIST.TXT" [1]
		Package descriptions
2022-08-31 21:32:26 URL:https://mirror.lagoon.nc/slackware/slackware64-15.0/patches/PACKAGES.TXT [34149/34149] -> "/tmp/slackpkg.PlPD53/patches-PACKAGES.TXT" [1]
2022-08-31 21:32:27 URL:https://mirror.lagoon.nc/slackware/slackware64-15.0/PACKAGES.TXT [864745/864745] -> "/tmp/slackpkg.PlPD53/slackware64-PACKAGES.TXT" [1]
2022-08-31 21:32:29 URL:https://mirror.lagoon.nc/slackware/slackware64-15.0/extra/PACKAGES.TXT [36544/36544] -> "/tmp/slackpkg.PlPD53/extra-PACKAGES.TXT" [1]
2022-08-31 21:32:29 URL:https://mirrors.slackware.com/slackware/slackware64-15.0/pasture/PACKAGES.TXT [1477/1477] -> "/tmp/slackpkg.PlPD53/pasture-PACKAGES.TXT" [1]
2022-08-31 21:32:30 URL:https://mirrors.slackware.com/slackware/slackware64-15.0/testing/PACKAGES.TXT [728/728] -> "/tmp/slackpkg.PlPD53/testing-PACKAGES.TXT" [1]
2022-08-31 21:32:32 URL:https://slakfinder.org/slackpkg+15/PACKAGES.TXT [624/624] -> "/tmp/slackpkg.PlPD53/SLACKPKGPLUS_slackpkgplus-PACKAGES.TXT" [1]
	Formatting lists to slackpkg style...
		Package List: using CHECKSUMS.md5 as source
		Package descriptions
With your patch (overwritten the whole slackpkgplus.conf with your version) this happens:

Code: Select all

root@porteus:~# slackpkg update

Updating the package lists...
	Downloading...
                Signatures
2022-08-31 21:35:50 URL:https://mirrors.slackware.com/slackware/slackware64-15.0/CHECKSUMS.md5.asc [163/163] -> "/tmp/slackpkg.aMIMk4/CHECKSUMS.md5.asc" [1]
2022-08-31 21:35:52 URL:https://slakfinder.org/slackpkg+15/CHECKSUMS.md5.asc [455/455] -> "/tmp/slackpkg.aMIMk4/CHECKSUMS.md5-slackpkgplus.asc" [1]
failed: Connection timed out.
failed: Connection timed out.
failed: Connection timed out.
failed: Connection timed out.
^C

beny
Full of knowledge
Full of knowledge
Posts: 2083
Joined: 02 Jan 2011, 11:33
Location: italy

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#29 by beny » 31 Aug 2022, 10:50

hi rych left the script running, i have the same issue but after a while the upgrade is complete, seem wget do not lock the adress of repository,i think the issue is for the work in progress of the slackpkg+ you can read the thread on linux questions if you like.

rych
Warlord
Warlord
Posts: 621
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#30 by rych » 03 Sep 2022, 06:57

OK, today after running

Code: Select all

slackpkg update gpg
slackpkg update
it finally updated. With connection errors, for example, slackonly not working. Please post here new repositorires for Slackware 15 (still I'm curious why not on Slackware Current). Anyway, now both package management solutions find me some options, for example

Code: Select all

root@porteus:~# getmod -s calibre
calibre-bin-5.43.0-x86_64-1salix15.0  (Ebook manager)

root@porteus:~# pmod -s calibre
Looking for calibre in package list. Please wait... DONE
The list below shows all packages with name matching "calibre".
[unin] alienbob : calibre-5.43.0-x86_64-1alien
[unin] alienbob : calibre2-2.85.1-x86_64-1alien
[mask] ponce    : calibre-3.48.0-x86_64-1ponce

Post Reply