Page 1 of 1
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 02 Oct 2022, 14:37
by francois
slackpkg is a package fetcher without dependency resolution provided.
The fact that it does not resolve dependencies is mentioned here. Initially, I thought that it had dependencies resolution capabilities.
https://www.linuxquestions.org/question ... 175493466/
Final release of porteus 5.0 provided us with package managers and tools, namely slackpkg, slpkg, pmod and pkginfo.
Porteus-v5.0 is released!
I have tried to work with slackpkg which really interested me a few years ago.
Finding the fastest mirror
Code: Select all
guest@porteus:~$ fastest-mirror
Checking fastest mirror ...
Code: Select all
root@porteus:/home/guest# pkginfo -w slackpkg
Package: slackpkg+-1.8.0-noarch-3mt
located in Module: 001-core.xzm
root@porteus:/home/guest#
Lets update slackpkg:
Code: Select all
root@porteus:/home/guest# slackpkg update
Updating the package lists...
Downloading...
Signatures
2022-10-02 14:10:47 URL:https://mirrors.slackware.com/slackware/slackware64-15.0/CHECKSUMS.md5.asc [163/163] -> "/tmp/slackpkg.bVxUXj/CHECKSUMS.md5.asc" [1]
etc, etc.
Here it seems that pmod -u will do the same as slackpkg update:
Code: Select all
root@porteus:/home/guest# pmod -u
Updating the package lists...
Downloading...
Signatures
2022-10-02 14:24:04 URL:https://mirrors.slackware.com/slackware/slackware64-15.0/CHECKSUMS.md5.asc [163/163] -> "/tmp/slackpkg.cqGc6h/CHECKSUMS.md5.asc" [1]
Then searching for a package:
Code: Select all
root@porteus:/home/guest# slackpkg search libreoffice
Looking for libreoffice in package list. Please wait... DONE
No package name matches the pattern.
root@porteus:/home/guest# slackpkg search gnumeric
Looking for gnumeric in package list. Please wait... DONE
No package name matches the pattern.
No luck! Is there any packages not installed on the system that could be available?
Code: Select all
root@porteus:/home/guest# slackpkg search amp
Looking for amp in package list. Please wait... DONE
The list below shows all packages with name matching "amp".
[inst] slackware64 : libsamplerate-0.2.2-x86_64-1
[unin] slackware64 : amp-0.7.6-x86_64-5
You can search specific files using "slackpkg file-search file".
root@porteus:/home/guest# slackpkg search mozilla
Looking for mozilla in package list. Please wait... DONE
The list below shows all packages with name matching "mozilla".
[inst] slackware64 : mozilla-nss-3.74-x86_64-1
[unin] patches : mozilla-firefox-102.3.0esr-x86_64-1_slack15.0
[unin] patches : mozilla-thunderbird-102.3.1-x86_64-1_slack15.0
[mask] slackware64 : mozilla-firefox-91.5.1esr-x86_64-1
[mask] slackware64 : mozilla-thunderbird-91.5.1-x86_64-1
You can search specific files using "slackpkg file-search file".
Great, but as it seems not such a great a pasture. Normal because there is only what is available in slackware-15.0/slackware/:
https://mirrors.slackware.com/slackware ... slackware/
Is it possible to get additional repositories in there: alien, salix... ??
What do you think? (rych, beny... ... all of you)
Thanks for comments.
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 02 Oct 2022, 14:49
by francois
Or if I download any additionnal package from pkgs.org, where should I put it to be considered or manipulated by slackpkg?
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 02 Oct 2022, 15:57
by beny
hi francois better that you use slakfinder via browser not pkgs.org when you search a package you can click on the package name and show you the list of the files inside and the deps if have any...you have to use the babam package slapt-get if you want a rock solid package tool,search download and merge packages so you have to take it from /tmp and put on modules directory
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 02 Oct 2022, 16:19
by beny
hi francois try to add this in slackpkgplus config: or i think you have yet so you can play with repository if you like, is slackpkg+ that manage other repos not slackpkg but is easy to tweak,
# 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/restr ... 5.0/x86_64
MIRRORPLUS['slackonly']=
https://packages.slackonly.com/pub/pack ... .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/
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 02 Oct 2022, 16:30
by beny
guest@porteus:~$ sudo pmod -s 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".
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 03 Oct 2022, 23:34
by francois
Hello beny. Glad to read you. I hope you are doing well. Thanks for the cues.
Thru slackfinder on the web I fetched slakpkg+
txz2xzm alckpkg+
rebooted and in /etc/slackpkg/slackpkgplus.conf inserted the mirrors proposed by beny:
Code: Select all
MIRRORPLUS['alienbob']=https://slackware.nl/people/alien/sbrepos/15.0/x86_64
MIRRORPLUS['restricted']=https://slackware.nl/people/alien/restr ... 5.0/x86_64
MIRRORPLUS['slackonly']=https://packages.slackonly.com/pub/pack ... .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/
# use this to keep the slackpkg+ package updated to the latest stable release
MIRRORPLUS['slackpkgplus']=https://slakfinder.org/slackpkg+15/
Once slackpkg has been updated, you search the package you want with pmod, this because slackpkg will not build the modules for you. In the example below I searched and then build abiword.
Code: Select all
root@porteus:/home/guest# pmod -h
Options:
-u: update database
-s: search package
-S: search file
-g: download pkg only
-m: download and convert to module
-h: this usage
root@porteus:/home/guest# pmod -s abiword
/etc/slackpkg/slackpkgplus.conf: line 140: `MIRRORPLUS['restricted']': not a valid identifier
/etc/slackpkg/slackpkgplus.conf: line 140: ...: command not found
/etc/slackpkg/slackpkgplus.conf: line 141: `MIRRORPLUS['slackonly']': not a valid identifier
/etc/slackpkg/slackpkgplus.conf: line 141: ...: command not found
Looking for abiword in package list. Please wait... DONE
The list below shows all packages with name matching "abiword".
[inst] ponce : abiword-3.0.5-x86_64-1ponce
root@porteus:/home/guest#
Building abiword
Code: Select all
root@porteus:/home/guest# pmod -m abiword
/etc/slackpkg/slackpkgplus.conf: line 140: `MIRRORPLUS['restricted']': not a valid identifier
/etc/slackpkg/slackpkgplus.conf: line 140: ...: command not found
/etc/slackpkg/slackpkgplus.conf: line 141: `MIRRORPLUS['slackonly']': not a valid identifier
/etc/slackpkg/slackpkgplus.conf: line 141: ...: command not found
Looking for abiword in package list. Please wait... DONE
Preparing list [1/1]
slackpkg 15.0.10 / slackpkg+ 1.8.0
──────────────────────────────────────────────────────────────────────────────
┌─────────────────────────────download───────────────────────────────┐
│ Choose packages to download: │
│ ┌────────────────────────────────────────────────────────────────┐ │
│ │ [*] abiword-3.0.5-x86_64-1ponce.txz ponce │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
├─└────────────────────────────────────────────────────────────────┘─┤
│ < OK > <Cancel> │
└────────────────────────────────────────────────────────────────────┘
[1/1] Package: abiword-3.0.5-x86_64-1ponce.txz
--2022-10-04 00:52:33-- http://ponce.cc/slackware/slackware64-15.0/packages/abiword-3.0.5-x86_64-1ponce.txz
Resolving ponce.cc (ponce.cc)... 87.98.219.121
Connecting to ponce.cc (ponce.cc)|87.98.219.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5723492 (5.5M)
Saving to: '//var/cache/packages/./SLACKPKGPLUS_ponce/abiword-3.0.5-x86_64-1ponce.txz'
//var/cache/package 100%[===================>] 5.46M 318KB/s in 7.1s
2022-10-04 00:52:40 (789 KB/s) - '//var/cache/packages/./SLACKPKGPLUS_ponce/abiword-3.0.5-x86_64-1ponce.txz' saved [5723492/5723492]
--2022-10-04 00:52:40-- http://ponce.cc/slackware/slackware64-15.0/packages/abiword-3.0.5-x86_64-1ponce.txz.asc
Resolving ponce.cc (ponce.cc)... 87.98.219.121
Connecting to ponce.cc (ponce.cc)|87.98.219.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 801
Saving to: '//var/cache/packages/./SLACKPKGPLUS_ponce/abiword-3.0.5-x86_64-1ponce.txz.asc'
//var/cache/package 100%[===================>] 801 --.-KB/s in 0.003s
2022-10-04 00:52:40 (263 KB/s) - '//var/cache/packages/./SLACKPKGPLUS_ponce/abiword-3.0.5-x86_64-1ponce.txz.asc' saved [801/801]
Verifying package abiword-3.0.5-x86_64-1ponce.txz.
Installing package abiword-3.0.5-x86_64-1ponce.txz:
PACKAGE DESCRIPTION:
# abiword (a lightweight and featureful Word Processor)
#
# The AbiWord word processor is a lightweight and featureful
# productivity tool that is suitable for a wide variety of word
# processing tasks.
#
Executing install script for abiword-3.0.5-x86_64-1ponce.txz.
Package abiword-3.0.5-x86_64-1ponce.txz installed.
Creating /var/cache/packages/SLACKPKGPLUS_ponce/abiword-3.0.5-x86_64-1ponce.xzm
Your /var/cache/packages/SLACKPKGPLUS_ponce/abiword-3.0.5-x86_64-1ponce.txz module is in /tmp.
root@porteus:/home/guest#
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 04 Oct 2022, 01:04
by francois
Hum! It seems that all the dependencies are not there:
Code: Select all
root@porteus:/home/guest# abiword
abiword: error while loading shared libraries: libwv-1.2.so.4: cannot open shared object file: No such file or directory
root@porteus:/home/guest#
How to get that fixed?
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 04 Oct 2022, 09:55
by beny
hi francios maybe with a search: pmod do not manage deps but getmod do it so if you want a standalone package you can use pmod but for a different search better that you use getmod
guest@porteus:~$ sudo pmod -s wv
Looking for wv in package list. Please wait... DONE
The list below shows all packages with name matching "wv".
[unin] ponce : wvdial-1.61-x86_64-2ponce
[unin] ponce : wvstreams-4.6.1-x86_64-3ponce
[unin] slackonly : viewvc-1.1.20-noarch-1_slonly
[unin] slackonly : wv-1.2.9-x86_64-2_slonly
[mask] ponce : wv-1.2.9-x86_64-2ponce
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 04 Oct 2022, 13:05
by francois
There is no dependency resolution or tracking with slackpkg, but it seems that there would be with sbopkg package manager:
https://www.linuxquestions.org/question ... 175493466/
Trying getmod to find dependencies for slackpkg:
Code: Select all
root@porteus:/home/guest# getmod abiword
bash: getmod: command not found
root@porteus:/home/guest#
Searching getmod:
Code: Select all
root@porteus:/home/guest# pkginfo -w getmod
getmod is not in any modules.
root@porteus:/home/guest#
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 04 Oct 2022, 14:12
by beny
Code: Select all
guest@porteus:~$ sudo getmod -u
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/]... 0Done
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/]... Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/slackware-15.0/]... Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/15.0/]...Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/15.0/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/15.0/]...Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/extra-15.0/]... Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/extra-15.0/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Reading Package Lists...Done
Retrieving package data [https://slakfinder.org/sbomt64-15.0/]...Done
Retrieving patch list [https://slakfinder.org/sbomt64-15.0/]...Done
Retrieving checksum list [https://slakfinder.org/sbomt64-15.0/]...Done
Retrieving checksum signature [https://slakfinder.org/sbomt64-15.0/]...Done
Verifying checksum signature [https://slakfinder.org/sbomt64-15.0/]...No key for verification
Retrieving ChangeLog.txt [https://slakfinder.org/sbomt64-15.0/]...Done
Reading Package Lists...Done
Retrieving package data [http://ponce.cc/slackware/slackware64-15.0/packages/]...Done
Retrieving patch list [http://ponce.cc/slackware/slackware64-15.0/packages/]... Done
Retrieving checksum list [http://ponce.cc/slackware/slackware64-15.0/packages/]...Done
Retrieving checksum signature [http://ponce.cc/slackware/slackware64-15.0/packages/]...Done
Verifying checksum signature [http://ponce.cc/slackware/slackware64-15.0/packages/]...No key for verification
Retrieving ChangeLog.txt [http://ponce.cc/slackware/slackware64-15.0/packages/]...Done
Reading Package Lists...Done
Retrieving package data [https://slackware.nl/people/alien/sbrepos/15.0/x86_64/]...Done
Retrieving patch list [https://slackware.nl/people/alien/sbrepos/15.0/x86_64/]...Done
Retrieving checksum list [https://slackware.nl/people/alien/sbrepos/15.0/x86_64/]...Done
Retrieving checksum signature [https://slackware.nl/people/alien/sbrepos/15.0/x86_64/]...Done
Verifying checksum signature [https://slackware.nl/people/alien/sbrepos/15.0/x86_64/]...No key for verification
Retrieving ChangeLog.txt [https://slackware.nl/people/alien/sbrepos/15.0/x86_64/]...Done
Reading Package Lists...Done
guest@porteus:~$ sudo getmod -n abiword
getmod [-u] [-d|-m PACKAGE_NAME] [-s PATTERN]
Options:
-u: Update database
-d: Download only
-m: Download and build module
-s: Search package
-h: This usage
guest@porteus:~$ sudo getmod -m abiword
Reading Package Lists...Done
The following NEW packages will be installed:
libgsf goffice libwmf loudmouth wv abiword
0 upgraded, 0 reinstalled, 6 newly installed, 0 to remove, 0 not upgraded.
Need to get 6.8MB of archives.
Do you want to continue? [y/N]
francois the getmod is a wrapper to slapt-get and if you like resolve also the deps and for now the salix repos and the salix extra repos are the most complete repository for slackware 15,btw you can have other too.
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 05 Oct 2022, 00:28
by francois
I will get on the slapt-get thread to get the getmod wrapper. I did not knew that such a wrapper existed for slapt-get.
But before, I will try to get thru with slpkg.
Thanks for your patience beny.
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 05 Oct 2022, 16:19
by beny
francois you are welcome the last slpkg version do not have repository on his slpkg.yaml with this software you can only build the sbo slackbuild,seem that slackpkg is prefered in the packages search task but this is an impression of mine.
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 07 Oct 2022, 23:10
by francois
Finally, getmod work for slapt-get only.
slackpkg for porteus 5.0: where are the packages? Can we add repositories?
Posted: 07 Mar 2023, 03:49
by francois