LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slpkg : SlackBuild.org package manager (https://www.linuxquestions.org/questions/slackware-14/slpkg-slackbuild-org-package-manager-4175720937/)

marav 03-15-2023 03:23 PM

A new Release 4.6.0 for slpkg was published

Changelog:
Code:

4.6.0 - 14/03/2023
Updated:
- Dialog text help for dependencies
- For configs error messages
- Wget options, removed -N timestamping
Fixed:
- Summary for upgrade packages
- Process for KeyboardInterrupt
Added:
- Progress spinner and color to choose in the config

https://gitlab.com/dslackw/slpkg/blo.../ChangeLog.txt

marav 03-17-2023 05:28 AM

A new Release 4.6.1 for slpkg was published

Changelog:
Code:

4.6.1 - 15/03/2023
Updated:
- For empty arguments
- Checks for invalid options
- The error messages
Added:
- Vimdiff in the slpkg_new-configs command file (Thanks to tkor)

https://gitlab.com/dslackw/slpkg/blo.../ChangeLog.txt

marav 04-01-2023 08:43 AM

1 Attachment(s)
FYI

In parallel to continuous code improvement, many additions for the next release:
Code:

- Added repo ponce_bin
- Added multilib repo
- Added restricted repo
- Added slackel repo
- Added salixos repo
- Added salixos_extra repo
- Added slint repo
- Added slackonly repository
- Added conraid repository
- Added msb repository (MATE)
- Added csb repository (Cinnamon)
- Added gnome repository

Preview:

rizitis 04-01-2023 10:42 AM

And gnome :)

Ps. For current will be 43 and ,44 ;)

bittin_ 04-02-2023 07:42 AM

Installed this too try out now :)

marav 04-02-2023 01:48 PM

A new Release 4.7.0 for slpkg was published

Changelog:
Code:

4.7.0 - 02/04/2023
Updated:
- Checks for recurring options
- Improve speed and quality
Removed:
- File pattern from cli menu
Added:
- Binaries support repositories
- Sixteen binaries repositories
- Repositories information

https://gitlab.com/dslackw/slpkg/blo.../ChangeLog.txt

marav 04-02-2023 02:08 PM

fast as lightning

A new Release 4.7.1 for slpkg was published

Changelog:
Code:

4.7.1 - 02/04/2023
Fixed:
- TypeError: can only concatenate str (not "NoneType") to str

https://gitlab.com/dslackw/slpkg/blo.../ChangeLog.txt

rizitis 04-02-2023 02:40 PM

Here is an example for SLackware-current which I use.
/etc/slpkg/repositories.toml
Code:

################# REPOSITORIES CONFIGURATION FILE ######################
# The philosophy behind this is to have two repositories for          #
# Slackbuilds one for the Slackware stable and one for the -current    #
# and many binaries for all versions.                                  #
# Set 'true' to 'PONCE_REPO' to switch Slackbuild.org repository.      #
# Set 'true' to the binaries repositories you want to enable.          #
# Default is the 'sbo' Slackbuilds.org repository.                    #
########################################################################

########################################################################
# Note: Before using a repository, make sure you have read about it.  #
#      Some repositories are for -current only. Change the mirror if  #
#      it is necessary. The mirror should end with a slash '/'.      #
########################################################################

[REPOSITORIES]

  # Repository for Slackware 15.0 stable.
  SBO_REPO_NAME = "sbo"
  SBO_REPO_MIRROR = "https://slackbuilds.org/slackbuilds/15.0/"
  SBO_REPO_SLACKBUILDS = "SLACKBUILDS.TXT"
  SBO_REPO_CHANGELOG = "ChangeLog.txt"
  SBO_REPO_TAR_SUFFIX = ".tar.gz"
  SBO_REPO_TAG = "_SBo"

  # Repository for Slackware -current.
  PONCE_REPO = true
  PONCE_REPO_NAME = "ponce"
  PONCE_REPO_MIRROR = "https://cgit.ponce.cc/slackbuilds/plain/"
  PONCE_REPO_SLACKBUILDS = "SLACKBUILDS.TXT"
  PONCE_REPO_CHANGELOG = "ChangeLog.txt"
  PONCE_REPO_TAG = "_SBo"

  # Official repository for Slackware x86_64 15.0 stable.
  # For Slackware x86_64 -current:
  # https://slackware.uk/slackware/slackware64-current/
  SLACK_REPO = false
  SLACK_REPO_NAME = "slack"
  SLACK_REPO_MIRROR = "https://slackware.uk/slackware/slackware64-15.0/"
  SLACK_REPO_PACKAGES = "PACKAGES.TXT"
  SLACK_REPO_CHECKSUMS = "CHECKSUMS.md5"
  SLACK_REPO_CHANGELOG = "ChangeLog.txt"

  # Official repository for Slackware patches x86_64 15.0 stable.
  # For Slackware patches x86_64 -current:
  # https://slackware.uk/slackware/slackware64-current/extra/
  SLACK_EXTRA_REPO = true
  SLACK_EXTRA_REPO_NAME = "slack_extra"
  SLACK_EXTRA_REPO_MIRROR = "https://slackware.uk/slackware/slackware64-current/"
  SLACK_EXTRA_REPO_PACKAGES_MIRROR = "https://slackware.uk/slackware/slackware64-current/extra/"
  SLACK_EXTRA_REPO_PACKAGES = "PACKAGES.TXT"
  SLACK_EXTRA_REPO_CHECKSUMS = "CHECKSUMS.md5"
  SLACK_EXTRA_REPO_CHANGELOG = "ChangeLog.txt"

  # Official repository for Slackware patches x86_64 15.0 stable.
  # For Slackware patches x86_64 -current:
  # https://slackware.uk/slackware/slackware64-current/patches/
  SLACK_PATCHES_REPO = true
  SLACK_PATCHES_REPO_NAME = "slack_patches"
  SLACK_PATCHES_REPO_MIRROR = "https://slackware.uk/slackware/slackware64-current/"
  SLACK_PATCHES_REPO_PACKAGES_MIRROR = "https://slackware.uk/slackware/slackware64-current/patches/"
  SLACK_PATCHES_REPO_PACKAGES = "PACKAGES.TXT"
  SLACK_PATCHES_REPO_CHECKSUMS = "CHECKSUMS.md5"
  SLACK_PATCHES_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackware x86_64 15.0 stable.
  # For Slackware x86_64 -current:
  # http://slackware.uk/people/alien/sbrepos/current/x86_64/
  ALIEN_REPO = true
  ALIEN_REPO_NAME = "alien"
  ALIEN_REPO_MIRROR = "http://slackware.uk/people/alien/sbrepos/"
  ALIEN_REPO_PACKAGES_MIRROR = "http://slackware.uk/people/alien/sbrepos/current/x86_64/"
  ALIEN_REPO_PACKAGES = "PACKAGES.TXT"
  ALIEN_REPO_CHECKSUMS = "CHECKSUMS.md5"
  ALIEN_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackware x86_64 15.0 stable.
  # For Slackware x86_64 -current:
  # https://slackware.nl/people/alien/multilib/current/
  MULTILIB_REPO = false
  MULTILIB_REPO_NAME = "multilib"
  MULTILIB_REPO_MIRROR = "https://slackware.nl/people/alien/multilib/"
  MULTILIB_REPO_PACKAGES_MIRROR = "https://slackware.nl/people/alien/multilib/15.0/"
  MULTILIB_REPO_PACKAGES = "PACKAGES.TXT"
  MULTILIB_REPO_CHECKSUMS = "CHECKSUMS.md5"
  MULTILIB_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackware x86_64 15.0 stable.
  # For Slackware x86_64 -current:
  # https://slackware.nl/people/alien/restricted_sbrepos/current/x86_64/
  RESTRICTED_REPO = true
  RESTRICTED_REPO_NAME = "restricted"
  RESTRICTED_REPO_MIRROR = "https://slackware.nl/people/alien/restricted_sbrepos/"
  RESTRICTED_REPO_PACKAGES_MIRROR = "https://slackware.nl/people/alien/restricted_sbrepos/current/x86_64/"
  RESTRICTED_REPO_PACKAGES = "PACKAGES.TXT"
  RESTRICTED_REPO_CHECKSUMS = "CHECKSUMS.md5"
  RESTRICTED_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackware x86_64 15.0 stable.
  # For Slackware x86_64 -current:
  # https://reddoglinux.ddns.net/linux/gnome/43.x/x86_64/
  GNOME_REPO = true
  GNOME_REPO_NAME = "gnome"
  GNOME_REPO_MIRROR = "https://reddoglinux.ddns.net/linux/gnome/41.x/x86_64/"
  GNOME_REPO_PACKAGES = "PACKAGES.TXT"
  GNOME_REPO_CHECKSUMS = "CHECKSUMS.md5"
  GNOME_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackware x86_64 15.0 stable.
  # For Slackware x86_64 -current:
  # https://slackware.uk/msb/current/1.26/x86_64/
  MSB_REPO = false
  MSB_REPO_NAME = "msb"
  MSB_REPO_MIRROR = "https://slackware.uk/msb/"
  MSB_REPO_PACKAGES_MIRROR = 'https://slackware.uk/msb/15.0/1.26/x86_64/'
  MSB_REPO_PACKAGES = "PACKAGES.TXT"
  MSB_REPO_CHECKSUMS = "CHECKSUMS.md5"
  MSB_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackware x86_64 15.0 stable.
  # For Slackware x86_64 -current:
  # https://slackware.uk/csb/current/x86_64/
  CSB_REPO = false
  CSB_REPO_NAME = "csb"
  CSB_REPO_MIRROR = "https://slackware.uk/csb/"
  CSB_REPO_PACKAGES_MIRROR = 'https://slackware.uk/csb/15.0/x86_64/'
  CSB_REPO_PACKAGES = "PACKAGES.TXT"
  CSB_REPO_CHECKSUMS = "CHECKSUMS.md5"
  CSB_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackware x86_64 -current.
  CONRAID_REPO = true
  CONRAID_REPO_NAME = "conraid"
  CONRAID_REPO_MIRROR = "https://slack.conraid.net/repository/slackware64-current/"
  CONRAID_REPO_PACKAGES = "PACKAGES.TXT"
  CONRAID_REPO_CHECKSUMS = "CHECKSUMS.md5"
  CONRAID_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackware x86_64 15.0 stable.
  # For Slackware x86_64 -current:
  # https://packages.slackonly.com/pub/packages/current-x86_64/
  SLACKONLY_REPO = false
  SLACKONLY_REPO_NAME = "slackonly"
  SLACKONLY_REPO_MIRROR = "https://packages.slackonly.com/pub/packages/15.0-x86_64/"
  SLACKONLY_REPO_PACKAGES = "PACKAGES.TXT"
  SLACKONLY_REPO_CHECKSUMS = "CHECKSUMS.md5"
  SLACKONLY_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Salix OS x86_64 15.0 stable.
  SALIXOS_REPO = false
  SALIXOS_REPO_NAME = "salixos"
  SALIXOS_REPO_MIRROR = "https://download.salixos.org/x86_64/slackware-15.0/"
  SALIXOS_REPO_PACKAGES = "PACKAGES.TXT"
  SALIXOS_REPO_CHECKSUMS = "CHECKSUMS.md5"
  SALIXOS_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Salix OS x86_64 15.0 stable.
  SALIXOS_EXTRA_REPO = false
  SALIXOS_EXTRA_REPO_NAME = "salixos_extra"
  SALIXOS_EXTRA_REPO_MIRROR = "https://download.salixos.org/x86_64/slackware-15.0/"
  SALIXOS_EXTRA_REPO_PACKAGES_MIRROR = 'https://download.salixos.org/x86_64/slackware-15.0/extra/'
  SALIXOS_EXTRA_REPO_PACKAGES = "PACKAGES.TXT"
  SALIXOS_EXTRA_REPO_CHECKSUMS = "CHECKSUMS.md5"
  SALIXOS_EXTRA_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Salix OS x86_64 15.0 stable.
  SALIXOS_PATCHES_REPO = false
  SALIXOS_PATCHES_REPO_NAME = "salixos_patches"
  SALIXOS_PATCHES_REPO_MIRROR = "https://download.salixos.org/x86_64/slackware-15.0/"
  SALIXOS_PATCHES_REPO_PACKAGES_MIRROR = 'https://download.salixos.org/x86_64/slackware-15.0/patches/'
  SALIXOS_PATCHES_REPO_PACKAGES = "PACKAGES.TXT"
  SALIXOS_PATCHES_REPO_CHECKSUMS = "CHECKSUMS.md5"
  SALIXOS_PATCHES_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackel OS x86_64 -current.
  SLACKEL_REPO = false
  SLACKEL_REPO_NAME = "slackel"
  SLACKEL_REPO_MIRROR = "http://www.slackel.gr/repo/x86_64/current/"
  SLACKEL_REPO_PACKAGES = "PACKAGES.TXT"
  SLACKEL_REPO_CHECKSUMS = "CHECKSUMS.md5"
  SLACKEL_REPO_CHANGELOG = "ChangeLog.txt"

  # Repository for Slackware x86_64 15.0 stable.
  SLINT_REPO = false
  SLINT_REPO_NAME = "slint"
  SLINT_REPO_MIRROR = "https://slackware.uk/slint/x86_64/slint-15.0/"
  SLINT_REPO_PACKAGES = "PACKAGES.TXT"
  SLINT_REPO_CHECKSUMS = "CHECKSUMS.md5"
  SLINT_REPO_CHANGELOG = "ChangeLog.txt"

For update binaries repo command is
Code:

slpkg update --bin-repo=alien
or for all binaries repos
slpkg update --bin-repo='*'

For install binary package
Code:

slpkg -i libreoffice --bin-repo=alien
to read package info
Code:

slpkg -w libreoffice --bin-repo=alien
Repository: alien
Last Updated: Sat Apr  1 17:54:58 UTC 2023
Name: libreoffice
Version: 7.5.2
Build: 1
Package: libreoffice-7.5.2-x86_64-1alien.txz
Download: http://slackware.uk/people/alien/sbrepos/current/x86_64/libreoffice/libreoffice-7.5.2-x86_64-1alien.txz
Md5sum: e59a65fe4520c836337d78c8a4c0d621
Mirror: http://slackware.uk/people/alien/sbrepos/current/x86_64/
Location: libreoffice
Size Comp: 189848 KB
Size Uncomp: 781550 KB
Requires: boost-compat icu4c-compat openjdk11
Conflicts:
Suggests:
Description:

to build/install find deps etc... for a package from SBo and ponce commands are the same But no "--bin-repo="
example
Code:

slpkg -t vlc
The list below shows the packages 'vlc' with dependencies:

vlc
 += ORBit2
    libbonobo
    gnome-mime-data
    libreplaygain
    libcuefile
    libdaemon
    protobuf3
    libnfs
    x265
    x264
    chromaprint
    libminizip
    schroedinger
    libdvdcss
    rtmpdump
    live555
    gnome-vfs
    dirac
    vcdimager
    musepack-tools
    libmodplug
    libavc1394
    faad2
    zvbi
    libsidplay2
    jack
    projectM
    avahi
    libshout
    libdca
    faac
    libkate
    libtar
    gsm
    twolame
    portaudio
    lua
    libmpeg2
    libdvbpsi
    libdc1394
    libass

41 dependencies for vlc


nobodino 04-03-2023 01:25 AM

problem with latest version:

Code:

# slpkg -U
Traceback (most recent call last):
  File "/usr/sbin/slpkg", line 10, in <module>
    main()
  File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 795, in main
    arguments[args[0]]()
  File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 495, in upgrade
    packages: list = list(upgrade.packages())
  File "/usr/lib64/python3.9/site-packages/slpkg/upgrade.py", line 37, in packages
    if self.is_package_upgradeable(inst_package):
  File "/usr/lib64/python3.9/site-packages/slpkg/upgrade.py", line 58, in is_package_upgradeable
    return parse(repo_version + repo_build) > parse(inst_version + inst_build)
TypeError: can only concatenate str (not "NoneType") to str


dslackw 04-03-2023 01:31 AM

Quote:

Originally Posted by nobodino (Post 6421932)
problem with latest version:

Code:

# slpkg -U
Traceback (most recent call last):
  File "/usr/sbin/slpkg", line 10, in <module>
    main()
  File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 795, in main
    arguments[args[0]]()
  File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 495, in upgrade
    packages: list = list(upgrade.packages())
  File "/usr/lib64/python3.9/site-packages/slpkg/upgrade.py", line 37, in packages
    if self.is_package_upgradeable(inst_package):
  File "/usr/lib64/python3.9/site-packages/slpkg/upgrade.py", line 58, in is_package_upgradeable
    return parse(repo_version + repo_build) > parse(inst_version + inst_build)
TypeError: can only concatenate str (not "NoneType") to str



Hi,

Thanks for the report.
Do you use -current or stable version? And can you give this:

Code:

cat /usr/lib64/python3.9/site-packages/slpkg/upgrade.py

marav 04-03-2023 03:29 AM

Quote:

Originally Posted by nobodino (Post 6421932)
problem with latest version:

No issue here
Code:

# slpkg -v
Version: 4.7.1
Author: Dimitris Zlatanidis (dslackw)
License: MIT License
Homepage: https://dslackw.gitlab.io/slpkg

@nobodino After each update, you must run : slpkg_new-configs

dslackw 04-03-2023 03:30 AM

Quote:

Originally Posted by marav (Post 6421944)
No issue here
Code:

# slpkg -v
Version: 4.7.1
Author: Dimitris Zlatanidis (dslackw)
License: MIT License
Homepage: https://dslackw.gitlab.io/slpkg

@nobodino After each update, you must run : slpkg_new-configs

I think he uses 4.7.0 version.

nobodino 04-03-2023 05:37 AM

Code:

root@xxxxxx:/etc/slpkg# slpkg -v
Version: 4.7.1
Author: Dimitris Zlatanidis (dslackw)
License: MIT License
Homepage: https://dslackw.gitlab.io/slpkg

Code:

root@xxxxxx:/etc/slpkg# slpkg_new-configs
Checking for NEW configuration files...

  No .new files found.

already done.

nobodino 04-03-2023 05:52 AM

reinstalled once more.
This time it works.

marav 04-03-2023 12:21 PM

A new Release 4.7.2 for slpkg was published

Changelog:
Code:

4.7.2 - 02/04/2023
Updated:
- Packaging parse versions
- For options '-B=', '-z=' to '-B' and '-z'
Fixed:
- Upgrade dependencies without -r option
- Patch slackbuild repo tag
- File pattern '*' for find all installed files

https://gitlab.com/dslackw/slpkg/blo.../ChangeLog.txt


All times are GMT -5. The time now is 02:47 PM.