LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-01-2024, 02:04 PM   #106
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,360

Original Poster
Rep: Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072

Quote:
Originally Posted by nobodino View Post
Code:
~/scripts# slpkg -u
Traceback (most recent call last):
  File "/usr/sbin/slpkg", line 5, in <module>
    from slpkg.main import main
  File "/usr/lib/python3.11/site-packages/slpkg/main.py", line 19, in <module>
    from slpkg.choose_packages import Choose
  File "/usr/lib/python3.11/site-packages/slpkg/choose_packages.py", line 8, in <module>
    from slpkg.dialog_box import DialogBox
  File "/usr/lib/python3.11/site-packages/slpkg/dialog_box.py", line 5, in <module>
    from dialog import Dialog
ModuleNotFoundError: No module named 'dialog'
slpkg version 5.0.3 built with SlackBuild from https://gitlab.com/dslackw/slpkg
You need to install:

python3-progress-1.6-x86_64-1_SBo
python3-pythondialog-3.5.3-x86_64-1_SBo
 
Old 04-01-2024, 02:25 PM   #107
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
thanks.
 
Old 04-01-2024, 08:26 PM   #108
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,972

Rep: Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549
Never mind, answered already.

Last edited by chrisretusn; 04-01-2024 at 08:28 PM.
 
Old 04-05-2024, 06:17 AM   #109
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,360

Original Poster
Rep: Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072
A new Release 5.0.4 for slpkg was published

Changelog:
Code:
### 5.0.4 - 04/04/2024
- Updated:
    * Updated to ignore blacklist installed packages
    * Updated progress bar spinners
- Removed:
    * python3-progress dependency
- Bugfixes:
    * Fixed compare invalid packages version
    * Fixed to work with locals repositories
- Added:
    * Added extra lftp mirror options in the config file
 
Old 04-12-2024, 02:00 PM   #110
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,360

Original Poster
Rep: Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072
A new Release 5.0.5 for slpkg was published

Changelog:
Code:
### 5.0.5 - 12/04/2024
- Added:
    * Added maximum parallel for downloading in the config file
    * Added --pkg-version option in search command
    * Added display the file size with the command find

- Removed:
    * Removed support for local repositories

- Updated:
    * Updated to exclude packages from slack_extra repository (Thanks to Marav)
    * Updated salixos mirrors
    * Updated the repositories.toml config file

- Fixed:
    * Fixed BrokenPipeError: [Errno 32] Broken pipe
    * Fixed for download path in download only
    * Fixed alignment in search command
 
1 members found this post helpful.
Old 04-15-2024, 06:43 AM   #111
ZenwalkerGod
LQ Newbie
 
Registered: Apr 2023
Location: Portugal
Distribution: Zenwalk
Posts: 17

Rep: Reputation: 8
Hello good afternoon everyone, I don't know if I'm reporting from the exact location.

I'm trying to install Kodi 21 through slpkg but I'm not succeeding.
According to information, a parameter must be passed into ffmpeg to be installed.

Is there any way to install Kodi 21 through slpkg by passing some special parameter? I don't know if I was explicit.

Thank you in advance for your help.
 
Old 04-15-2024, 07:21 AM   #112
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,360

Original Poster
Rep: Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072
Quote:
Originally Posted by ZenwalkerGod View Post
Hello good afternoon everyone, I don't know if I'm reporting from the exact location.

I'm trying to install Kodi 21 through slpkg but I'm not succeeding.
According to information, a parameter must be passed into ffmpeg to be installed.

Is there any way to install Kodi 21 through slpkg by passing some special parameter? I don't know if I was explicit.

Thank you in advance for your help.
Yes, you are :-)

I think you are referring to this:
https://www.linuxquestions.org/quest...ml#post6495919

First, this workaround is only for Slackware-current

Honestly, I don't know
You can ask your question to Dimitris, here:
https://gitlab.com/dslackw/slpkg/-/issues
 
Old 04-15-2024, 08:18 AM   #113
ZenwalkerGod
LQ Newbie
 
Registered: Apr 2023
Location: Portugal
Distribution: Zenwalk
Posts: 17

Rep: Reputation: 8
Thanks for the clarification marav, I already did it in the right place.

Thanks
 
Old 04-19-2024, 02:23 PM   #114
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,360

Original Poster
Rep: Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072
A new Release 5.0.6 for slpkg was published

Changelog:
Code:
### 5.0.6 - 19/04/2024

- Release note:
    * You may need to force update your local repositories before using this version

- Update:
    * Updated to read configuration values even they are lower or uppercase

- Added:
    * Added to support custom repositories
    * Added KERNEL_VERSION config to handle custom slackbuild version
 
Old 04-20-2024, 09:35 AM   #115
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 631

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
Today I manually upgraded to slpkg-5.0.6
I want to share some infos:

a) If you upgrade from older slpkg version, after upgrade you must run
Code:
slpkg_new-configs
and then replace all old conf files with new.

b) The most important is if you are in current to enable correct repos for current.
here is an example of my /etc/slpkg/repositories.toml

Code:
# This is the general repositories configuration file of slpkg:
# /etc/slpkg/repositories.toml
# Updated: 18/04/2024, Version: 5.0.6

# Set 'true' or 'false' to enable or disable the repository you want.
# You can use a mirror not included in this file.

# Notes: 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 or every part of the mirror
#        should end with a slash '/'.

# Template to define a binary custom repository.
# At least are required [NAME], ENABLE, MIRROR and TAG options.
# The MIRROR should include the files ChangeLog.txt, PACKAGES.TXT,
# and CHECKSUMS.md5. If the file ChangeLog.txt is located in
# a different branch, it should be set a variable CHANGELOG.
# Example:
# [NAME]
# ENABLE = true
# MIRROR = "https://slackware.nl/people/alien/sbrepos/15.0/x86_64/"
# CHANGELOG = "https://slackware.nl/people/alien/sbrepos/"
# TAG = "alien"

# Salix OS Distribution:
# Replace the SLACK, SLACK_EXTRA and SLACK_PATCHES with the mirrors:
# https://repo.greeklug.gr/data/pub/linux/salix/x86_64/slackware-15.0/
# https://repo.greeklug.gr/data/pub/linux/salix/x86_64/slackware-15.0/extra/
# https://repo.greeklug.gr/data/pub/linux/salix/x86_64/slackware-15.0/patches/

# This is the DEFAULT REPOSITORY.
# You can change it with one that you see below.
# Make sure you have enabled it before.
[DEFAULT]
REPO = "ponce"

[SBO]
ENABLE = false
MIRROR = "https://slackbuilds.org/slackbuilds/15.0/"

[PONCE]
ENABLE = true
MIRROR = "https://cgit.ponce.cc/slackbuilds/plain/"

[SLACK]
ENABLE = false
MIRROR = "http://mirror.nl.leaseweb.net/slackware/slackware64-15.0/"

[SLACK_EXTRA]
ENABLE = false
MIRROR = "http://mirror.nl.leaseweb.net/slackware/slackware64-15.0/extra/"

[SLACK_PATCHES]
ENABLE = false
MIRROR = "http://mirror.nl.leaseweb.net/slackware/slackware64-15.0/patches/"

[ALIEN]
ENABLE = true
MIRROR = "https://slackware.nl/people/alien/sbrepos/current/x86_64/"

[MULTILIB]
ENABLE = false
MIRROR = "https://slackware.nl/people/alien/multilib/15.0/"

[RESTRICTED]
ENABLE = true
MIRROR = "https://slackware.nl/people/alien/restricted_sbrepos/current/x86_64/"

[GNOME]
ENABLE = true
MIRROR = "https://reddoglinux.ddns.net/linux/gnome/45.x/x86_64/"

[MSB]
ENABLE = false
MIRROR = "https://slackware.uk/msb/15.0/1.28/x86_64/"

[CSB]
ENABLE = false
MIRROR = "https://slackware.uk/csb/15.0/x86_64/"

[CONRAID]
ENABLE = true
MIRROR = "https://slackers.it/repository/slackware64-current/"

[SLACKDCE]
ENABLE = false
MIRROR = "https://slackware.uk/slackdce/15.0/x86_64/"

[SLACKONLY]
ENABLE = false
MIRROR = "https://packages.slackonly.com/pub/packages/15.0-x86_64/"

[SALIX]
ENABLE = false
MIRROR = "https://repo.greeklug.gr/data/pub/linux/salix/x86_64/15.0/"

[SALIX_EXTRA]
ENABLE = false
MIRROR = "https://repo.greeklug.gr/data/pub/linux/salix/x86_64/extra-15.0/"

[SLACKEL]
ENABLE = false
MIRROR = "http://www.slackel.gr/repo/x86_64/current/"

[SLINT]
ENABLE = false
MIRROR = "https://slackware.uk/slint/x86_64/slint-15.0/"

[PPRKUT]
ENABLE = true
MIRROR = "https://repo.liwjatan.org/pprkut/current/x86_64/"
slpkg by default is focused on slackware-15 if there are 15.0/current for repo.
Also some repos are only for current and slackware-15.0 user should be careful and not edit them to true.
example: CONRAID and PONCE. But I think if you have SBo=true then even if you have PONCE=true by mistake it not work...
Generally speaking need attention this file (/etc/slpkg/repositories.toml)

c) when everything is ok cmd
Code:
slpkg -u
for update and check , then u r ready!
 
1 members found this post helpful.
Old 04-20-2024, 10:16 AM   #116
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,360

Original Poster
Rep: Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072Reputation: 4072
Nice summary rizitis

Plus:

To avoid conflict it's not possible to upgrade all packages from all repositories at once
But it's possible to check for upgrade with this command:
Code:
# slpkg -U -o '*' --check
Note:
I've been using it for a while now with "slack" as the default repo + "slack_extra" + 1 slackbuild (ponce) + 1 binary (conraid).
After spending some time helping Dimitris to make it usable with this kind of configuration, it works very well.
He does an amazing job

Last edited by marav; 04-20-2024 at 10:28 AM.
 
2 members found this post helpful.
Old 04-21-2024, 01:13 AM   #117
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,972

Rep: Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549
I did it differently. Still worked, upgraded to 5.0.5 from 5.0.6.

Merged the changes in all of the configurations files. Paying particular attention to /etc/slpkg/repositories.toml since I use -current. Ran 'slpkg update' all was A-OK.

ram
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slpkg New Slackware packaging tool dslackw Slackware 228 11-23-2022 02:04 AM
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
confused about iojs installation using slpkg Sefid par Slackware 4 08-31-2015 07:13 PM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration